Home › Forums › Ask the Flomies › iOS SDK issues
Tagged: iOS SDK ProSDK
-
AuthorPosts
-
April 13, 2016 at 11:20 pm #55104
I have a couple of issues:
1) When i try to use the pro SDK offline, it keeps saying can’t contact license server. i need this app to work offline, is there something special about that?
2) Is it not possible to initialize the reader outside of a viewDidLoad method? It’s so strange, but if i put that same code in a method that is called after a button press it never starts polling. I also tried to force the method to run on the main thread and it doesn’t work, but it always starts polling as long as that code is in the viewDidLoad method. Thoughts on that?
April 13, 2016 at 11:27 pm #55105Ack, I was able to figure #2 out right now. It was the active / inactive notifications.
if the reader hasn’t been initialized this breaks it:
[sharedManager getAvailableReader];Seems like you can’t get the polling working if this is called before a reader is setup. is that expected behavior?
I do need the pro version working offline though! =)
April 13, 2016 at 11:36 pm #55106Hi Jacob,
Try redownloading the SDK, there may have been a patch which solved #1. If you continue to have problems with #2, even with updating the SDK, I can work with you to get it resolved.
Thanks,
ScottApril 13, 2016 at 11:39 pm #55107Ok, Will that same URL work for PRO?
As a follow up to #2 in this original thread, what is the preferred method to stop polling and start polling again with the same reader?
I have tried a few different ways, but when I stop the polling it doesn’t seem to start back up again even if i reinitialize the whole reader.
April 13, 2016 at 11:47 pm #55109Yes, the PRO url is the same.
The preferred methods are [sharedManager stopReaders] and [sharedManager startReaders]. I can get this resolved if the BZR doesn’t begin polling again, thanks for letting us know.
-Scott
April 14, 2016 at 12:29 am #55119@scott, I have tried stopReaders and startReaders and the polling never starts again. tried it a few different ways.
April 14, 2016 at 12:35 am #55120Ok, that should work so I will have a look at it. Thanks for bringing this to our attention! I will fix it and let you know when I’ve updated the SDK.
April 14, 2016 at 12:50 pm #55131@scott – I just wanted to let you know that the new PRO Version is working offline.
Also wondering what might the ETA be on the updated SDK with the ability to start and stop readers. We need this asap for deployment.
April 14, 2016 at 5:08 pm #55134Great.
The ETA for the fix on startReaders and stopReaders is today or tomorrow at the latest.
- This reply was modified 8 years, 7 months ago by Scott.
April 14, 2016 at 5:59 pm #55139Hi Jacob,
Try the SDK now, I have tested it here and [sharedManager startReaders] resumes polling if [sharedManager stopReaders] has already been called.
Cheers,
ScottApril 15, 2016 at 1:14 pm #55148@scott new SDK is working to start / stop readers.
thanks -
AuthorPosts
You must be logged in to reply to this topic.