phonegap / build

This is the public repository for PhoneGap Build source and bug tracking
92 stars 33 forks source link

[iOS] Analytics plugin not longer works on PhoneGap 2.3.0 #93

Closed amirudin closed 11 years ago

amirudin commented 11 years ago

Analytics plugin not longer works on PhoneGap 2.3.0.

Problem:

1- Google Analatics data isn't coming through anymore. 2- There is no callback to success / fail method.

Step to reproduce:

Change <preference name="phonegap-version" value="x.x.x" /> To <preference name="phonegap-version" value="2.3.0" />

OR

remove the preference completely

Related issue: http://community.phonegap.com/nitobi/topics/build_2_3_and_analytics_plugin?utm_content=topic_link&utm_medium=email&utm_source=reply_notification

bobeast commented 11 years ago

Please provide your app id, and I'll see if I can reproduce the problem with your code.

amirudin commented 11 years ago

Sure Bob,

AppID: 318576 Source: https://github.com/amirudin/pgb-analytic

Thanks!

aaroncrawford commented 11 years ago

I can confirm that this isn't working on iOS. Works on Android, though. See video in the related issue link above.

bobeast commented 11 years ago

Please make the following change to your config.xml

OLD < gap:plugin name="Analytics" />

NEW < gap:plugin name="GAPlugin" />

aaroncrawford commented 11 years ago

Thanks Bob, this has fixed the issue. I'm going to attempt to contact whoever writes the docs and get this updated.