Skip to content

[BUG] Android messages activity covers underlying activity #588

Description

@gabz0r

Description

When we put out a message to our users, it will launch a new activity and display the message dialog within that new activity. It covers the underlying activity full screen.
I tried registering the Intercom message activity in the manifest and applying a custom style manually, but without success and i also think this isn't the way its done.
We're using a FlutterFragmentActivity as base for our app.

Steps to reproduce

  1. Initialize Intercom with valid credentials.
  2. Trigger an Intercom message with a fitting test audience.
  3. Launch the app.
  4. Message should display with a gray background, covering the base activity.

Expected behavior

The message should overlay the FlutterFragmentActivity, which should be visible below the message dialog.

Actual behavior

A new fullscreen activity is pushed with a gray background containing the message dialog.

Environment

  • intercom_flutter 9.4.6, also reproduced with 9.4.20
  • Flutter 3.38.4
  • Platform Android, API 36

Additional information

  • Issue is specific to android
  • Logs show clearly that main activity is replaced (can not post current logs due to android build issues)
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    native-sdkSpecific to native sdkplatform-androidSpecific to Android platformsupportAsking for help writing an application

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions