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
{{ message }}
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.
It looks like the www folder is hardcoded, projects using capacitor can use Cordova plugins, but it ends up in assets/public. This leads to the plugin not working because it can't find it. Would be cool to make this adjustable to that it can look into the public folder and use the rest of the ionic/capacitor toolchain to put the manifest.json into the right place.
context.getAssets().open("www/manifest.json");
As a workaround I now just copy the file into that assets/www folder as a custom build step in my npm scripts.
The text was updated successfully, but these errors were encountered:
I created a symlink (ln -s www public) and checked it into version control, but I agree it would be nice if it looked in public too. I created a ticket a Capacitor repo to have better compatibility with cordova plugins: ionic-team/capacitor#1808
It looks like the
www
folder is hardcoded, projects using capacitor can use Cordova plugins, but it ends up inassets/public
. This leads to the plugin not working because it can't find it. Would be cool to make this adjustable to that it can look into thepublic
folder and use the rest of theionic
/capacitor
toolchain to put themanifest.json
into the right place.As a workaround I now just copy the file into that
assets/www
folder as a custom build step in my npm scripts.The text was updated successfully, but these errors were encountered: