-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Opening Android standalone app from phone home screen restarts app from start #2000
Comments
Hi, thanks for the quick reply. Can you share your APK with me, please, so that I can test whether it's the phone or the APK that is different? Thanks |
hi @kelvinlawson - it's the apk that you posted under the "Reproducible demo" heading of your post |
Ah, sorry I read it as same steps except not using my APK. It looks like it must be device-related then, I'll test the APK on a few more Androids & report back. Thanks! |
OK tested on a few devices:
So it seems like it is device-specific. |
thanks @kelvinlawson! @esamelson @jesseruder - ping |
Some additional hints based on my testing:
|
I also see it after previously running Expo.Updates.reload(). |
Hi all -- thanks for the info. We've been able to repro this on Pixel 2 and are looking into it. |
We've landed a fix internally which will ship with the next release. Once SDK 29 comes out (likely next week), you can just rebuild your app and it will include this fix -- no need to actually upgrade to 29. Thanks again for reporting this! |
Thanks a lot! Does this also fix the similar issue where it happens after Expo.Updates.reload()? |
@kelvinlawson yes it should fix that issue as well. |
hi all, i just published an updated version of my app and can confirm that all issues regarding "unwanted app restarting" have been fixed. I tested Thanks a lot and keep up the good work! |
Awesome, thanks for letting us know :) Closing this as resolved. |
Only on Android device - after navigate to specific route like profile screen it's re start the whole app on expo please help me - another side IOS devices working absolutely fine |
Environment
Environment:
OS: macOS High Sierra 10.13.5
Node: 7.6.0
Yarn: 1.3.2
npm: 4.6.1
Watchman: 4.7.0
Xcode: Xcode 9.4 Build version 9F1027a
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
expo: ^28.0.0 => 28.0.0
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-28.0.0.tar.gz => 0.55.4
Diagnostics report:
https://exp-xde-diagnostics.s3.amazonaws.com/lisden-680ec40f-730b-44ec-816e-eda91c5fd36b.tar.gz
Android standalone APK. Running on Pixel 2.
Steps to Reproduce
(Write your steps here:)
Expected Behavior
App should open up at the last screen (Settings screen).
Actual Behavior
App restarts from the first screen, going through splash screen while it reloads.
If you use the Android application switcher to swap back to the app, it is still on the last screen as it should be.
Also if you click a push notification then it reopens at the last position as it should (there are no push notifications in the Expo template app but I proved this on another app).
Reproducible Demo
Built APK (which is just the standard Expo "Tab Navigation" template app): https://www.dropbox.com/s/4m04170r8ufsh68/rntemplate2.apk?dl=0
The text was updated successfully, but these errors were encountered: