Companion iOS app doesn't receive messages after re-subscription.

Hello,

I'm working on a companion iOS app that supports two-way communication with a Garmin watch app. The issue I'm experiencing is that if the companion app unsubscribes from messages using either `unregisterForAppMessages:delegate:` or `unregisterForAllAppMessages:`, and later subscribes again, it doesn't receive any messages. The first time the communication works well.

I wonder if anyone can help me to resolve this issue?

  • An update: If the app is closed before the companion app unregisters, everything works well for subsequent registrations. If the app continues to run and send messages while the companion app unregisters, no messages are coming from the watch for the subsequent registrations.

  • Hey there! I've had this bug as well. I think it is known to the Garmin team. In the meantime, here's a suggestion:

    Like you mentioned above, from what I can tell, unregistering and re-registering to the watch is fine, as long as the watch doesn't send any messages while it is unregistered. You might try only letting the watch transmit when the iPhone has expressly told it to. Or, you could try sending a flag to the watch, telling it to stop transmitting, before you unregister it.

    I hope this is helpful,

    SirLancelot