NTP-70754 | pop up on open map in mav view

This commit is contained in:
aishwarya.srivastava
2025-06-06 15:50:56 +05:30
parent 8e80b34cea
commit 658107f77a
10 changed files with 77 additions and 18 deletions

View File

@@ -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);
}

View File

@@ -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];