WIP: new-activity notification #231

Draft
trentlarson wants to merge 80 commits from notify-api into master
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 0ebad3b497 - Show all commits

View File

@@ -204,7 +204,7 @@ run_android() {
safe_execute "Launching app" "adb -s $device_id shell am start -n app.timesafari.app/app.timesafari.MainActivity"
else
log_info "Launching emulator and installing app"
safe_execute "Launching app" "npx cap run android"
safe_execute "Launching app" "npx cap run android --no-sync"
fi
}

View File

@@ -645,11 +645,13 @@ if [ "$BUILD_AAB" = true ]; then
fi
# Step 11: Auto-run app if requested
# cap run runs sync by default, which would overwrite capacitor.plugins.json again;
# we already synced and ran restore-local-plugins.js above, so skip sync here.
if [ "$AUTO_RUN" = true ]; then
log_step "Auto-running Android app..."
safe_execute "Launching app" "npx cap run android" || {
safe_execute "Launching app" "npx cap run android --no-sync" || {
log_error "Failed to launch Android app"
log_info "You can manually run with: npx cap run android"
log_info "You can manually run with: npx cap run android --no-sync"
exit 9
}
log_success "Android app launched successfully!"