You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not really possible if you want to use the development server from your desktop. If the plugins have been made to support the web browser, you can launch the cordova emulator in web mode. Otherwise you will have to deploy your code to the final platform you are developing for to get access to those plugins.
The way I've been developing is to create a working gui in react and just provide mocking functions so that the gui can be tested. When my code is running on the real device, I have some if-logic to detect this, which then makes use of the actual plugins.
Hi!
Have any ideas how to use cordova plugins inside react?
For example simplest cordova-plugin-device
Trying call like:
But nothing works.
The text was updated successfully, but these errors were encountered: