kriserickson / cordova-piwik-plugin

Piwik Plugin for Apache Cordova
4 stars 0 forks source link

Piwik Event Tracking Not Working in Android #3

Open SatadruBhattacharjee opened 9 years ago

SatadruBhattacharjee commented 9 years ago

It's not related to you Plugin, In General I have noticed that the Piwik Event Tracking is not working in the Android Device (With or without your Cordova Plugin). The Same code works Perfectly in WebApp. Any Idea .... configuration in security policy to make it work in android.

Thanks in advance Sat

WuglyakBolgoink commented 7 years ago

@SatadruBhattacharjee any news?

cordovapolymer commented 7 years ago

@WuglyakBolgoink did you check if it works? )

WuglyakBolgoink commented 7 years ago

@cordovapolymer on me it doesn't work... Tested on cordova+Crasswalk and cordova+WkWebView...

cordovapolymer commented 7 years ago

@WuglyakBolgoink why don't you use piwik javascript API directly?

kriserickson commented 7 years ago

@cordovapolymer @WuglyakBolgoink sorry for not replying to this. I switched from using Piwik to Fabric (https://github.com/sarriaroman/FabricPlugin) a while ago so this project is kinda abandoned. It definitely was working, but getting working on iOS was such a pain because it was not scriptable to add a database. Never had any issues with Android, but that is just my usage. The reason to use the plugin rather than javascript directly was that the plugin could send data more efficiently and when the device was about to sleep and such. You could probably do such things with Cordova lifecycle events but it would have been work. This plugin was literally written in an hour or so and it had just worked, but fabric gives us a lot better insight and is designed for mobile rather than having a mobile solution hacked into it.

WuglyakBolgoink commented 7 years ago

@kriserickson

ok , thanks for Info. I use now JS-tracking. Work fine!

ticket can be closed :)

cordovapolymer commented 7 years ago

@kriserickson thanks for a broad answer, I've checked-out fabricplugin, but it's not opensource, so Piwik js-tracking is still better for my case.