Skip to content
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

Unable to get DeepLinking URL using Linking.getInitialURL() if app is opened after unlocking #32605

Closed
poliahrameshkumar opened this issue Nov 16, 2021 · 2 comments
Labels
API: Linking Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@poliahrameshkumar
Copy link

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

@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label May 16, 2022
@github-actions
Copy link

github-actions bot commented Jun 2, 2022

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as completed Jun 2, 2022
@facebook facebook locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Linking Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants