leegeunhyeok/react-native-zendesk-messaging

Zendesk sdk 2.19.0 breaks back button on Android

Opened this issue · 4 comments

Describe the bug
When user taps on back button with @react-navigation/stack and react-native-zendesk-messaging installed application hides

To Reproduce
Steps to reproduce the behavior:

  1. Install application
  2. Go to some screen in stack
  3. Try to use android go back button/gesture

Expected behavior
Application opened previous screen

Screenshots

zendesk.mp4

Environment (please complete the following information):

  • Platform: Android
  • React Native Version 0.73.7
  • Zendesk SDK Version 2.19.0

Additional context
Fix

diff --git a/apps/international/android/build.gradle b/apps/international/android/build.gradle
index db88928e..5ab5df7f 100644
--- a/apps/international/android/build.gradle
+++ b/apps/international/android/build.gradle
@@ -23,7 +23,7 @@ buildscript {
         // mapbox end

         // Zendesk
-        zendeskSdkVersion = "2.19.0"
+        zendeskSdkVersion = "2.18.0"
         // Zendesk end
     }
     repositories {

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

bump

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ande- commented

I'm having this same issue. I'm not using this repo, but am using React Native with bridge modules to use Zendesk, and upgrading to React Native 0.73.6 and ZendeskSDKMessaging 1.19+ caused an issue where the Android back button closes the app.