Reputation: 128
After testing on real device I want to navigate dynamic link to app or app/play store directly without having bridge of browser, currently dynamic link is working fine but it is navigating to browser first and then to app if it is installed else navigates to browser first and then play store or app store.
I need to do direct navigation without going to browser first.
enter image description here
Steps which I followed.
Created dynamic link using Firebase.
Added behaviour of ios and android for both the scenario and linked app respectively. 3.Added team id, app store id to project setting in firebase and apple-app-site-association file is up on domain which created by dynamic link. 4.Added Android intent filter in androidMainfest.xml
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="www.example.com"/
</intent-filter>
Associated bundle id, domain to xcode for ios.
Installed package for dynamic link in project. yarn add @react-native-firebase/dynamic-links cd ios/ && pod installenter image description here
Upvotes: 1
Views: 824
Reputation: 128
Go to campaign tracking, social tags and advanced options inside dynamic link tab, and check the check box skip the app preview page (not recommended). It works for me
Upvotes: 1