Unable to take new photos when app has been put in background (iOS)
When first running the app with the plugin it works to take pictures that is saved to gallery - and I am notified each time through photoCapturedEvent. However when the app has been put in background and revisited - no photos can be taked.
I get the following log though:
CONSOLE LOG file:///node_modules/@nstudio/nativescript-camera-plus/camera-> plus.common.js:17:0 NativeScript-CameraPlus --- CameraPlus takePic options:,
each time I attempt taking photo. But photoCapturedEvent is not fired and no photo is saved to gallery.
A workaround I found was to via application lifecycle create a new instance of CameraPlus for each new application resume event
A workaround I found was to via application lifecycle create a new instance of CameraPlus for each new application
resumeevent
Can I have an example? After all, the instance is created in onCameraLoaded