Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
? 'enabledWithNoScreenshots'
: 'disabled'
: INSTABUG_REPRO_STEPS_MODE
]
)
Instabug.setSessionProfilerEnabled(INSTABUG_SESSION_PROFILER_ENABLED)
Instabug.setViewHierarchyEnabled(INSTABUG_VIEW_HIERARCHY_ENABLED)
// FIXME: setUserStepsEnabled doesn't exist
// Platform.OS === 'ios' &&
// Instabug.setUserStepsEnabled(INSTABUG_USER_STEPS_ENABLED)
BugReporting.setEnabled(INSTABUG_BUG_REPORTING_ENABLED)
BugReporting.setInvocationOptions([
BugReporting.invocationOptions.emailFieldOptional,
BugReporting.invocationOptions.commentFieldRequired,
])
// FIXME: android: attempt to invoke method intValue on a null object ref, ios: unrecognized selector sent to instance
// BugReporting.setReportTypes([
// BugReporting.reportType.bug,
// BugReporting.reportType.feedback,
// BugReporting.reportType.question,
// ])
Instabug.setCrashReportingEnabled(INSTABUG_CRASH_REPORTING_ENABLED)
Platform.OS === 'ios' && BugReporting.setAutoScreenRecordingMaxDuration(20)
BugReporting.setAutoScreenRecordingEnabled(
INSTABUG_BUG_REPORTING_AUTO_SCREEN_RECORDING
)
Instabug.startWithToken(INSTABUG_TOKEN, [
Instabug.invocationEvent[INSTABUG_INVOCATION_EVENT],
])
? INSTABUG_REPRO_STEPS_MODE === 'enabled'
? 'enabledWithNoScreenshots'
: 'disabled'
: INSTABUG_REPRO_STEPS_MODE
]
)
Instabug.setSessionProfilerEnabled(INSTABUG_SESSION_PROFILER_ENABLED)
Instabug.setViewHierarchyEnabled(INSTABUG_VIEW_HIERARCHY_ENABLED)
// FIXME: setUserStepsEnabled doesn't exist
// Platform.OS === 'ios' &&
// Instabug.setUserStepsEnabled(INSTABUG_USER_STEPS_ENABLED)
BugReporting.setEnabled(INSTABUG_BUG_REPORTING_ENABLED)
BugReporting.setInvocationOptions([
BugReporting.invocationOptions.emailFieldOptional,
BugReporting.invocationOptions.commentFieldRequired,
])
// FIXME: android: attempt to invoke method intValue on a null object ref, ios: unrecognized selector sent to instance
// BugReporting.setReportTypes([
// BugReporting.reportType.bug,
// BugReporting.reportType.feedback,
// BugReporting.reportType.question,
// ])
Instabug.setCrashReportingEnabled(INSTABUG_CRASH_REPORTING_ENABLED)
Platform.OS === 'ios' && BugReporting.setAutoScreenRecordingMaxDuration(20)
BugReporting.setAutoScreenRecordingEnabled(
INSTABUG_BUG_REPORTING_AUTO_SCREEN_RECORDING
)
Instabug.startWithToken(INSTABUG_TOKEN, [
Instabug.invocationEvent[INSTABUG_INVOCATION_EVENT],