Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

feature request: configurable place for manifest.json #268

Open
jhoogeboom opened this issue Apr 9, 2019 · 4 comments
Open

feature request: configurable place for manifest.json #268

jhoogeboom opened this issue Apr 9, 2019 · 4 comments

Comments

@jhoogeboom
Copy link

jhoogeboom commented Apr 9, 2019

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.

@biesbjerg
Copy link

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

@bentzibentz
Copy link

@biesbjerg where do you create the symlink?

@Tochukwuibe
Copy link

@biesbjerg How exactly did you do the symlink?

@oneEyedSunday
Copy link

@Tochukwuibe see this #59 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants