summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.Android
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2016-03-24 16:15:33 +0000
committerRui Marinho <me@ruimarinho.net>2016-03-24 16:15:33 +0000
commita9e90a88ed401a8605b9798d4566d09a7192e280 (patch)
tree69220d65fd919da0160203337d7ca3e8770df645 /Xamarin.Forms.ControlGallery.Android
parent2cb7e5363daba65ff73ee5edea4ce311af24269c (diff)
parent1200fcce1b80c1ef70a06a0dfedb76ab13b0264e (diff)
downloadxamarin-forms-a9e90a88ed401a8605b9798d4566d09a7192e280.tar.gz
xamarin-forms-a9e90a88ed401a8605b9798d4566d09a7192e280.tar.bz2
xamarin-forms-a9e90a88ed401a8605b9798d4566d09a7192e280.zip
Merge pull request #7 from xamarin/android-legacy-insights
[A] Fix insights api key access for Legacy Android
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Android')
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Activity1.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Activity1.cs b/Xamarin.Forms.ControlGallery.Android/Activity1.cs
index 3426ce21..9dbd4b63 100644
--- a/Xamarin.Forms.ControlGallery.Android/Activity1.cs
+++ b/Xamarin.Forms.ControlGallery.Android/Activity1.cs
@@ -188,7 +188,7 @@ namespace Xamarin.Forms.ControlGallery.Android
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);