Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

companion.onunload never fires

Using SDK 4.2.2 on the Ionic or simulator I am not seeing the onunload event fire on the companion app.

https://dev.fitbit.com/build/reference/companion-api/life-cycle/

 

I can see the relevant messages in the debug console:

Companion: Unloading companion…

Companion: Companion unloaded

but a console.log and some code which just updates a setting in the event handler never runs.

Other event handlers work so I don't think its anything obvious.

 

 

Best Answer
1 REPLY 1

Can you confirm iOS or Android?

Best Answer
0 Votes