You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permission Issue with Android : I have this issue on Detox 18.13.0, React Native 0.63.4, API 30 for my Android emulator. It works perfectly for camera permission on iOS but on Android, whatever I set NO or YES on permissions, they are always enabled.
If I change theses permissions on the app before launching detox test, all permissions are enabled again. @noomorph@d4vidi
The text was updated successfully, but these errors were encountered:
beforeAll(async () => {
await device.launchApp({newInstance: true, permissions: {camera: ‘NO’}});
await device.launchApp({ permissions : { location: ‘always’ }})
await device.launchApp({ permissions : { notifications: ‘YES’ }})
});
So here camera permissions is not taking NO permission, always camera is shown in YES state when detox test is run @noomorph@d4vidi
Hey @rajithaswoop, unfortunately, the permissions argument to launchApp() is only applicable on iOS, at the moment. You are welcomed to follow this issue for support on Android, in the future. We also accept contributions 😄
Permission Issue with Android : I have this issue on Detox 18.13.0, React Native 0.63.4, API 30 for my Android emulator. It works perfectly for camera permission on iOS but on Android, whatever I set NO or YES on permissions, they are always enabled.
If I change theses permissions on the app before launching detox test, all permissions are enabled again.
@noomorph @d4vidi
The text was updated successfully, but these errors were encountered: