Max-Mobility / permobil-wear

3 stars 1 forks source link

app crash when opening app after it was backgrounded #15

Closed finger563 closed 5 years ago

bradmartin commented 5 years ago

View already has parent thrown.

Related to the WearOsLayout I think

bradmartin commented 5 years ago

Related to https://github.com/bradmartin/nativescript-wear-os/commit/5dd4d3d40e734bac166233792a062e653e0b0eb6

Example: Open the Settings app, navigate to Display (inside settings), now home screen the watch, then reopen the Settings app, it will be at the beginning of the app and not on the Display screen when you suspended it. Which makes sense, WearOS devices are low on hardware so need all resources, so instead of the suspended app being kept in memory it's being cleaned up so when you "resume" the app it's actually a fresh activity being loaded and not an older one being "resumed" from the background.

finger563 commented 5 years ago

I'm getting this on a fresh build in a nuked repo today on master