Skip to content

Capacitor seems like to not install Userbase Cordova Plugin #4425

Answered by jcesarmobile
julien040 asked this question in General
Discussion options

You must be logged in to vote

This is a Capacitor bug.
To speed things up, Capacitor injects Cordova plugin files, but only do it for files in "plugins" folder.
userbase plugin copy a file to a node_modules folder, so it doesn't get injected, and the other plugin injected file depends on this one, since it's not injected it doesn't find the module.

I don't thin we will fix it as it would require injecting the node_modules folder and people might have other files there that are not part of Cordova plugins.

Try reporting an issue on their repository and ask if they can distribute this file from www folder instead of from node_modules
https://github.com/smallbets/userbase/blob/master/src/cordova-plugin-userbase/plugin.xm…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@julien040
Comment options

@jcesarmobile
Comment options

Answer selected by julien040
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants