File tree 1 file changed +0
-11
lines changed
packages/bonsoir_android/android/src/main/kotlin/fr/skyost/bonsoir
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import android.net.wifi.WifiManager
5
5
import io.flutter.embedding.engine.plugins.FlutterPlugin
6
6
import io.flutter.plugin.common.BinaryMessenger
7
7
import io.flutter.plugin.common.MethodChannel
8
- import io.flutter.plugin.common.PluginRegistry.Registrar
9
8
10
9
/* *
11
10
* The main plugin Kotlin class.
@@ -16,16 +15,6 @@ public class BonsoirPlugin : FlutterPlugin {
16
15
* The plugin channel.
17
16
*/
18
17
const val channel: String = " fr.skyost.bonsoir"
19
-
20
- @JvmStatic
21
- fun registerWith (registrar : Registrar ) {
22
- val plugin = BonsoirPlugin ()
23
- plugin.startListening(registrar.context(), registrar.messenger())
24
- registrar.addViewDestroyListener {
25
- plugin.stopListening()
26
- false
27
- }
28
- }
29
18
}
30
19
31
20
/* *
You can’t perform that action at this time.
0 commit comments