matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
388 stars 162 forks source link

No tracking #133

Closed nicolaiendios closed 7 years ago

nicolaiendios commented 7 years ago

I implemented Piwik in my app just like the sample code but it doesn't track anything. Only works on iOS. Are there any known issues with the SDK that make tracking impossible at this moment?

eldk commented 7 years ago

Hello,

I use it since a few weeks, no problem (dev branch).

Have you some Piwik-android-sdk logs ?

Eric

nicolaiendios commented 7 years ago

Hey Eric!

Thanks for the reply. The SDK is not giving me any Logs at all. Should I be getting them automatically or do I have to turn it on?

Thanks Nicolai

eldk commented 7 years ago

Hello,

Have a look here : https://github.com/piwik/piwik-sdk-android#debugging

And here : https://github.com/piwik/piwik-sdk-android/blob/master/exampleapp/src/main/java/com/piwik/demo/DemoApp.java#L37

Without forget this : https://github.com/piwik/piwik-sdk-android/blob/master/exampleapp/src/main/java/com/piwik/demo/DemoApp.java#L16

When logs will be enable things should be clearer.

Thanks,

Eric

nicolaiendios commented 7 years ago

Thanks a lot Eric!

I will try it out and hopefully find my bug.

Cheers Nicolai