Files
Postiz-android/artifacts/postiz-mobile/app.json
T
billisdead 20226caef4 build: remove expo.dev/EAS dependency, add local Android build pipeline
- Delete eas.json and strip extra.eas.projectId from app.json
- Add plugins/withAndroidReleaseSigning.js — Expo config plugin that injects
  release signingConfig into the generated build.gradle during expo prebuild
- Add build-apk.sh — self-contained build script (expo prebuild + Gradle)
  Reads keystore credentials from ~/.config/postiz-mobile/signing.env
  Outputs APK/AAB to dist/, wipes credentials from gradle.properties after build
- Add install-android-sdk.sh — one-time Android SDK cmdline-tools bootstrap
- Remove unused expo-task-manager dependency
- Update .gitignore: android/, ios/, static-build/ excluded (generated)

Build workflow:
  1. eas credentials --platform android  # export keystore once
  2. ./install-android-sdk.sh            # first time only
  3. ./build-apk.sh                      # → dist/postiz-mobile-YYYYMMDD-HHMM.apk

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 20:32:18 +02:00

59 lines
1.5 KiB
JSON

{
"expo": {
"name": "PostizMobile",
"slug": "postiz-mobile",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "postiz-mobile",
"userInterfaceStyle": "dark",
"newArchEnabled": true,
"splash": {
"image": "./assets/images/icon.png",
"resizeMode": "contain",
"backgroundColor": "#0D0D0F"
},
"ios": {
"supportsTablet": false,
"infoPlist": {
"NSPhotoLibraryUsageDescription": "PostizMobile needs access to your photo library to attach images to posts.",
"NSCameraUsageDescription": "PostizMobile needs camera access to take photos for posts."
}
},
"android": {
"package": "fr.gyozamancave.postizmobile",
"permissions": [
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE",
"android.permission.READ_MEDIA_IMAGES",
"android.permission.RECEIVE_BOOT_COMPLETED",
"android.permission.VIBRATE",
"android.permission.RECORD_AUDIO"
]
},
"web": {
"favicon": "./assets/images/icon.png"
},
"plugins": [
"expo-router",
"expo-font",
"expo-web-browser",
"expo-image-picker",
"expo-secure-store",
[
"expo-notifications",
{
"icon": "./assets/images/icon.png",
"color": "#6366F1",
"sounds": []
}
],
"./plugins/withAndroidReleaseSigning"
],
"experiments": {
"typedRoutes": true,
"reactCompiler": true
}
}
}