android-app-Test-FileProvider/app/.Makefile.scripts/make--AndroidManifest.xml

29 lines
1 KiB
XML
Executable file

#!/bin/bash
test -f app-config.sh && {
source app-config.sh
}
cat > "AndroidManifest.xml" << ANDROIDMANIFEST
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="$APP_PACKAGE"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="$APP_VERSION_SDK_MIN"
android:targetSdkVersion="$APP_VERSION_SDK_TARGET"/>
$(sed 's/^/ /' <<< "$APP_PERMISSIONS")
<application android:label="$APP_NAME" android:icon="@drawable/ic_launcher">
<activity android:name="$APP_PACKAGE.AppActivity"
android:exported="true"
android:configChanges="orientation|screenSize|keyboardHidden"
android:label="$APP_NAME">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
ANDROIDMANIFEST