Explorar o código

androoid permission

Viktoriia hai 1 mes
pai
achega
676f5893d9
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      app.config.ts

+ 5 - 1
app.config.ts

@@ -141,8 +141,12 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
       'CAMERA',
       'MODIFY_AUDIO_SETTINGS',
       'FOREGROUND_SERVICE',
-      'READ_MEDIA_VIDEO'
+      'READ_MEDIA_VIDEO',
+      'FOREGROUND_SERVICE_LOCATION'
     ],
+    foregroundService: {
+      type: 'location'
+    },
     versionCode: 90 // 2.0.35, last version sent to Google is 89 (2.0.34)
   },
   plugins: [