Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic missing InAppBrowser plugin error When doing custom authentication

I've created an Ionic app and I'm trying to use the Custom Authentication option eg. Ionic.Auth.login('custom', authOptions, data).then(success, failure); However, I get an error message in the failure saying "Missing InAppBrowser plugin". The plugin is installed and I've tried to uninstall and reinstall the plugin with no luck. When I use 'basic' the request goes through fine.

How do I fix this or get around it?

enter image description here

like image 343
Aldracor Avatar asked Sep 10 '26 17:09

Aldracor


1 Answers

Plugins only work when running in native devices. You can't use them on browser with ionic serve.

You may want to start testing on a real android device or emulator.

Alternatively, there's a chrome plugin called Ripple that emulate an real devices with native-like features, allowing you to use some plugins on browser.

like image 174
Italo Ayres Avatar answered Sep 12 '26 17:09

Italo Ayres



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!