Cordova plugin not working: cordova-plugin-inapppurchase
See original GitHub issuecordova-plugin-inapppurchase has a hardcoded (native layer) requirement of a file existing at www/manifest.json
, but when using Capacitor the location is at public/manifest.json
.
Native layer code:
context.getAssets().open("www/manifest.json");
Could Capacitor add a symlinked dir (www
-> public
) for better compatibility or maybe a way to configure the Android webdir to www
?
Edit: I guess in my case I can easily add the symlink myself and check it into version control, but maybe other cordova plugins relies on assets being located in www
and it would be an easy way to make those plugins compatible out of the box.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Issues · j3k0/cordova-plugin-purchase - GitHub
In-App Purchase for Cordova on iOS, Android and Windows - Issues ... Failed to resolve entry for package "cordova-plugin-purchase".
Read more >Cordova Plugin Purchases (RevenueCat Plugin) not working ...
I have installed cordova-plugin-purchases on my app which works fine on the Android version. On iOS while I am following all the ...
Read more >iOS IAP cordova-plugin-inapppurchase - Apple Developer
I keep getting the following error when I try to pay() (using inapppurchase plugin for cordova) for an IAP in the App store:....
Read more >cordova-plugin-purchase - npm
Cordova Purchase plugin for iOS, Android, Windows (AppStore, Play, UWP). ... Start using cordova-plugin-purchase in your project by running `npm i ...
Read more >In App Purchase 2 | Ionic Documentation
Don't waste precious time on plugin issues. ... npm install cordova-plugin-purchase $ npm install @awesome-cordova-plugins/in-app-purchase-2
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
for solving this issue you must change node-modules, in this regard go to file “inAppBillingV3.java” and search “manifest”. in line 69 change “www/manifest.json” to “public/manifest.json”. rebuild ionic
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.