Unable to get DeepLinking URL using Linking.getInitialURL() if app is opened after unlocking #32605
Labels
API: Linking
Needs: Triage 🔍
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
I have a scenario where I receive video call notification through push notification. From Android project activity class I am trying to navigate to specific page with channel ID as parameter through deep linking URL. If phone is locked with out PIN or some other security, I am able to get deep linking URL using Linking.getInitialURL() method. But if phone is locked, and app is opened when unlocking the phone, the deep linking URL comes as null.
Version
0.61.3
Output of
react-native info
System:
OS: macOS 11.2.3
CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
Memory: 18.86 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.16.1 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.12 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 23, 27, 28, 29, 30, 31
Build Tools: 27.0.3, 28.0.3, 29.0.2, 30.0.2, 31.0.0
System Images: android-30 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7621141
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.3 => 0.61.3
Steps to reproduce
Create a push notification to open the app. When the app is opened post unlocking, the issue occurs
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: