- Home /
Deep Linking to specific Scene in Android build
Hi!
We want to make a deep link to open our Unity game on a Specific Scene, but cannot find a way to do it.
Now we can generate the deep link to the App itself by adding these Intent Filter lines to the AndroidManifest file generated in the Unity Project (between the … tags):
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host=“game_name”
android:path="/"
android:scheme="open_app" />
</intent-filter>
If we open this link on the Android phone, the Unity app opens: intent://game_name/#Intent;scheme=open_app;package=com.enterprise.game_name;end
But it always opens in the main scene.
We can’t find a way to add another Intent Filter to open a different scene when a link is clicked outside the app.
We’ve searched everywhere with no luck.
Anybody knows how to do this?
Many thanks for your help!
Same for me ! I'm stuck on this since a while it driving me crazy :)
If someone have any infomations about this it will help a lot.
I'm trying to do this on both Android and iOS.
Thanks
@miltonwidowgames did you find any answer and also could you please help me to integrate deeplinking in my app ,Did Anybody find any answer or any video link to do this?
Your answer
Follow this Question
Related Questions
Unable to merge Android Manifests 1 Answer
Android build failes because of manifest 0 Answers
AndroidManifest.xml file locations 1 Answer