NTP-70754 | pop up on open map in mav view
This commit is contained in:
@@ -55,6 +55,7 @@ public class DeviceUtilsModule extends ReactContextBaseJavaModule {
|
||||
private File imageFile;
|
||||
|
||||
private int WHATSAPP_SHARE_REQUEST_CODE = 12345;
|
||||
public static String agentId = "";
|
||||
|
||||
public DeviceUtilsModule(@Nullable ReactApplicationContext reactContext) {
|
||||
super(reactContext);
|
||||
@@ -208,6 +209,7 @@ public class DeviceUtilsModule extends ReactContextBaseJavaModule {
|
||||
if (isAlfredEnabledFromFirebase) {
|
||||
AlfredManager.INSTANCE.getConfig$navi_alfred_release().setUserId(userId);
|
||||
}
|
||||
DeviceUtilsModule.agentId = (userId != null) ? userId : "";
|
||||
PulseManager.INSTANCE.setUserId(userId);
|
||||
}
|
||||
|
||||
|
||||
@@ -190,7 +190,8 @@ public class MainApplication extends Application implements ReactApplication, Ap
|
||||
anrEventProperties.put("isNae", "true");
|
||||
anrEventProperties.put("errorTitle", "Something went wrong");
|
||||
anrEventProperties.put("vertical", "COLLECTIONS_FIELD");
|
||||
|
||||
anrEventProperties.put("sessionId", DeviceUtilsModule.agentId);
|
||||
|
||||
if (isAlfredEnabledFromFirebase && AlfredManager.INSTANCE.isAlfredRecordingEnabled()
|
||||
&& alfredConfig.getAnrEnableStatus() && isAppInForeground()) {
|
||||
anrEventProperties.put(STACK_TRACE, "ANR_OCCURRED");
|
||||
@@ -221,7 +222,8 @@ public class MainApplication extends Application implements ReactApplication, Ap
|
||||
crashEventProperties.put("isNae", "true");
|
||||
crashEventProperties.put("errorTitle", "Something went wrong");
|
||||
crashEventProperties.put("vertical", "COLLECTIONS_FIELD");
|
||||
|
||||
crashEventProperties.put("sessionId", DeviceUtilsModule.agentId);
|
||||
|
||||
if (isAlfredEnabledFromFirebase && AlfredManager.INSTANCE.isAlfredRecordingEnabled()
|
||||
&& alfredConfig.getCrashEnableStatus() && isAppInForeground()) {
|
||||
StackTraceElement stackTraceElement = exception.getStackTrace()[0];
|
||||
|
||||
Reference in New Issue
Block a user