Skip to content

Unable to use Purchase_ui_Flutter on FlutterFlow apps #1363

@Unity2Blender

Description

@Unity2Blender

Hi team,

I have been using Revenuecat for the past few months and everything has been great except the fact the I could not use Paywall pub dev package of yours in my FlutterFlow based app.

Apparently, to use purchases_ui_flutter on Android, you would also need to edit MainActivity.kt file in my android folder of the project.

From:

import io.flutter.embedding.android.FlutterActivity

class MainActivity : FlutterActivity() {}

To:

import io.flutter.embedding.android.FlutterFragmentActivity

class MainActivity : FlutterFragmentActivity() {}

The Problem

  • In Flutterflow we cannot edit the MainActivity.kt, Can you guys please implement a workaround in your purchases_ui_flutter package somehow that you would be able to edit the Mai act vity.kt or some direct fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions