We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9956784 + 8977670 commit 3d4448bCopy full SHA for 3d4448b
build/project-template-gradle/src/main/java/com/tns/ErrorReport.java
@@ -114,6 +114,14 @@ static Intent getIntent(Context context)
114
{
115
Class<?> errorActivityClass = ErrorReportActivity.class;
116
117
+ if (JsDebugger.isDebuggableApp(context))
118
+ {
119
+ errorActivityClass = ErrorReportActivity.class;
120
+ }
121
+ else {
122
+ return null;
123
124
+
125
Intent intent = new Intent(context, errorActivityClass);
126
127
intent.putExtra(EXTRA_NATIVESCRIPT_ERROR_REPORT, EXTRA_ERROR_REPORT_VALUE);
0 commit comments