NTP-68615| Define negative experience (#1183)

This commit is contained in:
Aishwarya Srivastava
2025-06-02 17:45:14 +05:30
committed by GitHub
parent 5a57f8943a
commit ee67a615ea
10 changed files with 58 additions and 20 deletions

View File

@@ -113,8 +113,8 @@ def jscFlavor = 'org.webkit:android-jsc:+'
def enableHermes = project.ext.react.get("enableHermes", false);
def VERSION_CODE = 264
def VERSION_NAME = "2.19.5"
def VERSION_CODE = 266
def VERSION_NAME = "2.19.7"
android {
namespace "com.avapp"

View File

@@ -189,6 +189,7 @@ public class MainApplication extends Application implements ReactApplication, Ap
anrEventProperties.put(APP_IN_FOREGROUND, String.valueOf(isAppInForeground()));
anrEventProperties.put("isNae", "true");
anrEventProperties.put("errorTitle", "Something went wrong");
anrEventProperties.put("vertical", "COLLECTIONS_FIELD");
if (isAlfredEnabledFromFirebase && AlfredManager.INSTANCE.isAlfredRecordingEnabled()
&& alfredConfig.getAnrEnableStatus() && isAppInForeground()) {
@@ -219,6 +220,8 @@ public class MainApplication extends Application implements ReactApplication, Ap
crashEventProperties.put(APP_IN_FOREGROUND, String.valueOf(isAppInForeground()));
crashEventProperties.put("isNae", "true");
crashEventProperties.put("errorTitle", "Something went wrong");
crashEventProperties.put("vertical", "COLLECTIONS_FIELD");
if (isAlfredEnabledFromFirebase && AlfredManager.INSTANCE.isAlfredRecordingEnabled()
&& alfredConfig.getCrashEnableStatus() && isAppInForeground()) {
StackTraceElement stackTraceElement = exception.getStackTrace()[0];