Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones #35

Merged
merged 9 commits into from
Jul 8, 2021

Conversation

Clovel
Copy link

@Clovel Clovel commented Jun 14, 2021

What I did

  • Replaced "www/" package paths by "public/". Cordova used to use "www/" paths whereas Capacitor uses "public/".
  • Updated the README.md's instructions accordingly.

Bonus

  • Updated the CONTRIBUTING.md instructions on what files to edit when contributing.
  • Fixed unit tests by implementing a missing function in testUtils.ts.

What I tested

  • CodePush + Capacitor + Ionic + React
  • Tested on Android (for now. iOS test coming soon.)

@Clovel Clovel changed the title [Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones [Fixes mapiacompany#33] Replaced "www/" Cordova paths by Capacitor's "public/" ones Jun 14, 2021
@Clovel Clovel changed the title [Fixes mapiacompany#33] Replaced "www/" Cordova paths by Capacitor's "public/" ones [Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones Jun 14, 2021
@Clovel
Copy link
Author

Clovel commented Jun 16, 2021

We should link this w/ issue #33.

@Clovel
Copy link
Author

Clovel commented Jun 16, 2021

Setting this MR as WIP. Latest iOS test shows that my fixes aren't sufficient.

To be clear :

  • This works on Android
  • This does not work on iOS 14.5

@Clovel Clovel changed the title [Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones [WIP][Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones Jun 16, 2021
@o-alexandrov
Copy link

closes #33 #21
it'll probably close #21 also, as it seems to have the same path-related issues

@Clovel Clovel changed the title [WIP][Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones [Fixes #33] Replaced "www/" Cordova paths by Capacitor's "public/" ones Jun 21, 2021
@Clovel Clovel force-pushed the fix/wwwToPublic branch from c3c28dd to d4015b3 Compare June 23, 2021 15:56
@leo6104 leo6104 merged commit 112a3ff into mpaghq:main Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants