@roborox/react-native-fb-applink

Fetched deferred deep links

Usage no npm install needed!

<script type="module">
  import roboroxReactNativeFbApplink from 'https://cdn.skypack.dev/@roborox/react-native-fb-applink';
</script>

README

React-native-fb-applink

WARNING: IOS ONLY

This native module can fetch facebook's deferred deep links using FBSDK.

Getting started

  1. Install package npm install @roborox/react-native-fb-applink -SE

  2. Add pod "FBSDKCoreKit", "6.2.0" to your Podfile

  3. 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
    }
}