-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fixes #55] added support for enableAdvertisingIdCollection(boolean) #63
Conversation
…boolean) to support display advertisement features
Thanks! I plan to verify the changes as soon as I have a free moment... |
@danwilson Thanks for the feedback. Actually, I don't think the plugin should include this file automatically, because not everyone might want to include the Demographics tracking (I read Apple checks usage of this feature especially). Is there way for conditional inclusion? |
Very good point... I will research the best way to handle that. I know there are also command line options you can enable to be specified when a user adds the plugin... will need to see if that suits this case. |
Unless I am mistaken, the method enableAdvertisingIdCollection() is not present in the Tracker class of libGoogleAnalyticsServices.jar... unlike google-play-services.jar... So, merge that pull request on my fork generates "Cannot find symbol" errors at compilation. |
@Ballrock Loocks like this method was added in SDK version 4, so I guess the library needs to be updated (https://developers.google.com/analytics/devguides/collection/android/v4/#tracking-methods) According to the online docs there, there is no more standalone jar for the Analytics Android SDK, rather users should include the play services library now. Sorry about the incomplete PR then, lets find a solution together and update the PR |
So we can maybe get the lib from import Google Play service for Android via SDK Manager. I don't know if it's standalone but i've got the google-play-service.jar with the needed method at But it seems that we need a little work to adapt the plugin to this new SDK library. I will look at it in more detail tonight. PS : Sorry but I only know about the Android side :(. |
I thought that might be the case with this feature... I am going to create a new issue to update to google play services for android... Which will involve modifying all the calls. We will get that in first and then circle back to this. Thanks! |
Android update PR see #67 |
Now that #67 is merged we can return to this PR ;) |
Awesome guys 💃 Any news about this PR? |
I did some internals testing about this function after #67, it seems that it not work as expected 😞 Someone else tried ? |
+1 this is exactly what i am looking for. any more infos? |
I am also looking for this functionality, are there any news? I tryied with the Ballrock solution but it gives "Invalid action" in console when trying to do enableAdvertisingIdCollection |
Is there any news on this? I'm looking to add this feature to my app. |
Looking for this as well. @danwilson any chance this can get looked at again? |
According to the docs, you also need to link |
This bug it will be solve?.. I have this problem with my implementation of this plugin. |
any updates? |
@mediavrog can you please fix the conflicts? to merge this as soon as possible. |
@mediavrog can you please fix the conflicts? please |
I think this need some tests before any thinking about merge... |
This was already merged #252 |
PR for #55 to support display advertisement features as described in https://support.google.com/analytics/answer/2444872.
Please check the IOS part, since I never touched any IOS project before. Also, what else would be needed to get started with this? The docs stated something about:
I added the
libAdIdAccess.a
manually in the XCode build, and it seemingly works. I will have to verify with data after another 24 hours. Is there any way to add this file automatically during build?