Skip to content
Discussion options

You must be logged in to vote

It works simply adding the plugin in both environments (capacitor and javascript app).

The plugins of capacitor are enough smart to check the environment of an app, and use the right APIS the browser gives. For example in browser, the Camera plugin can open an UI popup to take a picture, otherwise when the environment is Capacitor, it uses native Camera apis. So really really simple.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Aarbel
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Aarbel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant