Nameer
Nameer

Reputation: 149

How to get info from another React Native app?

I have two React Native apps A & B, app A have a login system, after login it stores the username, I want B app to check if the username is stored in A app and get the username. Is there a way to do this in React Native?

I use React Native Async Storage in A app to store username https://github.com/react-native-community/async-storage

Upvotes: 1

Views: 533

Answers (2)

Rishav Kumar
Rishav Kumar

Reputation: 5460

You can do that using Linking from react native.

There is a complete blog on that.

Upvotes: 1

johnborges
johnborges

Reputation: 2533

A good start would be to look at App Groups or Shared Keychain Access on iOS. Regardless you'll need to explore platform specific options for each platform you target. React Native doesn't provide functionality for this out of the box.

Upvotes: 1

Related Questions