Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #76 from bitstadium/fix/readme-crashmanager-android
Browse files Browse the repository at this point in the history
Fix Sample Code for Android CrashManager setup
  • Loading branch information
Benjamin Scholtysik (Reimold) authored Apr 4, 2017
2 parents 5ff49c6 + 75d82e9 commit c66f40f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ using HockeyApp.Android;

namespace YourNameSpace {

[Activity(Label = "Your.App", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity {
protected override void OnCreate(Bundle savedInstanceState) {
base.OnCreate(savedInstanceState);
// ... your own OnCreate implementation
CrashManager.Register(this, "$Your_App_Id");
[Activity(Label = "Your.App", MainLauncher = true, Icon = "@mipmap/icon")]
public class MainActivity : Activity {
protected override void OnResume ()
{
base.OnResume ();
CrashManager.Register(this, HOCKEYAPP_APPID);
}
}
}
}
```

Expand Down

0 comments on commit c66f40f

Please sign in to comment.