Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return deviceId when called with initWithSetupOnly and if status is SparkSetupMainControllerResultSuccessNotClaimed and #58

Open
anigo333 opened this issue Jun 21, 2017 · 0 comments

Comments

@anigo333
Copy link

My scenario requires customers to just connect the device to Wifi and not claim it to their accounts. So the result received is SparkSetupMainControllerResultSuccessNotClaimed. However it seems the deviceId is not set when the result is SparkSetupMainControllerResultSuccessNotClaimed? if you look at https://github.com/spark/spark-setup-ios/blob/bcc114543d9da007360f2fcc94f556e9428df8eb/Classes/UI/SparkConnectingProgressViewController.m line 397, the deviceId gets set inside checkDeviceIsClaimed which only gets called if needToClaimDevice is true and it seems that is always set to false if we use initWithSetupOnly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant