mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +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);
|
this.hostConfig = PrefsActivity.fromContext(this);
|
||||||
HabiticaApplication.checkUserAuthentication(this, hostConfig);
|
HabiticaApplication.checkUserAuthentication(this, hostConfig);
|
||||||
|
|
||||||
|
// Add uuid to crashes
|
||||||
|
crashlytics.core.setString("uuid", hostConfig.getUser());
|
||||||
|
|
||||||
HabiticaApplication.ApiHelper = this.mAPIHelper = new APIHelper(this, hostConfig);
|
HabiticaApplication.ApiHelper = this.mAPIHelper = new APIHelper(this, hostConfig);
|
||||||
|
|
||||||
new Select().from(HabitRPGUser.class).where(Condition.column("id").eq(hostConfig.getUser())).async().querySingle(userTransactionListener);
|
new Select().from(HabitRPGUser.class).where(Condition.column("id").eq(hostConfig.getUser())).async().querySingle(userTransactionListener);
|
||||||
|
|
||||||
|
|
||||||
if (toolbar != null) {
|
if (toolbar != null) {
|
||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue