React Native Deeplink

To successfully implement deep link functionality in your React Native application, we recommend consulting the Android Deeplink and Former iOS Deeplink documentation for comprehensive instructions and code samples. By referring to these resources, you can gain a deeper understanding of the deep link integration process and ensure a smooth implementation in your React Native app.

To process deep links while the app is running, use the Linking module from React Native. Refer to the React Native Linking Documentation for more details on implementation.

On the React Native side, to catch these deep links, you should use the Netmera.getInitialURL() method instead of the Linking.getInitialURL() method. Adding this method to your App.tsx file will allow you to handle deep links correctly.

useEffect(() => {
    Netmera.getInitialURL().then(url => {
        if (url) {
            Toast.show({
                type: 'success',
                text1: `Initial URL: ${url}`,
            });
        }
    });
}, []);

For additional information, refer to the Netmera React Native Sample Repository.

Last updated