Fitbit / developer-bridge

TypeScript implementations of the Fitbit Developer Bridge
https://dev.fitbit.com
20 stars 16 forks source link

Fix "companion unloaded" #183

Closed Beat-YT closed 2 years ago

Beat-YT commented 2 years ago

Fix the "Compagnion Unloaded" issue that is pretty annoying.

Simply by waiting 3 second before installing the app. image

I also added checks since this issue only apply to real devices image

Hexxeh commented 2 years ago

I'm not sure a 3s delay on every single app launch is the right solution here, we'd have to investigate why this happens.

Beat-YT commented 2 years ago

I added a 3sec timeout since it say "unloading companion in 3 sec

Beat-YT commented 2 years ago

But it looks like it's waiting for the app to start to unload the companion