Move APKs to apks/ folder and update AGENTS.md rules

This commit is contained in:
2026-06-29 23:47:09 +02:00
parent ce4e1a8c3a
commit 4badd3ec7f
9 changed files with 15 additions and 27 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
Read the exact versioned docs at https://docs.expo.dev/versions/v56.0.0/ before writing any code.
# Versioning & Build Rules
Whenever a new build is triggered, the version MUST be updated.
Whenever a new build is triggered, the version MUST be updated in BOTH `app.json` and `package.json`.
- `version` format: `23.01.X`
- `versionCode`: `X` (just the last number)
Examples:
@@ -15,6 +15,7 @@ Apps must always be built as BOTH `.apk` and `.aab`.
The exact naming syntax for compiled files is:
`Schnappix_v23.01.X.apk`
`Schnappix_v23.01.X.aab`
IMPORTANT: All compiled files must be placed in the `apks/` directory (e.g. `apks/Schnappix_v23.01.X.apk`). Do NOT place them in the root directory.
# Architectural Decisions & Project Rules
1. **Kiosk Mode (Device Owner)**
+3 -15
View File
@@ -92,8 +92,8 @@ android {
applicationId 'de.orfel.schnappix'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 10
versionName "23.01.10"
versionCode 11
versionName "23.01.11"
buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\""
}
@@ -104,14 +104,6 @@ android {
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
if (project.hasProperty('SCHNAPPIX_RELEASE_STORE_FILE')) {
storeFile file(SCHNAPPIX_RELEASE_STORE_FILE)
storePassword SCHNAPPIX_RELEASE_STORE_PASSWORD
keyAlias SCHNAPPIX_RELEASE_KEY_ALIAS
keyPassword SCHNAPPIX_RELEASE_KEY_PASSWORD
}
}
}
buildTypes {
debug {
@@ -120,11 +112,7 @@ android {
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
if (project.hasProperty('SCHNAPPIX_RELEASE_STORE_FILE')) {
signingConfig signingConfigs.release
} else {
signingConfig signingConfigs.debug
}
signingConfig signingConfigs.debug
def enableShrinkResources = findProperty('android.enableShrinkResourcesInReleaseBuilds') ?: 'false'
shrinkResources enableShrinkResources.toBoolean()
minifyEnabled enableMinifyInReleaseBuilds
+8 -9
View File
@@ -1,16 +1,15 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" tools:node="remove" />
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-feature android:name="android.hardware.usb.host" android:required="false"/>
<queries>
<intent>
@@ -19,7 +18,7 @@
<data android:scheme="https"/>
</intent>
</queries>
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false" android:requestLegacyExternalStorage="true">
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
+1 -1
View File
@@ -64,7 +64,7 @@ expo.useLegacyPackaging=false
# WARNING: This property has been deprecated and will be removed in Expo SDK 55. Use `edgeToEdgeEnabled` or `react.edgeToEdgeEnabled` to determine whether the project is using edge-to-edge.
expo.edgeToEdgeEnabled=true
android.targetSdkVersion=35
android.compileSdkVersion=35
android.targetSdkVersion=35
android.enableMinifyInReleaseBuilds=true
android.extraMavenRepos=[{"url":"https://jitpack.io"}]
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "schnappix",
"version": "1.0.3",
"version": "23.01.11",
"main": "index.ts",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.7.2",