Xamarin - unable to track referrers with Google Analytics

I'm migration one of my app using Xamarin, and I've faced a problem with referrer tracking using Google Analytics. Google Analytics service is linked correctly with Google Play app (I'm able to track referrer with old version of my app written in Java). Google Analytics works in my app for Activities and Custom Events.

I'm using Xamarin.GooglePlayServices 22.0.0.0.

Here is a part of manifest related to Google Analytics:

<uses-permission android:name="android.permission.INTERNET" />

<service android:name="com.google.android.gms.analytics.CampaignTrackingService" />
<receiver android:name="com.google.android.gms.analytics.CampaignTrackingReceiver" android:exported="true" android:enabled="true">
    <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER" />
    </intent-filter>
</receiver>

Any ideas what might be wrong?

Answers


Looks like the problem was solved in latest release of Xamarin.GooglePlayServices. At the moment the latest version of Xamarin.GooglePlayServices is 25.0.0.0, and referrer tracking works correct with the same configuration as posted in question.


Need Your Help

Using an ampersand in flying saucer

java html pdf flying-saucer xhtmlrenderer

I get the error below when converting to PDF with flying saucer. I've removed the ampersand charector and it worked, so this seems to be the problem. How do I include ampersand's in my PDF documents?

Pex and previously written tests

c# nunit pex

I am working a project with many NUnit tests, that were already written long time ago. What is the best way to run Pex on these tests and extend them? I try to run Pex on the methods that are being