iOS Deep linking
Last updated
Last updated
Deep linking is necessary to access applications from the JioVerse Store within the JioImmerse iOS application.
After providing the deep link, the application becomes accessible from the JioVerse Store within the JioImmerse application.
Once the user installs the application from the JioVerse Store, it will appear in the list of installed applications within the JioImmerse application.
The user can then access the installed application from within the JioImmerse application.
Prerequisite: Publish the application on Appstore / Test Flight
Step Xcode I and Xcode II need to be done with every build.
Goto console.firebase.google.com
Add a project
Enter application name
Create Project
Goto iOS
Create your application
Enter Apple bundle ID, App name, and App store ID (Mandatory to enter all fields)
Get the App Store ID by going into your application, when uploaded on Test Flight in App Store Connect > App information > Apple ID
Get the Team ID for Generating GoogleService-info.plist in next step
Download the GoogleService-Info.plist
Add the above downloaded GoogleService-Info.plist in Unity-iPhone root folder
Select add framework button to add the firebase sdk
Click on "Add Other.." dropdown
Select "Add Package Dependency.."
When prompted, add the Firebase Apple platforms SDK repository:
Choose the Firebase library > FirebaseDynamicLinks
Goto Engage > Dynamic Links
Create a dynamic link page with the URL ending with page.link
Keep your dynamic link page handy. It will be required in step Xcode II.
Create a new Dynamic Link
In Deep Link URL; enter your application URL
Define the link behavior for Apple to Open the deep link in your Apple app.
Select your application in the dropdown
Create the deep link.
Now you need to associate your generated page to Xcode as sown in Xcode II.
Unity iPhone > Signing & Capabilities > All > +Add Capacity > Associated Domains:
webcredentials:pagelink
applinks:pagelink
activitycontinuation:pagelink
In the above Associated Domains replace pagelink with dynamic link page generated in step Firebase II.
Goto Unity-iPhone > Info > URL Types > URL Schemes and clear it.
Now create another build of your application and publish it to the App Store
Your deep link is the URL that you get in Firebase. It should be in this format. https://appname.page.link/page
To check if your deep link is working properly. Then enter your application deep link in your browser.
When your application is not installed. The browser should be redirected to the app store.
When your application is installed with your application containing associated domains capability. The browser should open the application.