Hi Garmin,
I'm working on improving my app "Real Time Stats on Phone | Race Day App" for my Cross Country coach. He really wants to see all of his runners' data as they pass him on the course. I'm attempting to do this using the iOS Companion SDK. However, it seems there's a bug in the ConnectIQ module. When I register for app messages, then unregister, I can no longer re-register for device app messages. In addition, I can't register to listen to two or more devices at the same time (although this may be intended).
The ConnectIQ Module uses a shared instance, so that makes since why I can only register for one device at a time. Is there a different way that I could register for more than one device?
When I run my code and then turn on the memory debugger in Xcode, I see what appears to be a memory leak in the ConnectIQ Module. I wonder if this is causing the registering/un-registering to work improperly, causing the ConnectIQ Module to become un-usable after one unregister call. The only workaround is to force close the app and then re-open it.
Are you all able to reproduce this? Maybe I'm just running my code wrong. I'd be more than happy to email you all the code if this would help reproduce the problem.
If this is a bug that might take awhile to fix, could you please add a feature where we could destroy the ConnectIQ library, then re-initalize it, that way we don't have to tell our users to exit the app if they want to connect a different device? Or, again, mayber there's already a way to do this that I'm completely missing.
I'm really excited to make this app a reality, and would love to be able to get it running before the Cross Country season ends.
I hope that makes since, thank you for your time!
Lance
Race Day Garmin app: https://apps.garmin.com/en-US/apps/b25efabb-52a5-43ee-a446-54e370be7e1a