Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separation of Redirects for LoginActivity into Distinct Intent-Filter Tags #148

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,24 @@
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="userPortrait"
android:exported="true">
<intent-filter android:label="@string/filter_open_prmt" >
<intent-filter android:label="@string/filter_open_prmt"
android:autoVerify="true" >
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "http://www.example.com/gizmos” -->
<!-- Accepts URIs that begin with "http://www.radar-base.org/prmt/...” -->
<data
android:host="radar-base.org"
android:pathPrefix="/prmt"
android:scheme="https" />
<!-- note that the leading "/" is required for pathPrefix -->
<!-- Accepts URIs that begin with "example://gizmos” -->
</intent-filter>
<intent-filter android:label="@string/custom_filter_open_prmt">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "radar-base.org://org.radarbase.prmt” -->
<data
android:host="radar-base.org"
android:scheme="org.radarbase.prmt" />
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
<string name="consent_collected_data"><![CDATA[I have read <b><u>Description of collected data</u></b> and agree to it.]]></string>
<string name="consent_server"><![CDATA[I agree to send data to <b><u>%1$s</u></b>.]]></string>
<string name="filter_open_prmt">Open RADAR pRMT</string>
<string name="custom_filter_open_prmt">Open pRMT Application</string>
<string name="action_header">Actions</string>
<string name="appUpdated">pRMT successfully updated</string>
<string name="radar_cns_logo">RADAR-CNS logo</string>
Expand Down
14 changes: 10 additions & 4 deletions app/src/selfRelease/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,24 @@
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="userPortrait"
android:exported="true">
<intent-filter android:label="@string/filter_open_prmt" >
<intent-filter android:label="@string/filter_open_prmt"
android:autoVerify="true" >
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "http://www.example.com/gizmos” -->
<!-- Accepts URIs that begin with "http://www.radar-base.org/prmt/...” -->
<data
android:host="radar-base.org"
android:pathPrefix="/prmt"
android:scheme="https" />
<!-- note that the leading "/" is required for pathPrefix -->
<!-- Accepts URIs that begin with "example://gizmos” -->
</intent-filter>
<intent-filter android:label="@string/custom_filter_open_prmt">
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "radar-base.org://org.radarbase.prmt” -->
<data
android:host="radar-base.org"
android:scheme="org.radarbase.prmt" />
Expand Down
Loading