josemolmomillan opened a new issue #708:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/708
# Bug Report
## Problem
I have a phonegap app using inappbrowser plugin loading an external
webportal. This webportal is using in a iframe (uri in the same domain) a js
app for chat and videoconference.
All permissions for Android, WebApp, and iframe are setup in the different
layers: phonegap app, webportal and subportal-iframe.
IF the app is built as Debug mode in PGB, Camera Access and Webrtc in iframe
is working perfectly.
When I built the application as Release/SignedByKey in PGB, camera and
webrtc IS NOT working
In order to grant the application permissions, I have added the following
code in src/android/InAppChromeClient.java
@Override
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public void onPermissionRequest(PermissionRequest request) {
request.grant(request.getResources());
}
Built app as debug mode works fine, BUT not app as Release mode.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]