Questions tagged [react-native-linking]

66 questions
18
votes
3 answers

react-native link only for one project (Android or iOS)

I want to link only one of my project (Android or iOS) with the npm package. Is there any way to do it?
14
votes
7 answers

React Native open Facebook page

I've been trying to open Facebook page using React Native Linking API. It doesn't work for me. I do have Facebook app installed. Here is what I…
Andrei
  • 42,814
  • 35
  • 154
  • 218
13
votes
4 answers

Cannot open phone call with Linking.openURL

Description Cannot open phone call with Linking.openURL('tel:+123456789') Environment Environment: OS: macOS High Sierra 10.13.4 Node: 8.5.0 Yarn: Not Found npm: 5.8.0 Watchman: Not Found Xcode: Xcode 9.3 Build version 9E145 Android…
Riki Chou
  • 509
  • 1
  • 3
  • 13
9
votes
4 answers

react-native How to open local file url using Linking?

I'm using the following code to download a file (can be a PDF or a DOC) and then opening it using Linking. const { dirs } = RNFetchBlob.fs; let config = { fileCache : true, appendExt : extension, addAndroidDownloads : { …
Abhishek
  • 153
  • 1
  • 3
  • 15
7
votes
2 answers

React-native link path incorrect

I have an app which fails on linking/unlinking packages, similar to this issue. It specifically fails on linking the MainApplication.java file with this error. error Something went wrong while unlinking. Reason ENOENT: no such file or directory,…
Mark
  • 2,061
  • 1
  • 16
  • 26
5
votes
4 answers

npx react-native link dose not working for me

I'm trying to use this (https://mehrankhandev.medium.com/ultimate-guide-to-use-custom-fonts-in-react-native-77fcdf859cf4) to add font but I have problem with this part... npx react-native link this command don't shows anything to me... anything;…
amir
  • 53
  • 1
  • 1
  • 3
4
votes
0 answers

Enable Camera and microphone permissions for react native webview

I am building a react native application in which I have to hit a URL to let user for a video call ,but when I open that URL in Webview I cant access camera and microphone of device(both a\Android and IOS) required for call and I can't open the URL…
3
votes
1 answer

How to open an App from an actual App in React Native when the app is already installed?

I'm using this library for deep linking is my React Native application (only IOS is concerned) If the app isn't installed it successfully opens the apple store . But the problem is even if the app is installed, it opens the apple store with open…
Amine
  • 2,241
  • 2
  • 19
  • 41
3
votes
1 answer

Linking.addEventListener not working in react native

I have successfully implemented a universal link that opens up a specific page in my app (if the app is turned off). The problem is that if the app is running in the background, the eventListener is not being called. Here is the code: import…
Philip7899
  • 4,599
  • 4
  • 55
  • 114
3
votes
0 answers

react-native-firebase react-native link issue, how to solve?

The below error shows up when i try link the library react-native-firebase Package react-native-firebase has been ignored because it contains invalid configuration. Reason: Unknown option dependency.platforms.android.buildPatch with value ""\…
3
votes
0 answers

How to embed aar native android library into a React Native plugin

I am created a private SDK for Android. So I have .aar library. I also made React Native bridge and everything works great. But The problem is how to include .aar file in my reactive plugin? So Gradle can pull it like other public libraries.
3
votes
2 answers

How to resolve React Native iOS linking error:: 'ReactNativeNavigation/ReactNativeNavigation.h' file not found?

I have integrated React Native Navigation package for my React Native application.I need to update my old React Native Navigation version to latest version. I am following it's official docs for setup:: check this link…
2
votes
0 answers

DynamicLinks not working on first open React Native

I have my project in React Native (v0.62.2), and I am using Firebase Dynamic Links (v^12.0.0). I have configured it all as the documentation indicates, but I have a problem: In iOS, if I use an external dynamic link (such as…
2
votes
1 answer

open link in specific browser(like IE) instead of default browser from react-native app?

I'm creating app which need to be opens in Microsoft edge browser but when i click on link. it is directly opening link with default browser. Is there a way to force the program to open the link in Microsoft edge browser instead of the default…
2
votes
1 answer

How to Launch a React-Native App inside other React-Native App

I am having a requirement,wherein i have a React-Native app (Primary App),and having a Game-App(Secondary App) which is also developed in React-native. Now on a button click of Primary App I want to launch Secondary App,and play the game as part of…
1
2 3 4 5