diff --git a/android/src/main/java/com/elraton/flutter_lantern/FlutterLanternPlugin.java b/android/src/main/java/com/elraton/flutter_lantern/FlutterLanternPlugin.java index bce07fa..b873eac 100644 --- a/android/src/main/java/com/elraton/flutter_lantern/FlutterLanternPlugin.java +++ b/android/src/main/java/com/elraton/flutter_lantern/FlutterLanternPlugin.java @@ -24,7 +24,7 @@ private FlutterLanternPlugin(Registrar registrar) { } public static void registerWith(Registrar registrar) { - final MethodChannel channel = new MethodChannel(registrar.messenger(), "flutter_lantern"); + final MethodChannel channel = new MethodChannel(registrar.messenger(), "github.com/elratonmaton/flutter_lantern"); channel.setMethodCallHandler(new FlutterLanternPlugin(registrar)); } diff --git a/ios/Classes/FlutterLanternPlugin.m b/ios/Classes/FlutterLanternPlugin.m index b8771b1..2c90fbd 100644 --- a/ios/Classes/FlutterLanternPlugin.m +++ b/ios/Classes/FlutterLanternPlugin.m @@ -4,7 +4,7 @@ @implementation FlutterLanternPlugin + (void)registerWithRegistrar:(NSObject*)registrar { FlutterMethodChannel* channel = [FlutterMethodChannel - methodChannelWithName:@"flutter_lantern" + methodChannelWithName:@"github.com/elratonmaton/flutter_lantern" binaryMessenger:[registrar messenger]]; FlutterLanternPlugin* instance = [[FlutterLanternPlugin alloc] init]; [registrar addMethodCallDelegate:instance channel:channel];