Skip to content

Commit

Permalink
Update intent filters for deeplink
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed May 9, 2023
1 parent 1a32b6d commit 7f6c7f9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
Binary file added AppKey
Binary file not shown.
21 changes: 7 additions & 14 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="io.getstream.video.android.app"
>
package="io.getstream.video.android.app">

<application
android:name=".VideoApp"
Expand All @@ -30,17 +29,14 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.StreamVideoAndroid"
tools:targetApi="31"
>
tools:targetApi="31">
<profileable
android:shell="true"
tools:targetApi="29"
/>
tools:targetApi="29" />

<activity
android:name=".ui.login.LoginActivity"
android:exported="true"
>
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand All @@ -51,20 +47,17 @@
<activity
android:name=".ui.call.CallActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:supportsPictureInPicture="true"
/>
android:supportsPictureInPicture="true" />

<activity
android:name=".ui.call.XmlCallActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:supportsPictureInPicture="true"
/>
android:supportsPictureInPicture="true" />

<service
android:name=".ui.call.CallService"
android:enabled="true"
android:exported="false"
/>
android:exported="false" />
</application>

</manifest>
11 changes: 7 additions & 4 deletions dogfooding/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,18 @@
android:name=".DeeplinkingActivity"
android:exported="true"
android:launchMode="singleTask">
<intent-filter>
<tools:validation testUrl="https://stream-video-demo.vercel.app" />
<intent-filter
android:autoVerify="true"
android:label="@string/filter_call_link">

<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="stream-video-demo.vercel.app"
android:scheme="https" />
<data android:scheme="https" />
<data android:host="stream-video-demo.vercel.app" />
</intent-filter>
</activity>
</application>
Expand Down

0 comments on commit 7f6c7f9

Please sign in to comment.