Skip to content

belemaire/camera-miniapp

Repository files navigation

Camera MiniApp

This is a quick demo of react-native-camera native module.

Requirements

  • ern >= 0.41.1

Steps

  • yarn install
  • ern run-android

You must grant camera permission to the application, otherwise it won't work. To do this just go to app info > permissions > camera.

The application code is just a copy/paste of the Basic example of react-native-camera repository. Just had to get rid of a section dynamically asking for the camera permission because it result in yellow warning Tried to use permissions API but the host Activity doesn't implement PermissionAwareActivity and just makes the app keep spinning forever. We will have to look as to why this is causing this warning as our base miniapp activity is implementing PermissionAwareActivity in container ... so not clear why its failing, but its a bummer as we have to manually turn the camera permission in app settings.

About

react-native-camera sample miniapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published