I created my own iOS app that uses the particle-iot/particle-setup-ios pod.
Out firmware is running in MANUAL mode so we’re taking care of wifi and cloud connections.
My app is failing to claim the device correctly. It’s failing in step 4: checkDeviceIsClaimed.
Here’s the logic reponsible for the onboarding, you can see step 4 in the following file:
After it fails, I put the photon in listening mode again, and it works correctly. Any ideas why this is happening?
Has anyone found a complete explanation about Particle.connect() ? Does it block the main thread()? Does it block it until it connects to the cloud? What happens if that’s called with no wifi credentials yet?