Files
bincio-rec/app.json
T
Davide Scaini 27e7f008f0 auth: replace password login with OIDC PKCE flow (Phase 5)
- Install expo-auth-session + expo-web-browser
- Add 'bincio-rec' URL scheme to app.json for deep-link redirect
- auth.ts: generate PKCE verifier/challenge, open bincio.org/oauth2/authorize
  in browser, exchange auth code for RS256 id_token, store in AsyncStorage
- SettingsScreen: remove handle/password fields, single 'Sign in with bincio'
  button that opens the browser flow
2026-06-03 16:12:15 +02:00

69 lines
1.9 KiB
JSON

{
"expo": {
"name": "bincio-rec",
"slug": "bincio-rec",
"scheme": "bincio-rec",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "dark",
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.bincio.rec",
"infoPlist": {
"NSLocationWhenInUseUsageDescription": "bincio-rec uses your location to record your activity track.",
"NSLocationAlwaysAndWhenInUseUsageDescription": "bincio-rec uses your location in the background to record your activity track.",
"UIBackgroundModes": [
"location"
]
}
},
"android": {
"package": "com.bincio.rec",
"adaptiveIcon": {
"backgroundColor": "#111111",
"foregroundImage": "./assets/android-icon-foreground.png",
"backgroundImage": "./assets/android-icon-background.png",
"monochromeImage": "./assets/android-icon-monochrome.png"
},
"predictiveBackGestureEnabled": false,
"permissions": [
"ACCESS_FINE_LOCATION",
"ACCESS_BACKGROUND_LOCATION",
"FOREGROUND_SERVICE",
"FOREGROUND_SERVICE_LOCATION",
"BLUETOOTH",
"BLUETOOTH_ADMIN",
"BLUETOOTH_SCAN",
"BLUETOOTH_CONNECT",
"REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"
]
},
"web": {
"favicon": "./assets/favicon.png"
},
"ignorePaths": [
"CLAUDE.md"
],
"plugins": [
"expo-sqlite",
[
"expo-location",
{
"locationAlwaysAndWhenInUsePermission": "bincio-rec records your GPS track during activities.",
"isAndroidBackgroundLocationEnabled": true,
"isAndroidForegroundServiceEnabled": true
}
],
[
"expo-notifications",
{
"icon": "./assets/icon.png",
"color": "#3b82f6"
}
],
"expo-web-browser"
]
}
}