Community
cancel
Showing results for 
Search instead for 
Did you mean: 
46 Views

plugins doesn't import

Hello,

today i lost a lot of time trying to get many plugins insde my project:

iap, admob, push...

i'm just following normal step as, clicing on Add Plugins to this Project,

then thirdd-Party Plugins from Git repo and pasting Url and Add

 

it loads, then close, and i see nothing added in my project, neither in the plugins folder.

Tags (2)
0 Kudos
5 Replies
PaulF_IntelCorp
Employee
46 Views

Anthony -- are you able to add any of the core plugins or the featured plugins into your project? If those work, then I suspect there is something wrong with the way you are specifying the third-party plugins you are trying to add. Please provide some details regarding the plugins you are trying to add. Best would be a screen shot of the plugin add screen just before you click the "Add Plugin" button.

If you are not able to add any of the core or featured plugins then something else is wrong.

0 Kudos
46 Views

i can't add any plugin tested on battery and others without result.

i used:

https://github.com/cranberrygame/cordova-plugin-payment-iap

and

https://github.com/cranberrygame/phonegap-plugin-ad-admob

While downloading one of them, Billing Key is requiered, (i'm not totaly sure if i'm pasting the right one attached a screen)

so i paste it, and it close without adding anything to my project.

after that i can try to add anyplugs, it will not work more.

i have to reboot my computer to be able to enter the billing-key again.

 

0 Kudos
PaulF_IntelCorp
Employee
46 Views

Anthony -- I'm still unclear as to where you are in the process and what the problem is. Are you unable to install any plugins or is the problem with a specific plugin.

Please try this simple experiment, first:

  • create a new project using the Cordova blank template (start a new project > html5 compantion hybrid mobile or web app > templates > blank > html5+cordova > continue > test-blank)
  • from within your new "test-blank" project, add the battery "core" plugin (projects tab > plugin management > add plugins to this project > core plugins > battery > add plugin)

Does the experiment above work?

0 Kudos
46 Views

Hi Paul,

By constructing a Blank project and adding battery plugin to it, worked.

i immediately tryied to import the same plugin into my project, and i got this:

Screenshot at 2016-12-10 12 49 31.png

Ok, it is related to iap, but well, the plugin is not listed and nowere in the directories.

0 Kudos
46 Views

i finally solved the import problem by using and importing this plugin 

 

 --> https://github.com/maxmoore14/AndroidInAppBilling

now i can add battery and others without problem

 

thanks

0 Kudos