Ver Fonte

androoid permission

Viktoriia há 1 mês atrás
pai
commit
676f5893d9
1 ficheiros alterados com 5 adições e 1 exclusões
  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: [