chahinebrini 63fae25531 fix(android-protection): explicit specialUse FGS type — Samsung/Android 16 crash loop
RebreakVpnService.onStartCommand crashed with SecurityException because Android 16's validateForegroundServiceType rejects the implicit 2-arg startForeground(). Now passes FOREGROUND_SERVICE_TYPE_SPECIAL_USE explicitly (Google's documented best practice) and guards the call so a failed foreground promotion stops the service cleanly instead of crashing the app. Verified vs reported Galaxy A54 / Android 16 signature (97% of crash events, 1-user crash loop).

Bundles pending working-tree work across native/marketing/locales/mac + graphify-out rebuild. gitignore: google-services.json + /screenshots/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:33:28 +02:00

57 lines
988 B
Plaintext

# dependencies
node_modules/
# Expo
.expo/
dist/
web-build/
expo-env.d.ts
# Native (Expo-prebuild output — regenerated by `expo prebuild`, not tracked).
# Anchored so it does NOT swallow the custom native module's source under modules/.
/ios/
/android/
# Custom native module (modules/rebreak-protection/{android,ios}) source IS tracked,
# but its build artifacts are not.
modules/*/android/build/
modules/*/android/.cxx/
modules/*/android/.gradle/
modules/*/ios/build/
modules/*/ios/Pods/
*.jks
*.keystore
*.p12
*.p8
*.key
*.mobileprovision
# Firebase / FCM config (per-project, provided at build time — not tracked)
google-services.json
GoogleService-Info.plist
# Metro
.metro-health-check*
# debug
npm-debug.*
yarn-debug.*
yarn-error.*
# macOS
.DS_Store
*.pem
# local env files
.env*.local
.deploy-secrets.local
# typescript
*.tsbuildinfo
# Storybook
storybook-static/
android/local.properties
android/key.properties
build-config/android-signing/
apps/rebreak-native/tmp/