| Build the APK, out of ClojureDart and Flutter e2b0e6b nandi 7d ago | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| Reach irc.freeq.at over TLS from the phone e80514e nandi 7d ago | 2 | <!-- The Flutter template declares this only in the debug manifest, where |
| 3 | it is there for the hot-reload VM service. frq is an IRC client: it |
| 4 | needs the network in a release build too. --> |
| 5 | <uses-permission android:name="android.permission.INTERNET"/> |
| Build the APK, out of ClojureDart and Flutter e2b0e6b nandi 7d ago | 6 | <application |
| 7 | android:label="frq" |
| 8 | android:name="${applicationName}" |
| 9 | android:icon="@mipmap/ic_launcher"> |
| 10 | <activity |
| 11 | android:name=".MainActivity" |
| 12 | android:exported="true" |
| Sign in with Bluesky on the phone, browser and all 939d2ac nandi 7d ago | 13 | android:launchMode="singleTask" |
| Build the APK, out of ClojureDart and Flutter e2b0e6b nandi 7d ago | 14 | android:taskAffinity="" |
| 15 | android:theme="@style/LaunchTheme" |
| 16 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 17 | android:hardwareAccelerated="true" |
| 18 | android:windowSoftInputMode="adjustResize"> |
| 19 | <!-- Specifies an Android theme to apply to this Activity as soon as |
| 20 | the Android process has started. This theme is visible to the user |
| 21 | while the Flutter UI initializes. After that, this theme continues |
| 22 | to determine the Window background behind the Flutter UI. --> |
| 23 | <meta-data |
| 24 | android:name="io.flutter.embedding.android.NormalTheme" |
| 25 | android:resource="@style/NormalTheme" |
| 26 | /> |
| 27 | <intent-filter> |
| 28 | <action android:name="android.intent.action.MAIN"/> |
| 29 | <category android:name="android.intent.category.LAUNCHER"/> |
| 30 | </intent-filter> |
| Sign in with Bluesky on the phone, browser and all 939d2ac nandi 7d ago | 31 | <!-- What brings frq back to the front when the browser has |
| 32 | finished signing in. Chrome is on top of the app rather than |
| 33 | beside it, so the capture page navigates here once it has |
| 34 | handed the payload to the loopback listener. |
| 35 | |
| 36 | The broker never sees this: `return_to` is the loopback URL on |
| 37 | both desktop and phone, and the scheme is claimed by this |
| 38 | manifest and used only on this device. Nothing is read out of |
| 39 | the intent either — the tokens arrived over the socket, and |
| 40 | this only has to raise the window. singleTask above is what |
| 41 | makes that the running app rather than a second copy. --> |
| 42 | <intent-filter> |
| 43 | <action android:name="android.intent.action.VIEW"/> |
| 44 | <category android:name="android.intent.category.DEFAULT"/> |
| 45 | <category android:name="android.intent.category.BROWSABLE"/> |
| 46 | <data android:scheme="frq" android:host="auth"/> |
| 47 | </intent-filter> |
| Build the APK, out of ClojureDart and Flutter e2b0e6b nandi 7d ago | 48 | </activity> |
| 49 | <!-- Don't delete the meta-data below. |
| 50 | This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 51 | <meta-data |
| 52 | android:name="flutterEmbedding" |
| 53 | android:value="2" /> |
| 54 | </application> |
| 55 | <!-- Required to query activities that can process text, see: |
| 56 | https://developer.android.com/training/package-visibility and |
| 57 | https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 58 | |
| 59 | In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 60 | <queries> |
| Sign in with Bluesky on the phone, browser and all 939d2ac nandi 7d ago | 61 | <!-- url_launcher asks Android who can show an https page. Without |
| 62 | this, package visibility on Android 11+ answers "nobody" and the |
| 63 | sign-in URL silently fails to open. --> |
| 64 | <intent> |
| 65 | <action android:name="android.intent.action.VIEW"/> |
| 66 | <data android:scheme="https"/> |
| 67 | </intent> |
| Build the APK, out of ClojureDart and Flutter e2b0e6b nandi 7d ago | 68 | <intent> |
| 69 | <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 70 | <data android:mimeType="text/plain"/> |
| 71 | </intent> |
| 72 | </queries> |
| 73 | </manifest> |