diff --git a/codemagic.yaml b/codemagic.yaml new file mode 100644 index 0000000..37a770b --- /dev/null +++ b/codemagic.yaml @@ -0,0 +1,23 @@ +workflows: + build-apk: + name: Build APK + max_build_duration: 30 + environment: + node: 18.16.0 + java: 17 + android: true + vars: + PACKAGE_NAME: "com.telon.gsmsip" # ← غيّرها لو عندك باكيج مخصص + scripts: + - name: Install Dependencies + script: | + npm install + - name: Accept Licenses + script: | + yes | sdkmanager --licenses + - name: Build APK + script: | + cd android + ./gradlew assembleDebug + artifacts: + - android/app/build/outputs/**/*.apk