-
-
Notifications
You must be signed in to change notification settings - Fork 244
Bug when re-opening the android app with the app icon. #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
finally i found root of this problem. if (!prevVnode) {
// initial render
vm.$el = vm.__patch__(
vm.$el, vnode, hydrating, false /* removeOnly */,
vm.$options._parentElm,
vm.$options._refElm
);
} else {
// updates
vm.$el = vm.__patch__(prevVnode, vnode);
} other example application doesn't make this problem but application context is not saved. if you [start application using auto sync -> home button -> start using app button -> back button] will make second activity. my conclusion is that [debug(auto syncing) app] and [run by app icon] doesn't use same activity. |
Just for reference here is the Activity lifecycle diagram, I think we need to implement android specific behavior (hook into the lifecycle) to handle resumed activities: https://developer.android.com/guide/components/activities/activity-lifecycle.html#alc |
@blackss2 |
Try this |
Steps to reproduce:
Expected
The app opens normaly
Result
You get the error:
This error happened with both the Groceries Vue app and the ui-tests app.
The text was updated successfully, but these errors were encountered: