Debugging Crash only happening when loaded from store

I updated my App to fix a minor bug, but had to switch the SDK and development environment from eclipse to vs code.

The new version with to current sdk 6.2.1 runs in simualtor and on device (Fenix 6X Pro), also with release configuration.
I tested it for one week without any problems before uplaoding it to the store yesterday.

When it was updated on the watch from the store, it crashed when starting a recording. Deinstalling from watch and reinstalling fixed it. at least I thought.
Because when I change any setting of using the smartphone-App or even don't change anything but save the settings, the App chashes.

When setting the settings in simulator, everything works fine.

My Problem is, I don't know how to debug because there is no logfile with stacktrace on the watch and I cannot reproduce it with the simulator. And for the "Build for Device Version" I cannot change the settings using the phone-App - or can I?

There were some warnings about deprecated functions (Application.getApp().getProperty() was used) I changed everything to the newer Functions and there are no warnings anymore, but the behaviour on the watch remains.

Does anyone have a hint for me?

Thanks in Advance!

  • When you do app settings, the current settings are pulled from the device, and the info to use them is pulled from the app store.  This is why you can't do settings with a sideload.  Nothing is cached on the phone.
    Just to understand, I deleted the .Set File, then changed Settings on the phone and checked the .Set file. The App was not executed. So how can the app pull the settings from watch?

    Again, are you crashing (seeing IQ!) or terminating?  Some devices are really picky about having the proper return true/false in the delegate, and you won't see that in the sim.

    Crashing, the IQ Logo appears. I already checkt all delegates, but all that do not return void already had return statements.
    I have to sy, the app ran great on the watch when no settings were changed from the Phone, so I am not sure if it is releated to the delegates. But every hint is welcome of course!

  • If you delete the .set from the watch (not something you want to do), it will get recreated next time the app runs, or maybe when you use app-setting.

    If you want to get rid of the set file, uninstall the app and reinstall it.

  • it was just for investigation