Commit 0dcdfcf6 authored by xgz's avatar xgz

去掉京东sdkios部分

parent 4365b06d
......@@ -10,9 +10,9 @@
FlutterMethodChannel* channel = [FlutterMethodChannel
methodChannelWithName:@"jdsdk"
binaryMessenger:[registrar messenger]];
// JdsdkPlugin* instance = [[JdsdkPlugin alloc] init];
JdsdkPlugin* instance = [[JdsdkPlugin alloc] init];
//将 JdsdkPlugin 的无参 init 函数调整为 initWithRegistrar
JdsdkPlugin* instance = [[JdsdkPlugin alloc] initWithRegistrar:registrar];
// JdsdkPlugin* instance = [[JdsdkPlugin alloc] initWithRegistrar:registrar];
[registrar addMethodCallDelegate:instance channel:channel];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment