82d90b48e2
- Fix fatal crash: require('../../../assets/logo.png') in LoginScreen and
WelcomeScreen resolved 3 levels above mobile/src/screens/ — outside the
mobile/ directory. Changed to ../../assets/logo.png which correctly
resolves to the existing mobile/assets/logo.png.
- Add expo-router app/ directory (root cause of missing welcome screen and
web support): app/_layout.tsx, (auth)/, (tabs)/ with all route files
- Add WelcomeScreen.tsx: branded intro screen with feature highlights
- Update LoginScreen/WelcomeScreen to use useRouter() (expo-router style)
- Add react-native-web ~0.20.0 and react-dom 19.2.4 for web channel
- Add expo-device ~7.0.3 (was imported but missing from package.json)
- Remove android.googleServicesFile from app.json (file is gitignored;
README documents how to restore it for Android FCM builds)
- Add web.bundler: metro and web.output: single to app.json
- Fix aria-hidden to explicit boolean value in WelcomeScreen
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"expo": {
|
|
"name": "DocuElevate",
|
|
"slug": "docuelevate-mobile",
|
|
"version": "1.0.0",
|
|
"orientation": "portrait",
|
|
"icon": "./assets/icon.png",
|
|
"userInterfaceStyle": "automatic",
|
|
"splash": {
|
|
"image": "./assets/splash.png",
|
|
"resizeMode": "contain",
|
|
"backgroundColor": "#1e40af"
|
|
},
|
|
"assetBundlePatterns": ["**/*"],
|
|
"ios": {
|
|
"supportsTablet": true,
|
|
"bundleIdentifier": "org.docuelevate.mobile",
|
|
"appleTeamId": "975U2ZESBM",
|
|
"infoPlist": {
|
|
"NSCameraUsageDescription": "DocuElevate uses the camera to capture documents for upload.",
|
|
"NSPhotoLibraryUsageDescription": "DocuElevate accesses your photo library to select documents for upload.",
|
|
"NSPhotoLibraryAddUsageDescription": "DocuElevate saves scanned documents to your photo library.",
|
|
"UIBackgroundModes": ["fetch", "remote-notification"],
|
|
"ITSAppUsesNonExemptEncryption": false
|
|
},
|
|
"buildNumber": "3"
|
|
},
|
|
"android": {
|
|
"adaptiveIcon": {
|
|
"foregroundImage": "./assets/adaptive-icon.png",
|
|
"backgroundColor": "#1e40af"
|
|
},
|
|
"package": "org.docuelevate.mobile",
|
|
"permissions": [
|
|
"CAMERA",
|
|
"READ_EXTERNAL_STORAGE",
|
|
"WRITE_EXTERNAL_STORAGE",
|
|
"RECEIVE_BOOT_COMPLETED",
|
|
"VIBRATE"
|
|
],
|
|
"versionCode": 1
|
|
},
|
|
"web": {
|
|
"favicon": "./assets/favicon.png",
|
|
"bundler": "metro",
|
|
"output": "single"
|
|
},
|
|
"plugins": [
|
|
"expo-router",
|
|
[
|
|
"expo-build-properties",
|
|
{
|
|
"ios": {
|
|
"buildReactNativeFromSource": true
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"expo-notifications",
|
|
{
|
|
"icon": "./assets/notification-icon.png",
|
|
"color": "#1e40af",
|
|
"sounds": ["./assets/notification-sound.wav"]
|
|
}
|
|
],
|
|
[
|
|
"expo-camera",
|
|
{
|
|
"cameraPermission": "DocuElevate uses the camera to capture documents for upload."
|
|
}
|
|
],
|
|
"expo-document-picker",
|
|
"expo-secure-store"
|
|
],
|
|
"scheme": "docuelevate",
|
|
"owner": "christianlouis",
|
|
"extra": {
|
|
"eas": {
|
|
"projectId": "16925679-cb94-411c-83b5-a62c9addb872"
|
|
}
|
|
}
|
|
}
|
|
}
|