React-native-fb-applink
WARNING: IOS ONLY
This native module can fetch facebook's deferred deep links using FBSDK.
Getting started
-
Install package
npm install @roborox/react-native-fb-applink -SE
-
Add
pod "FBSDKCoreKit", "6.2.0"
to your Podfile -
Perform
pod update
inside ios folder
Mostly automatic installation
$ react-native link @roborox/react-native-fb-applink
Usage
import FBAppLink from '@roborox/react-native-fb-applink';
async function getDeepLink() {
try {
return await NativeModules.FBAppLink.fetch()
} catch (error) {
console.error("FBAppLink", error)
return null
}
}