I am trying add Figureprint authentication using local_auth package of flutter i used same example given that package here it is. And i am getting this error
I/flutter (27676): PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity., null)
I have try this solution But the problem is that I don't know about kotlin.
Here is my Mainactivity.kt
package com.example.bio_met
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}