From 1200fcce1b80c1ef70a06a0dfedb76ab13b0264e Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Wed, 23 Mar 2016 15:07:26 -0600 Subject: [PATCH] [A] Fix insights api key access for Legacy Android --- Xamarin.Forms.ControlGallery.Android/Activity1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xamarin.Forms.ControlGallery.Android/Activity1.cs b/Xamarin.Forms.ControlGallery.Android/Activity1.cs index 3426ce218d9..9dbd4b636f5 100644 --- a/Xamarin.Forms.ControlGallery.Android/Activity1.cs +++ b/Xamarin.Forms.ControlGallery.Android/Activity1.cs @@ -188,7 +188,7 @@ protected override void OnCreate(Bundle bundle) base.OnCreate(bundle); if (!Debugger.IsAttached) - Insights.Initialize(App.InsightsApiKey, this.ApplicationContext); + Insights.Initialize(App.Secrets["InsightsApiKey"], this.ApplicationContext); Forms.Init(this, bundle); FormsMaps.Init(this, bundle);