app.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "expo": {
  3. "name": "Sample App",
  4. "slug": "sample-app",
  5. "version": "3.0.0",
  6. "orientation": "portrait",
  7. "icon": "./assets/images/icon.png",
  8. "scheme": "sampleapp",
  9. "userInterfaceStyle": "automatic",
  10. "newArchEnabled": true,
  11. "ios": {
  12. "bundleIdentifier": "com.example.app",
  13. "infoPlist": {
  14. "UIBackgroundModes": [
  15. "remote-notification"
  16. ],
  17. "NSAppTransportSecurity": {
  18. "NSAllowsArbitraryLoads": true
  19. },
  20. "NSLocationWhenInUseUsageDescription": "The app uses your location so you can share your current location when posting content.",
  21. "NSCameraUsageDescription": "The app takes picture to publish it on the site or use for video chat",
  22. "NSPhotoLibraryAddUsageDescription": "The app can save photos to your photo gallery",
  23. "NSMicrophoneUsageDescription": "The app records video to publish it on the site or use it for video/audio chat"
  24. },
  25. "entitlements": {
  26. "aps-environment": "development",
  27. "com.apple.security.application-groups": [
  28. "group.${ios.bundleIdentifier}.onesignal"
  29. ]
  30. },
  31. "supportsTablet": true
  32. },
  33. "android": {
  34. "package": "com.example.app",
  35. "adaptiveIcon": {
  36. "backgroundColor": "#E6F4FE",
  37. "foregroundImage": "./assets/images/android-icon-foreground.png",
  38. "backgroundImage": "./assets/images/android-icon-background.png",
  39. "monochromeImage": "./assets/images/android-icon-monochrome.png"
  40. },
  41. "permissions": [
  42. "CAMERA",
  43. "ACCESS_FINE_LOCATION",
  44. "ACCESS_COARSE_LOCATION"
  45. ],
  46. "edgeToEdgeEnabled": true,
  47. "predictiveBackGestureEnabled": false
  48. },
  49. "plugins": [
  50. [
  51. "onesignal-expo-plugin",
  52. {
  53. "mode": "development"
  54. }
  55. ],
  56. "expo-router",
  57. [
  58. "expo-splash-screen",
  59. {
  60. "image": "./assets/images/splash-icon.png",
  61. "imageWidth": 200,
  62. "resizeMode": "contain",
  63. "backgroundColor": "#ffffff",
  64. "dark": {
  65. "backgroundColor": "#000000"
  66. }
  67. }
  68. ]
  69. ],
  70. "experiments": {
  71. "typedRoutes": true,
  72. "reactCompiler": true
  73. }
  74. }
  75. }