react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

Deep links are ignored when CodePush update is mandatory

Open SMJ93 opened this issue 2 years ago • 3 comments

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. Deploy a mandatory CodePush release
  2. Open the app via a deep link or universal link
  3. App will initially open deep link screen
  4. Once mandatory CodePush has downloaded
  5. 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 avatar Aug 31 '22 09:08 SMJ93

@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 avatar Sep 07 '22 14:09 ricardobeat

@ricardobeat will give that a go. Do you know of any examples?

SMJ93 avatar Sep 07 '22 15:09 SMJ93

same issue here looking from long time any update on it

doddannad avatar Oct 03 '22 06:10 doddannad

The issue I am having is that the bundle sometimes reloads before the deep link is successfully put into state.

wavesandwaves avatar Oct 27 '22 14:10 wavesandwaves

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.

ghost avatar Dec 26 '22 17:12 ghost

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.

ghost avatar Jan 11 '23 00:01 ghost