Refactor App component and add Map screen with location permissions handling

- Updated App component to improve structure and readability.
- Replaced ICameraSDK with MyNativeModule for native interactions.
- Enhanced error handling during app initialization and QR code generation.
- Introduced a new Map screen that requests location permissions and handles user alerts for permission status.
- Added new dependencies for location permissions management.
This commit is contained in:
2025-12-23 23:44:43 +05:30
parent a8e95400cc
commit b6040d6042
4 changed files with 6913 additions and 159 deletions

View File

@@ -10,12 +10,16 @@
"test": "jest"
},
"dependencies": {
"@mapbox/polyline": "^1.2.1",
"@react-native-async-storage/async-storage": "^1.24.0",
"@react-native-community/geolocation": "^3.4.0",
"@react-native-community/netinfo": "^11.3.1",
"@react-native/new-app-screen": "0.82.1",
"lynkeduppro-login-sdk": "^0.1.9",
"react": "19.1.1",
"react-native": "0.82.1",
"react-native-maps": "^1.26.20",
"react-native-permissions": "^5.4.4",
"react-native-safe-area-context": "^5.5.2"
},
"devDependencies": {
@@ -41,4 +45,4 @@
"engines": {
"node": ">=20"
}
}
}