mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 20:59:00 +00:00
Add additional info to crashlytics crashreports
This commit is contained in:
parent
02ffe612ab
commit
4ae217aff5
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ public class APIHelper implements ErrorHandler, Profiler {
|
|||
//private HostConfig mConfig;
|
||||
public APIHelper(final HostConfig cfg) {
|
||||
this.cfg = cfg;
|
||||
Crashlytics.getInstance().core.setUserIdentifier(cfg.getUser());
|
||||
Crashlytics.getInstance().core.setUserName(cfg.getUser());
|
||||
Amplitude.getInstance().setUserId(cfg.getUser());
|
||||
|
||||
RequestInterceptor requestInterceptor = new RequestInterceptor() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue