cmackay / google-analytics-plugin

Cordova Google Analytics Plugin for Android & iOS
Apache License 2.0
89 stars 43 forks source link

Integration with Adobe PhoneGap build #40

Closed jeresiv closed 9 years ago

jeresiv commented 9 years ago

Can this plugin be available through Phonegap build: https://build.phonegap.com/

cmackay commented 9 years ago

The plugin is in the cordova repository but it looks like the phonegap repository requires a paid subscription to upload plugins. :( Seems odd. https://build.phonegap.com/plans If you have an account and want to upload it you are welcome to.

Thanks!

-Craig

cmackay commented 9 years ago

Also, I sent an email to Adobe that they should review their policy when it come to open source projects submitting plugins. I will let you know if I hear back from them.

jeresiv commented 9 years ago

Thanks Craig!

I have a paid subscription but when I attempt to add your plugin is says that a plugin with your name already exists. My guess is someone has uploaded your plugin privately. I will also contact Adobe to see what they can do.

zigzag-way commented 9 years ago

Hi guys! How can we go ahead with this issue? May be we can find someone from Adobe-PhoneGap team?

cmackay commented 9 years ago

Hi @zigzag-way! Yeah if you want to try submitting it to the repository, give it a try or feel free to follow up with Adobe. I sent an email to Adobe a month ago but I have not received a response.

Thanks,

-Craig

cmackay commented 9 years ago

Thanks @zigzag-way for the additional info regarding plugin submission that you posted in a different issue #41. I wonder if that works for unpaid subscribers as well. The main thing I have been referring to regarding plugin submission is the https://build.phonegap.com/plugins page where it says "Please upgrade your PhoneGap Build account to submit a plugin." and the page https://build.phonegap.com/ in the plan section where it says upload plugins NO. But it does say that it supports plugins from third party repositories like the Cordova repository where this is already registered. How come you cant use this plugin from the Cordova repository? Does that work for you?

cmackay commented 9 years ago

@zigzag-way I was reading through the page you sent in more detail and it says that plugins.cordova.io is deprecated. I wasn't aware of that. I will try to look into this more over the next few days so hopefully I can get this resolved soon by either publishing to phonegap or npm. Thanks!

jeresiv commented 9 years ago

So I got a response from the PhoneGap team and apparently if you add the plugin on npm it will be accessible through PhoneGap build.

cmackay commented 9 years ago

Thanks @jeresiv! I will add it hopefully later on today.

cmackay commented 9 years ago

I added the plugin to npm using the instructions from:

https://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html

package is available at:

https://www.npmjs.com/package/com.cmackay.plugins.googleanalytics

Let me know if there are any issues using it in the adobe phone build.

cmackay commented 9 years ago

Also when testing it out with the phonegap build, be sure to include the source attribute:

<gap:plugin name="com.cmackay.plugins.googleanalytics" source="npm" />

zigzag-way commented 9 years ago

Yahoo!!! It is working now!!! Thx a log Craig!

zigzag-way commented 9 years ago

Btw guys, has anyone seen the cordova\phonegap plugin to find the list of installed\running app on ios?

cmackay commented 9 years ago

@zigzag-way Glad everything is working. :)

I am not familiar with a plugin for listing apps. I would think there might be one but I haven't used one.

jeresiv commented 9 years ago

Yep thanks a lot Craig, love the plugin =)

cmackay commented 9 years ago

Thanks @jeresiv :)