Customize the Manifest.xml

Bug fixing to enable deeplinking "sudoku://<string>.
Create an intent filter for "sudoku://<string>". Intent filter of http and https cannot be used,
because both have different rules. Different arguments regarding scheme and host.
This commit is contained in:
ErikWaegerle 2020-08-31 20:30:53 +02:00
parent 48bfde63b8
commit b535bae043

View file

@ -50,15 +50,20 @@
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="sudoku" />
</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 <data
android:host="sudoku.secuso.org" android:host="sudoku.secuso.org"
android:scheme="http" /> android:scheme="http" />
<data <data
android:host="sudoku.secuso.org" android:host="sudoku.secuso.org"
android:scheme="https" /> android:scheme="https" />
<data
android:scheme="sudoku.secuso.org" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name="org.secuso.privacyfriendlysudoku.ui.AboutActivity" /> <activity android:name="org.secuso.privacyfriendlysudoku.ui.AboutActivity" />