I'm using AppCenter.ms to track custom events and I'd rather push all the events **from the server ( .net core) **instead of doing it from the app side.
This is to avoid storing the appcenter secret key on the phone and risking someone getting hold of it as it is a publicly available app.
The idea is to use
(In Startup.cs - Asp.net Core)
AppCenter.Start("SECRETHERE", typeof(Analytics), typeof(Crashes));
When the app makes a call to one of the controllers
Analytics.TrackEvent("EVENTNAME","DATA) from the server side.
This doesn't work ( nothing appears in the analytics window, but it doesn't crash either)
I've been unable to find any documentation about it online. What I am also finding strange is that the app center documentation example makes no attempt to atleast store it secretly ( althought to be fair it is just a simple example ).