Skip to content

Platform Channel Error in Adapty Flutter SDK During Subscription Flow #143

@emanueltesoriello

Description

@emanueltesoriello

Hello Adapty Team,

I am encountering an issue while using the Adapty Flutter SDK during the subscription flow. After successfully completing a payment and subscribing, the expected behavior is for the subscription page to close. However, instead, the app gets stuck, and the following error appears in the logs:

"Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter.adapty.com/adapty. Response ID: 5"

Steps to Reproduce:

  • Initiate a subscription flow using the Adapty Flutter SDK.
  • Successfully complete the payment and subscription process.
  • Observe that instead of closing the subscription page as expected, the app remains stuck, and the above error appears in the logs.

Environment Details:

  • Flutter Version: 3.24.5
  • Adapty SDK Version: 3.3.1
  • Platform: Android version 14 - One UI 6.1
    -Device: Samsung Galaxy S23 Ultra

Could you please provide guidance on resolving this issue or confirm if it is a known bug in the Adapty Flutter SDK?

Thank you for your assistance!

Best regards,
Emanuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions