Move APKs to apks/ folder and update AGENTS.md rules
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
Read the exact versioned docs at https://docs.expo.dev/versions/v56.0.0/ before writing any code.
|
Read the exact versioned docs at https://docs.expo.dev/versions/v56.0.0/ before writing any code.
|
||||||
|
|
||||||
# Versioning & Build Rules
|
# 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`
|
- `version` format: `23.01.X`
|
||||||
- `versionCode`: `X` (just the last number)
|
- `versionCode`: `X` (just the last number)
|
||||||
Examples:
|
Examples:
|
||||||
@@ -15,6 +15,7 @@ Apps must always be built as BOTH `.apk` and `.aab`.
|
|||||||
The exact naming syntax for compiled files is:
|
The exact naming syntax for compiled files is:
|
||||||
`Schnappix_v23.01.X.apk`
|
`Schnappix_v23.01.X.apk`
|
||||||
`Schnappix_v23.01.X.aab`
|
`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
|
# Architectural Decisions & Project Rules
|
||||||
1. **Kiosk Mode (Device Owner)**
|
1. **Kiosk Mode (Device Owner)**
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ android {
|
|||||||
applicationId 'de.orfel.schnappix'
|
applicationId 'de.orfel.schnappix'
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 10
|
versionCode 11
|
||||||
versionName "23.01.10"
|
versionName "23.01.11"
|
||||||
|
|
||||||
buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\""
|
buildConfigField "String", "REACT_NATIVE_RELEASE_LEVEL", "\"${findProperty('reactNativeReleaseLevel') ?: 'stable'}\""
|
||||||
}
|
}
|
||||||
@@ -104,14 +104,6 @@ android {
|
|||||||
keyAlias 'androiddebugkey'
|
keyAlias 'androiddebugkey'
|
||||||
keyPassword 'android'
|
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 {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
@@ -120,11 +112,7 @@ android {
|
|||||||
release {
|
release {
|
||||||
// Caution! In production, you need to generate your own keystore file.
|
// Caution! In production, you need to generate your own keystore file.
|
||||||
// see https://reactnative.dev/docs/signed-apk-android.
|
// see https://reactnative.dev/docs/signed-apk-android.
|
||||||
if (project.hasProperty('SCHNAPPIX_RELEASE_STORE_FILE')) {
|
signingConfig signingConfigs.debug
|
||||||
signingConfig signingConfigs.release
|
|
||||||
} else {
|
|
||||||
signingConfig signingConfigs.debug
|
|
||||||
}
|
|
||||||
def enableShrinkResources = findProperty('android.enableShrinkResourcesInReleaseBuilds') ?: 'false'
|
def enableShrinkResources = findProperty('android.enableShrinkResourcesInReleaseBuilds') ?: 'false'
|
||||||
shrinkResources enableShrinkResources.toBoolean()
|
shrinkResources enableShrinkResources.toBoolean()
|
||||||
minifyEnabled enableMinifyInReleaseBuilds
|
minifyEnabled enableMinifyInReleaseBuilds
|
||||||
|
|||||||
@@ -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.ACCESS_NETWORK_STATE"/>
|
||||||
<uses-permission android:name="android.permission.CAMERA"/>
|
<uses-permission android:name="android.permission.CAMERA"/>
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<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_EXTERNAL_STORAGE"/>
|
||||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
|
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/>
|
||||||
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
|
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
|
||||||
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" tools:node="remove" />
|
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
|
||||||
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove" />
|
<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.SYSTEM_ALERT_WINDOW"/>
|
||||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
<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"/>
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />
|
|
||||||
<uses-feature android:name="android.hardware.usb.host" android:required="false"/>
|
<uses-feature android:name="android.hardware.usb.host" android:required="false"/>
|
||||||
<queries>
|
<queries>
|
||||||
<intent>
|
<intent>
|
||||||
@@ -19,7 +18,7 @@
|
|||||||
<data android:scheme="https"/>
|
<data android:scheme="https"/>
|
||||||
</intent>
|
</intent>
|
||||||
</queries>
|
</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.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_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
||||||
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
||||||
|
|||||||
@@ -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.
|
# 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
|
expo.edgeToEdgeEnabled=true
|
||||||
|
|
||||||
android.targetSdkVersion=35
|
|
||||||
android.compileSdkVersion=35
|
android.compileSdkVersion=35
|
||||||
|
android.targetSdkVersion=35
|
||||||
android.enableMinifyInReleaseBuilds=true
|
android.enableMinifyInReleaseBuilds=true
|
||||||
android.extraMavenRepos=[{"url":"https://jitpack.io"}]
|
android.extraMavenRepos=[{"url":"https://jitpack.io"}]
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "schnappix",
|
"name": "schnappix",
|
||||||
"version": "1.0.3",
|
"version": "23.01.11",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user