umair13adil / simple_beacons_flutter

A flutter plugin project to range & monitor iBeacons.
Apache License 2.0
35 stars 42 forks source link

MissingPluginException(No implementation found for method listen on channel beacons_plugin_stream) #15

Closed mingjunsiek closed 4 years ago

mingjunsiek commented 4 years ago

image

I've followed your steps in installing the plugin and I copied your example file to test it out. However, I faced this issue regarding MissingPluginException. Please advice.

umair13adil commented 4 years ago

Have you replaced the 'FlutterActivity' with 'BeaconsActivity' as shown in the code below?

class MainActivity : BeaconsActivity(){

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        GeneratedPluginRegistrant.registerWith(flutterEngine)
    }
}
mingjunsiek commented 4 years ago

Ah right! Thank you!