walterholohan / react-native-crisp-chat-sdk

React-Native bridge for Crisp Chat iOS and Android SDK's
MIT License
70 stars 26 forks source link

cannot close chat on android #43

Closed Sherby1988 closed 3 months ago

Sherby1988 commented 2 years ago

I have implemented Crisp chat with a boolean condition for rendering on an existing page: I have this function `const openChat = () => { setTokenId(authStore.getSetting('crisp_code')); // Set user's info setUserEmail(8888); setUserNickname(authStore.user.name); setUserPhone(authStore.user.phone);

    // resetSession()
    setShowChat(true)
    show()
}`

I press a button and the chat comes up normally: on iOS when I close the chat it works ok and the app goes back to normal. on android when I close the chat the loading screen does not disappear. image

If I'm not mistaking this didn't happen on earlier versions.

akinlekan28 commented 2 years ago

Facing this same issue too

JusTmaino commented 2 years ago

any solutions for this problem ? im using v0.10.2

baptistejamin commented 1 year ago

You are all using a NavigationContainer ?

akinlekan28 commented 1 year ago

Yes, as far as it's React Navigation the NavigationContainer is needed to wrap the screens

JusTmaino commented 1 year ago

You are all using a NavigationContainer ?

yes

oliuradu commented 1 year ago

same here..