Validated the scaffold with a real local build (Android SDK via Android Studio: platform 35 + build-tools 35.0.0); `./gradlew lint test assembleDebug` now passes end-to-end and produces a debug APK. Two fixes it surfaced: - ScaffoldSanityTest asserted BuildConfig.DEBUG, which fails under testReleaseUnitTest (the `test` task runs both variants). Replace with a variant-agnostic VERSION_NAME check. - Remove the redundant android:label on MainActivity (inherits the application label) — clears the RedundantLabel lint warning. Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- The app is purely an HTTPS API client of a shard's website backend. -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
<application
|
|
android:name=".RunicGatewayApp"
|
|
android:allowBackup="true"
|
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
|
android:fullBackupContent="@xml/backup_rules"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.RunicGateway">
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.RunicGateway">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|