mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
add uuid to crashlytics [#201]
This commit is contained in:
parent
3b6bb4439f
commit
400debd529
1 changed files with 4 additions and 1 deletions
|
|
@ -130,11 +130,14 @@ public class MainActivity extends AppCompatActivity implements HabitRPGUserCallb
|
|||
|
||||
this.hostConfig = PrefsActivity.fromContext(this);
|
||||
HabiticaApplication.checkUserAuthentication(this, hostConfig);
|
||||
|
||||
// Add uuid to crashes
|
||||
crashlytics.core.setString("uuid", hostConfig.getUser());
|
||||
|
||||
HabiticaApplication.ApiHelper = this.mAPIHelper = new APIHelper(this, hostConfig);
|
||||
|
||||
new Select().from(HabitRPGUser.class).where(Condition.column("id").eq(hostConfig.getUser())).async().querySingle(userTransactionListener);
|
||||
|
||||
|
||||
if (toolbar != null) {
|
||||
setSupportActionBar(toolbar);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue