Skip to content

Problem with the back button in Android devices #141564

@kostricanitechnology

Description

@kostricanitechnology

I am using the Local Authenticator plugin. It requires to use in MainActivity.kt the code below
`import io.flutter.embedding.android.FlutterFragmentActivity

class MainActivity: FlutterFragmentActivity() {
// ...
}`

but when I use this code the Back arrow button in Android Devices doesn't work, it closes the app instead of going back.

When I use in MainActivity.kt the code below

`import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}`

the back button works now but the Authenticator doesn't work anymore.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions