Open maciejswis opened 6 years ago
Thanks for reporting this. Looks like you have a special use case, I don't have time to implement it, feel free to send a PR to improve it.
Thanx for this plugin sir!.
@maciejswis if you still need a way around this issue, you can try setting toBack
to false
in CameraPreviewOptions
.
Thanks for hint @inicklas, unfortunately in our case we want to use toBack with true.
Anyhow thanks.
same for us too, thanks @maciejswis for pointing it out we might replace admob banner by something else..
Hi, We are using your plugin and all works pretty well. Unfortunately we encounter a problem, once one would start the camera - using the cordova-plugin-camera-preview plugin - the banner is not shown any more. The scenario is: we have a banner on one page (home), and user can go to other page with camera preview, after he comes back to home page banner is gone. It is working correctly for other pages. In home page we are calling on init
and on destroy
return admob.banner.remove();
There are no errors in console during debugging. What I can see is crash (error) report from google play console:$ cordova platform list
cordova-admob-sdk 0.11.1 "AdMob SDK" cordova-plugin-admob-free 0.11.0 "Cordova AdMob Plugin" cordova-plugin-camera-preview 0.9.0 "cordova-plugin-camera-preview" . . .
$ cordova --version 7.1.0
BTW When I change configuration and set
overlap: true
problem disappears, but that is not what I need - I would like to have turned off deliberately.