When I build on PGB, I get the error: plugin unsupported: cordova-plugin-inapppurchase
I'm trying to use this plugin:
https://github.com/AlexDisler/cordova...
I uploaded it as a private plugin.
For some reason I can't use tags, but I tried the following (with tags of course)
gap:plugin name="cordova-plugin-inapppurchase" spec="0.6.0" source="pgb"
gap:plugin name="cordova-plugin-inapppurchase" source="pgb"
I'm trying to use this plugin:
https://github.com/AlexDisler/cordova...
I uploaded it as a private plugin.
For some reason I can't use tags, but I tried the following (with tags of course)
gap:plugin name="cordova-plugin-inapppurchase" spec="0.6.0" source="pgb"
gap:plugin name="cordova-plugin-inapppurchase" source="pgb"
- 22 Posts
- 0 Reply Likes
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Not a direct answer, but....
wouldn't you rather use this: https://www.npmjs.com/package/cordova...
wouldn't you rather use this: https://www.npmjs.com/package/cordova...
- 22 Posts
- 0 Reply Likes
I originally forked my own github so I'd have a copy even if the original was removed.
I tried the NPM though... and... it worked!!!! Wow.
So the issue is in the private plugins. It's odd though, cause I was able to add other private plugins and use them.
i <3 petra
I tried the NPM though... and... it worked!!!! Wow.
So the issue is in the private plugins. It's odd though, cause I was able to add other private plugins and use them.
i <3 petra
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@ Caleb,
it is advised that you move away from that syntax for plugins. The new syntax is preferable. Read the docs.
Jesse
it is advised that you move away from that syntax for plugins. The new syntax is preferable. Read the docs.
Jesse
- 22 Posts
- 0 Reply Likes
Thanks Jesse and Petra for your help.
I noticed the deprecation too when uploading the private plugin.
I never used NPM before phonegap. I couldn't figure out how to upload to NPM so I didn't do it. Guess I'm retarded :/
Currently too busy to spend too much time on it, but I'll figure it out someday.
I noticed the deprecation too when uploading the private plugin.
I never used NPM before phonegap. I couldn't figure out how to upload to NPM so I didn't do it. Guess I'm retarded :/
Currently too busy to spend too much time on it, but I'll figure it out someday.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
If you don't read the docs, you will get no sympathy from us. If you don't read the docs you will be back again and again to fix problems you could avoid by reading the docs.
Best of Luck
Jesse
Best of Luck
Jesse
- 22 Posts
- 0 Reply Likes
gap:plugin vs plugin makes no difference as far as the error if that's what you're referring to
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
Only advice. You should make up your own mind about your time.
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers



