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

launchApp UUID List

ANSWERED

I want to use the launchApi (https://dev.fitbit.com/build/reference/device-api/system/) to start the Fitbit weather app from my clockface but I can't find the UUID for the weather app.

It might be the one in the docs ( but I don't think it is ).

 

What would be nice is a list of the UUIDs for the built in Fitbit apps. If it exists I couldn't find it. Does anyone know of a list or the weather apps UUID?

 

On a releated note I didn't see in the docs if there was a way of checking if the app is installed before trying to start it. Is checking if the app is installed before trying to start it possible?

 

What currently happens is an exception is thrown. The weird part of the exception is it says unhandled even though I wrapped the launchApp call in a try/catch block.

 

[10:04:26 AM]Unhandled exception: Error: Unable to launch app with uuid: "12345678-1234-5678-1234-567812345678"
? at app/index.js:123,6

 

Best Answer
1 BEST ANSWER

Accepted Solutions

You can browse the web gallery and find the UUIDs for each app in the URL.

https://gallery.fitbit.com/

Weather:

https://gallery.fitbit.com/details/000013fe-0000-4000-8000-000000f17b17

 

I think for the launch, you can try/catch. It won't launch if it's not installed, but you can't check if an app is installed.

View best answer in original post

Best Answer
3 REPLIES 3

You can browse the web gallery and find the UUIDs for each app in the URL.

https://gallery.fitbit.com/

Weather:

https://gallery.fitbit.com/details/000013fe-0000-4000-8000-000000f17b17

 

I think for the launch, you can try/catch. It won't launch if it's not installed, but you can't check if an app is installed.

Best Answer

Is there a way to check if the app is installed before calling launchApp?

Best Answer
0 Votes

@Durus  - yes from SDK 5.1 

isAppInstalled

 

Author | ch, passion for improvement.

Best Answer
0 Votes