Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InAppMessages continues to be displayed after clicking on it #398

Open
renehw opened this issue Jan 30, 2024 · 8 comments
Open

InAppMessages continues to be displayed after clicking on it #398

renehw opened this issue Jan 30, 2024 · 8 comments
Labels
bug Something isn't working native-sdk Specific to native sdk platform-android Specific to Android platform platform-ios Specific to iOS platform

Comments

@renehw
Copy link

renehw commented Jan 30, 2024

I noticed that when the message is displayed within the app regarding the intercom chat, when clicking on it and returning to the app, in some cases the notification at the bottom of the app continues to be displayed, could this problem be linked to the SDK? I verified that this occurs on iOS and Android.

image

@deepak786 deepak786 added bug Something isn't working platform-ios Specific to iOS platform platform-android Specific to Android platform native-sdk Specific to native sdk labels Feb 7, 2024
@deepak786
Copy link
Collaborator

@renehw Seems that it is related to native SDK.
Which intercom_flutter version are you using?

@arthurgiani
Copy link

Same problem here.

Do we have a solution for this?

I can't dismiss the message on swiping, just when I click on the message.

@kevmiclee12
Copy link

Screen.Recording.2024-10-23.at.4.09.15.PM.mov

Expected behavior: Message is dismissed when swiping left or right.

Actual behavior: Message cannot be dismissed unless you click on it.

@kevmiclee12
Copy link

intercom_flutter: 9.0.9

@mohkoma
Copy link

mohkoma commented Dec 17, 2024

@deepak786 This issue still persists, at least on Android. It seems that when multiple in-app messages are stacked, the messages become unclickable, and only the Flutter app elements in the background can be interacted with.

The strange part is that I couldn’t find any similar reports in the SDK documentation or issues. At this point, I’m unsure how this could be resolved. 🤔

Currently using the latest version 9.2.1 and also the latest version of the SDK.

@deepak786
Copy link
Collaborator

@mohkoma What is your MainActivity in Android extending from? FlutterActivity? or FlutterFragmentActivity?
Make sure to extend it from FlutterFragmentActivity.
See documentation https://pub.dev/packages/intercom_flutter#android and related issue #351

@mohkoma
Copy link

mohkoma commented Dec 17, 2024

@mohkoma What is your MainActivity in Android extending from? FlutterActivity? or FlutterFragmentActivity? Make sure to extend it from FlutterFragmentActivity. See documentation https://pub.dev/packages/intercom_flutter#android and related issue #351

@deepak786 Thank you! that solved it, surprisingly how I missed that 😄

@arthurgiani
Copy link

FlutterFragmentActivity

I'm using FlutterFragmentActivity and the problem still persist to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working native-sdk Specific to native sdk platform-android Specific to Android platform platform-ios Specific to iOS platform
Projects
None yet
Development

No branches or pull requests

5 participants