<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<application
android:icon="@mipmap/ic_icon"
android:roundIcon="@mipmap/ic_icon"
android:label="@string/app_name"
android:allowBackup="false"
android:dataExtractionRules="@xml/data_extraction_rules"
android:supportsRtl="true"
android:theme="@style/Theme.Diogramos"
android:usesCleartextTraffic="true">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTask"
android:theme="@style/Theme.Diogramos">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!--
diogramos://pair?base=<server>&token=<api-token> — scanned
from the web settings page, or tapped out of a note or chat.
Dispatched to PairScreen by MainActivity.
-->
<intent-filter android:autoVerify="false">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="diogramos" android:host="pair"/>
</intent-filter>
<!--
https://<host>/m/<token> — the magic-link App Link.
autoVerify=true needs .well-known/assetlinks.json on the
server declaring this app's SHA-256 signing fingerprint;
without it the link still works, it just goes through the
default-handler chooser or the in-app paste fallback.
-->
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https"
android:host="${appLinksHost}"
android:pathPrefix="/m/"/>
</intent-filter>
</activity>
</application>
</manifest>
neiam
/diogramos
diogramos
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
2.5 KiB · text
History
9ee7727