Make Inappbrowser plugin access Cordova API


#1

I have to link to a webpage via inappbrowser plugin
in webpage you can open camera
but in inappbrowser plugin it can not access to cordova api

is there anyway to make inappbrowser access cordova api


#2

No, that’s not really what InAppBrowser is for.


#3

Thank you for your reply!
I know Ionic team is developing capacitor and some plugin with it.
Can you guy make your own inappbrowser plugin to access camera, microphone, … :slight_smile:

Thanks,


#4

they can’t. In app browser is something like opening Chrome inside your app to visit a website. A website cannot access the Cordova API at all.


#5

but cordova-browsertab plugin can access,
it just not always available on all platforms so i can’t use it


#6

But that another different kind of monster. In App Browser plugin just can’t do that as the cordova-browsertab plugin can.

I never even heard of that, might check it out for future use.


#7

thanks you for your info