Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How to auto update app from app center in C#?


I have tried my best to follow up on how to distribute using app center, but to no avail.
Here's the code sample where I distribue, all in the mainActivity.

protected override void OnCreate(Bundle savedInstanceState)
            AppCenter.Start("[Key here. Hidden for now]",
                   typeof(Analytics), typeof(Crashes), typeof(Distribute));
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource = Resource.Layout.Toolbar;
            CrossCurrentActivity.Current.Init(this, savedInstanceState);

            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            LoadApplication(new App());

And I just uploaded a new version on the app center, but I get no prompt, no nothing. Anyone that knows what I'm missing is welcome. Thank you


Sign In or Register to comment.