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