react-native-code-push
react-native-code-push copied to clipboard
Deep links are ignored when CodePush update is mandatory
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
- Deploy a mandatory CodePush release
- Open the app via a deep link or universal link
- App will initially open deep link screen
- Once mandatory CodePush has downloaded
- App will restart and load home screen (initial app screen)
Expected Behavior
What you expected to happen?
After the restart I would expect it to load the deep link screen again
Actual Behavior
What actually happens?
It loads the home screen (initial app screen)
Reproducible Demo
Any CodePush project with deep links will have this issue
Environment
- react-native-code-push version: 7.0.5
- react-native version: 0.69.3
- iOS/Android/Windows version: iOS and Android
- Does this reproduce on a debug build or release build? Release
- Does this reproduce on a simulator, or only on a physical device? Both
(The more info the faster we will be able to address it!)
@SMJ93 this is not a codepush issue. Your app gets restarted after a mandatory update, you need to store the deeplink navigation state somewhere and recover after the restart.
@ricardobeat will give that a go. Do you know of any examples?
same issue here looking from long time any update on it
The issue I am having is that the bundle sometimes reloads before the deep link is successfully put into state.
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.