Skip to content

Commit

Permalink
Add deep links from app banners
Browse files Browse the repository at this point in the history
With this commit, intents using the custom "jetpack" scheme are added to enable deep linking from Calypso's app banners to different sections in the Jetpack app.
  • Loading branch information
Siobhan committed Aug 31, 2022
1 parent e759375 commit 55bb329
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions WordPress/src/jetpack/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,29 @@
android:pathPattern="/get/.*"
android:scheme="https" />
</intent-filter>

<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="viewpost"
android:scheme="jetpack" />
<data
android:host="stats"
android:scheme="jetpack" />
<data
android:host="read"
android:scheme="jetpack" />
<data
android:host="post"
android:scheme="jetpack" />
<data
android:host="notifications"
android:scheme="jetpack" />
</intent-filter>
</activity>
</application>

Expand Down

0 comments on commit 55bb329

Please sign in to comment.