Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from xamarin/android-legacy-insights
Browse files Browse the repository at this point in the history
[A] Fix insights api key access for Legacy Android
  • Loading branch information
rmarinho committed Mar 24, 2016
2 parents 2cb7e53 + 1200fcc commit a9e90a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.ControlGallery.Android/Activity1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a9e90a8

Please sign in to comment.