faefca0445
Android Release / build-apk (push) Successful in 3m44s
aapt2 --version-code/--version-name only inject when the attribute is absent — they silently no-op when the manifest already has a value. Removed both attributes from AndroidManifest.xml so the CI flags take effect. Local debug builds fall back to code=1 / name=0.0.0-dev. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Mirrors what cargo-apk would generate from [package.metadata.android]
|
|
in solitaire_app/Cargo.toml. Kept in-tree so the CI workflow can drive
|
|
aapt2 directly without going through cargo-apk's brittle SDK discovery.
|
|
|
|
Keep in sync with:
|
|
* Cargo.toml: package, min_sdk_version, target_sdk_version,
|
|
uses_feature, uses_permission, application label/icon,
|
|
activity orientation
|
|
* [lib].name (currently "solitaire_app") — matches the
|
|
`android.app.lib_name` meta-data value below, which is the
|
|
shared object name without the `lib` prefix or `.so` suffix.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.ferrousapp.solitaire">
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="26"
|
|
android:targetSdkVersion="34" />
|
|
|
|
<uses-feature
|
|
android:name="android.hardware.touchscreen"
|
|
android:required="true" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<application
|
|
android:label="Ferrous Solitaire"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:hasCode="false">
|
|
|
|
<activity
|
|
android:name="android.app.NativeActivity"
|
|
android:exported="true"
|
|
android:screenOrientation="portrait"
|
|
android:configChanges="orientation|keyboardHidden|screenSize|keyboard|navigation|screenLayout">
|
|
|
|
<meta-data
|
|
android:name="android.app.lib_name"
|
|
android:value="solitaire_app" />
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|