diff --git a/plugin/android/src/main/java/com/anyline/reactnative/AnylineBaseActivity.java b/plugin/android/src/main/java/com/anyline/reactnative/AnylineBaseActivity.java index 36a14b8d..0849c301 100755 --- a/plugin/android/src/main/java/com/anyline/reactnative/AnylineBaseActivity.java +++ b/plugin/android/src/main/java/com/anyline/reactnative/AnylineBaseActivity.java @@ -72,6 +72,7 @@ protected void finishWithError(String errorMessage) { Intent data = new Intent(); data.putExtra(AnylineSDKPlugin.EXTRA_ERROR_MESSAGE, errorMessage); setResult(AnylineSDKPlugin.RESULT_ERROR, data); + ResultReporter.onError(errorMessage); finish(); }