Hi,
So I have an app that uses a purchase service for licensing.
I allow users to run once as a trial, then I poll license status using makeWebRequest.
Also, I have logic to wait for connection - if no connection at the time it’s called, it tries again a few seconds later, until there is one. (Only when checking licence.)
I am checking connection availability based on code I saw here from Jim, and in the simulator it works across the board.
But...
On the device, it sometimes fails to find a connection even if I explicitly synch the watch or toggle Bluetooth... I have to exit and reenter to see the valid connection that is there.
Is there a way to jumpstart the connection?
For example, I’m assuming I need to wait till connection available / has connection before making the request, but would makeWebRequest inspire the device to look for a connection?
Thanks,
G