add log
parent
2ed4c891c5
commit
f2077784db
|
@ -21,6 +21,6 @@
|
|||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>MinimumOSVersion</key>
|
||||
<string>9.0</string>
|
||||
<string>11.0</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
}
|
||||
|
||||
- (BOOL)appletInfo:(FATAppletInfo *)appletInfo didClickMoreBtnAtPath:(NSString *)path {
|
||||
NSLog(@"didClickMoreBtnAtPath:%@,appletInfo=%@",path,appletInfo);
|
||||
return NO;
|
||||
// __block BOOL flag;
|
||||
// FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
|
||||
|
@ -73,7 +74,7 @@
|
|||
}
|
||||
|
||||
- (NSArray<id<FATAppletMenuProtocol>> *)customMenusInApplet:(FATAppletInfo *)appletInfo atPath:(NSString *)path {
|
||||
NSLog(@"customMenusInApplet");
|
||||
NSLog(@"customMenusInApplet:%@,appletInfo=%@",path,appletInfo);
|
||||
__block NSArray *list;
|
||||
FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel];
|
||||
[channel invokeMethod:@"extensionApi:getCustomMenus" arguments:@{@"appId": appletInfo.appId} result:^(id _Nullable result) {
|
||||
|
@ -84,6 +85,7 @@
|
|||
}];
|
||||
CFRunLoopRun();
|
||||
|
||||
NSLog(@"customMenusInApplet:%@,list=%@",path,list);
|
||||
NSMutableArray *models = [NSMutableArray array];
|
||||
for (NSDictionary<NSString *, NSString *> *data in list) {
|
||||
MopCustomMenuModel *model = [[MopCustomMenuModel alloc] init];
|
||||
|
|
Loading…
Reference in New Issue