Questions tagged [react-native-linking]
66 questions
2
votes
2 answers
pod is not recognized as an internal or external command in react native
I've installed image picker in my react native project and i am going to link the package in ios
I run these commands:
cd ios && pod install
But i'm getting this error:
pod is not recognized as an internal or external command
I am coding in…

roz333
- 695
- 2
- 18
- 30
2
votes
1 answer
React Native: How to fix TypeError: null is not an object (evaluating 'TrackPlayer.STATE_NONE')?
I entered the following commands in the powershell in the folder containing my alarm app:
npm install react-native-track-player
react-native link react-native-track-player
react-native link seemed to have done nothing, so I manually linked the…

nachosbeans
- 21
- 1
- 8
2
votes
3 answers
React Native - getting error when running command "react-native unlink"
After upgrading past react-native 0.60.....Im being warned that I should unlink all the 3rd party libraries that were linked manually (as RN now takes care of it via auto-linking).
However when I run react-native unlink I get the error…

james murphy
- 1,505
- 5
- 31
- 57
2
votes
0 answers
import Undefined when try import my own module created with nativeModule (IOS - RN)
i created react-native-library for wrap MixPanel SDK but not working in IOS, just work in Android. When try import in android nativemodules can recognize my module "RNMixPanel" but every time when try import from ios the value is undefined.…

Ricardo Bejarano
- 21
- 4
2
votes
0 answers
create-react-native-app - eject does not create index.js
I am new to React Native. I created my React Native app with create-react-native-app. But now I want to use some libraries which require me to link via react-native link so I decided to eject using react-native eject. However, when start the server…

Lyndt
- 77
- 1
- 9
2
votes
1 answer
App linking not working. How to open app from web browser?
I've followed the steps in the android documentation Here to implement linking in my application. I dont really need any fancy parameter passing, all I want is when the user clicks a link on the browser that my app opens. All I did was modify my…

Alan
- 1,134
- 2
- 13
- 25
2
votes
2 answers
React Native Deep Link Event Listener Not firing
componentDidMount() {
Linking.addEventListener('url', event =>
this.handleOpenURL(event.url));
Linking.getInitialURL().then(url => {
console.log('url===',url);
if(url)
this.handleOpenURL(url);
});
}
handleOpenUrl…

Pavan
- 985
- 2
- 15
- 27
2
votes
1 answer
React native link Ejecting
I tried searching in previous questions, but I did not find it. I made the mistake of using Create React Native App projects. I am trying to do react native link. I did npm i --save. I get an error
react-native link can not be used in Create…

Andrew Ziegler
- 21
- 2
1
vote
0 answers
React Native: Deep link handler doesn't fire on Pixel 6
The listener for deep-links successfully registers my handler:
Linking.addEventListener('url', handleUrlDeepLink);
But on Pixel 6 for some reason the handler doesn’t fire when clicking on a deep link.
The app opens up, but nothing happens and no…

Eugene
- 21
- 2
1
vote
1 answer
The OAuth response flow failed
I'm using aws amplify along with react-native-inappbrowser. I enabled Google SSO authentication and it is working fine, but when I added GitHub auth it doesn't work as expected.
I added a listener using Hub.listen('auth', async (data) => {...} and…

Vladan Mikic
- 63
- 7
1
vote
0 answers
React Native iOS Linking with HTTP Scheme
I want to use deep linking with iOS on React Native. My URL scheme is http instead of my app name. How is it possible to make it work using this scheme. It worked on Android by adjusting the scheme and host in AndroidManifest file.
My Linking URL is…

kmagued
- 33
- 1
- 1
- 4
1
vote
0 answers
how to check if the app is installed and open it or redirect to play store
I'm building an App with Google Fit, I got all the permissions working, but since Google fit needs to be downloaded from the play store I'd like to know how can I create a button that checks if the App is installed and if it is open it if it is not,…

Daniel Döbereiner
- 119
- 6
1
vote
2 answers
How to do account activation through email using Djoser and React Native?
I am currently doing the authentication for my React Native based application using Djoser in the backend. However, for account activation Djoser sends a link containing the uid and a token. I want this link to open a page on my app while I obtain…

Seenin Sayyed
- 11
- 2
1
vote
0 answers
Open selection for mail client with React Native Linking API
With Linking API in React Native, we can do something like that:
Linking.openURL(`mailto:${receiverEmail}`);
But, with this approach, the React Native app will open default mail client app instantly (e.g: Gmail), what I want to do is instead of…

thelonglqd
- 1,805
- 16
- 28
1
vote
1 answer
React Native Linking to facebook profile only opens current user's profile instead of given URL
I have the following code:
Linking.openURL(`fb://profile/?app_scoped_user_id=${user}`)
user is taken from the url of the person's profile, so in the url https://facebook.com/ian, user would be ian.
No matter who the user is, the facebook app always…

Philip7899
- 4,599
- 4
- 55
- 114