@roborox/react-native-fb-applink
v1.2.4
Published
Fetched deferred deep links
Downloads
23
Maintainers
Readme
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 PodfilePerform
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
}
}