You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
I've built the latest release (master) of the sample code with VS2015 Community and deployed it to a Lumia 830 running the latest version of Windows 10 mobile.
When I pin the step counter to the start screen, then go to the start screen and tap the newly available tile, the app seems to launch, but immediately quits again.
The same happens if I switch from the app to another app using the app switcher, and then try to switch back to the Steps app.
What's weird: When debugging (no matter using Debug or release builds), this does not happen.
How can I find out what's going wrong?
The text was updated successfully, but these errors were encountered:
add try..catch to necessary places, the steps won't work, but the crashing on secondary launch is gone, the app won't crash when being switched to or being launched by secondary tile..
I thought it is the problem with static keyword. So I tried to create a Singleton class to initiate the Engine, but the same crashing occurs.
I am still investigating the issue. As far as I can find, commenting out
stepsEngine = new LumiaStepsEngine();
in StepsEngineFactory will also fix the crashing, but step counter certainly won't work. It's difficult to debug because in debug mode everything is fine. Even the "UnhandledException" in app.xaml.cs won't fire.
Update: seems to be the problem with "today", if choosing the day to yesterday and then switch to another app or start screen, then switch back to Steps, it won't crash. But when you choose to today, the app will crash again.
Still investigating...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've built the latest release (master) of the sample code with VS2015 Community and deployed it to a Lumia 830 running the latest version of Windows 10 mobile.
When I pin the step counter to the start screen, then go to the start screen and tap the newly available tile, the app seems to launch, but immediately quits again.
The same happens if I switch from the app to another app using the app switcher, and then try to switch back to the Steps app.
What's weird: When debugging (no matter using Debug or release builds), this does not happen.
How can I find out what's going wrong?
The text was updated successfully, but these errors were encountered: