What do you use for testing cordova plugins?

I am testing them on my phone. But is there any better and easier way ?


What exactly do you want to test and how?

I was testing network information. It works on my phone but I want to test in browser

What does “in browser” mean?

Cordova is not available when using ionic serve, so plugins are also not available.

What do you mean by “test”? Unit test? Acceptance test? User test? Try it out? Make it work?

With in browser I mean

Native: tried calling SplashScreen.hide, but Cordova is not available.
To work

Like this guy

They run on your Android Phone and use the ADB Extension for Chrome :wink:

You actually don’t need that:
Follow these instructions here to debug the problem in Chrome dev tools: https://ionic.zone/debug/remote-debug-your-app#android