Questions tagged [react-native-linking]

66 questions
0
votes
1 answer

How do I open the deep link in mobile browser rather than mobile app in react native

What I am trying to do is opening a deep link in mobile browse (Not in app). Deeplinking is all set up, all the links with specific domains are opening/navigating into app opened from any where else. Now here is a scenario that there are some…
Mohsin
  • 263
  • 2
  • 19
0
votes
0 answers

Open link in current window react-native Linking

I'm trying to use react-native for a web\app. I would like to create a simple link to a different screen, but using urls and not elements. I managed to get it to work with 2 annoying caviats: the tail of the url is showing for a second and then…
0
votes
1 answer

React Native View PDF

I have a react-native app which opens a PDF document using Linking as shown below: const handlePress = () => { Linking.openURL( "https://link/to/file.pdf" ); }; The problem with the above code is that it opens the web browser and…
0
votes
1 answer

React Native Linking openURL : Use special characters like # and *

I am building a React Native app able to trigger mobile payment via USSD codes (widely used in Africa). A USSD code is run from the dialer app of any phone and looks like this : #144# or #1*1*4# for example. My app should basically redirect a user…
Béranger
  • 90
  • 7
0
votes
1 answer

Module not found: Can't resolve 'react-native' even though sqlite.core.js is in the ./node_modules/react-native-sqlite-storage/lib/

I am trying to get started by linking sqlite with react native on a simple app.. but somehow keep getting below error: I tried reinstall, relink, delete modules and yarn start... Please help! Module is not found: Can't resolve 'react-native' even…
0
votes
1 answer

react native link number doesn't work after #

I'm actually trying to link a code like #873766 directly into the phone's calling application. But only the # appears... Did you guys have a solution for this?
0
votes
1 answer

How to open android gallery app from React Native app

I am having trouble while opening the gallery using linking on android devices. It works perfectly on iOS. I am using this. openPhotos = () =>{ switch(Platform.OS){ case "ios": Linking.openURL("photos-redirect://"); break; case "android": …
Ashish Prasad
  • 116
  • 1
  • 2
  • 14
0
votes
0 answers

Can we submit an html post form in react-native?

I have a question if we can submit an html post form with Linking in react-native. If yes how we can submit it? I want to submit it to default browser (not with webview) and here is html form:
Fabio Plaka
  • 138
  • 2
  • 12
0
votes
2 answers

React Native Linking Listener?

Description: Built an app, need to implement Swedish BankID. This means, when user presses a button, the Swedish BankID App opens, and when the user has signed in, the Swedish BankID App sends the user back to my app (which it does automatically),…
Cevin Thomas
  • 387
  • 3
  • 14
0
votes
2 answers

React Native: Unable to import React headers after updating to 0.60

After updating to React Native 0.60 the header linking does no longer work. I'm having problems linking from the React library during…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
0
votes
0 answers

React-native link does not relink after manually removing the links

The react-native link command works normally the first time I install an npm dependency. During debugging I manually removed contents of the Libraries and Frameworks folders in my iOS project and since then the react-native link command is unable to…
Peter G.
  • 7,816
  • 20
  • 80
  • 154
0
votes
0 answers

How to install a pod in a custom react native library?

I'm trying to link a custom react native library which has a pod installed. When I install the pod in the custom library, xcworkspace is generated and I need to use the workspace there after, and I'm able to access the pods there. But, this custom…
0
votes
2 answers

is it necessary to rebuild react-native project after linking

I would like to know if it's necessary to rebuild react native project after installing and linking libraries that includes native codes.
myckhel
  • 800
  • 3
  • 15
  • 29
0
votes
0 answers

react native link break while loop in shell script

There is a file like below react-native-webrtc react-native-randombytes react-native-fs react-native-callkeep There is a shell script with two loop like below while read line do echo ${line} done < './links.patch' while read line do …
Hsiu Chuan Tsao
  • 1,396
  • 1
  • 12
  • 23
0
votes
0 answers

react native linking a library to inside the another library

Is it possible to link a library which has native dependencies inside another library? Trying to find the solution to link manually, but failing to do it so. I found a [question]: Using React-Native library inside another React-Native library…
srikanth
  • 308
  • 3
  • 13