alexandrampolta commented on PR #968:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/pull/968#issuecomment-2302810199

   Solution worked for me , for camera access 
   Step 1 : 
   cordova plugin add cordova-plugin-android-permissions
   
   With in your index.js
   
    var permissions = cordova.plugins.permissions;
   permissions.requestPermission(permissions.CAMERA, success, error);
   function error() {
   console.warn('Camera permission is not turned on');
   }
    function success( status ) {
     console.log(status);
    }
    
    
    
    Step 2 : 
    cordova plugin remove cordova-plugin-inappbrowser
    
    
    step 3 :
    cordova plugin add 
https://github.com/apache/cordova-plugin-inappbrowser.git (it's same library 
but looks like it's updated)
    
    step 4: 
   cordova build android --packageType=apk
   Build your app normally 
    


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to