also looking at this
feat: native trail maps and complete native mobile screens
#1017
60 files
+2505
-823
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -159,7 +159,7 @@ export default { | ||
| 159 | 159 | urlSchemes: ['wildloop'], |
| 160 | 160 | appIcon: 'public/images/app/wildloop-app-icon.png', |
| 161 | 161 | googleServicesFile: envVars.ANDROID_GOOGLE_SERVICES_FILE, |
| 162 | mapsApiKey: envVars.ANDROID_MAPS_API_KEY, | |
| 162 | mapProvider: 'maplibre', | |
| 163 | 163 | nativeScreens, |
| 164 | 164 | capabilities: { |
| 165 | 165 | backgroundLocation: true, |
| @@ -1,8 +1,6 @@ | ||
| 1 | 1 | import process from 'node:process' |
| 2 | import mobile from '../config/mobile' | |
| 3 | 2 | |
| 4 | 3 | const platform=process.argv[2] |
| 5 | 4 | if(platform!=='ios' && platform!=='android')throw new Error('Usage: bun scripts/build-mobile.ts ios|android') |
| 6 | if(platform==='android' && !mobile.android.mapsApiKey?.trim())throw new Error('Set ANDROID_MAPS_API_KEY to a Google Maps SDK for Android key before building Wildloop. Native trail maps require this configured SDK credential.') | |
| 7 | 5 | const build=Bun.spawn(['./buddy',`build:${platform}`,...process.argv.slice(3)],{stdout:'inherit',stderr:'inherit',stdin:'inherit'}) |
| 8 | 6 | process.exitCode=await build.exited |