05-15-2019 16:01
05-15-2019 16:01
While testing and debugging my Versa Clock Face app, I see a number of "AppLifecycleMessage: launchApp" and "AppLifecycleMessage: terminateApp" messages in the iPhone Fitbit App Sideloaded Apps Log.
1. What exactly do these two messages mean? I see them when I startup and terminate a Versa app which makes sense if they are telling me that the Clock Face app was terminated and then started up again when I quite the other Versa app.
But some times I see a AppLifecycleMessage: launchApp followed by another AppLifecycleMessage: launchApp a while later. What does that indicate?
2. Is there a logging function I can add to my app for generating messages that show up in the Phone Fitbit App Sideloaded Apps Log?
Thanks,
Doug
05-16-2019 06:47
05-16-2019 06:47
1. They relate to the life cycle of your app's companion which runs on the phone.
2. Just use console.log in your companion or app code and it will appear in the logs
05-16-2019 12:33
05-16-2019 12:33
JonFitbit,
Thanks for the reply. I've used a lot of console.log messages in my clock face app and I only see them in the Fitbit Studio "Console" output but I never see them on in the iPhone Fitbit App logs. I don't have a companion app with my clock face app. Is it a requirement? The side loaded clock face seems to work fine without it.
Thanks,
Doug