Reputation: 11712
I'm developing crossplatform application with Xamarin + MvvmCross and wondering is there any cross-platform implementation of Google Analytics (suitable for Portable Class Libs)?
Or should I create an abstraction of analytics service and add native implementation for each platform?
Thank you for any suggests.
Upvotes: 0
Views: 927
Reputation: 66882
suitable for Portable Class Libs?
No, the analytics providers all provide native libraries.
Should I create an abstraction of analytics service and add native implementation for each platform?
Yes - this is the way I'd go.
I've previously done this for Flurry Analytics - see http://slodge.blogspot.co.uk/2012/04/using-flurry-analytics-from-monotouch.html - would be great to see someone share the same for other analytics providers
Upvotes: 1