particle-iot / spark-setup-ios

(DEPRECATED) Spark device setup library - Soft AP Cocoapod/Carthage lib for iOS
Apache License 2.0
19 stars 25 forks source link

SparkSetupMainController delegate not called when using Done keyboard button #59

Open rking788 opened 6 years ago

rking788 commented 6 years ago

At the end of the setup process (on the device rename screen), when pressing the Done button to complete the setup, the delegate method didFinishWithResult:device: is not being called. I was stepping through the code and it looks like the delegate is being set to nil before hitting this point.

I followed the directions in the README for setting the delegate and everything works fine if I force the keyboard to be dismissed and press the Done UIButton at the bottom of the screen.

idokleinman commented 6 years ago

Can you verify you are using the latest version of the library? I believe it was a bug previously fixed.