Emil
Emil

Reputation: 6893

How to get Analytics from xamarin.forms application efficiently

I am checking my options for getting user analytics and metrics for Xamarin.Forms application.

Hockeyapp, Application insight, Visual Studio App Center etc are top providers but I am skeptical to use them. I cant find any information how do they effect performance of android/ios application. They dont expose any asynchronous method. So I cant run them separately on another thread.

what is even happening if user doesnt have internet connection? Does it try to send analytic until it gets timeout?

UPDATE:

I was using xamarin insight and recently I removed it and I recognized that Xamarin insight is increasing start up time between 2-3 secs to initialize it. my app size is reduced also 3-5 mb. I dont recommend using Xamarin insight even though it is deprecated now.

Upvotes: 1

Views: 1041

Answers (3)

pinedax
pinedax

Reputation: 9346

Although HockeyApp and Xamarin Insights are the preferred you are not tied to these solutions when it comes to Analytics. In a Xamarin Application you will can still use Google Analytics or the "brand new" Firebase as well as the AWS solution.

You can do your own research to find out which one better fits your needs.

Upvotes: 2

Ivan I
Ivan I

Reputation: 9990

First of all every new feature you add to the app is something that will slow its startup performance, increase memory usage. It is up to you to decide whether it may or may not bring the value to the user, it is not a question for StackOverflow as it would be closed as 'opinion based'.

All the solutions that you mention above are now owned by Microsoft and they will all become deprecated in favor of Visual Studio Mobile Center. So if you decide to use something you should definitely use that and not the things that you have mentioned.

Other than that, there is an API to check whether the connection is available and for the app to react when it becomes available. Whether Mobile Center implements that? I can't tell you, but it would be way too rookie if it doesn't.

Upvotes: 1

Nurhak Kaya
Nurhak Kaya

Reputation: 1781

Firstly; as you can see here; Xamarin Insights will merge with HockeyApp over the next few months so you will be able to use the same platform both for getting things like user analytics and metrics and the things like exceptions for your Xamarin App.

Secondly; according to Xamarin Insights Life Cycle if the application doesn not have an open internet connection, the Xamarin Insights data is logged locally on the device. Later when a network connection is re-established, the log data is transmitted to the Xamarin Insigths web server.

Finally I have been using both HockeyApp and Xamarin Insights for a while and it works pretty good and it will be better since Microsoft has started to improve it, for more details please see this documentation.

Upvotes: 2

Related Questions