phi_2.44.5.1
Sean 2024-06-12 10:24:37 +08:00
parent 78e372b039
commit 4b86964cbd
2 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,8 @@
self.success = success;
self.failure = failure;
// FATAppletInfo *appInfo = [[FATClient sharedClient] currentApplet];
[[NSNotificationCenter defaultCenter] postNotificationName:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE_GET" object:NULL userInfo:NULL];
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
if (status == 0) {
//

View File

@ -79,8 +79,7 @@ static MopPlugin *_instance;
- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
if ([@"getPlatformVersion" isEqualToString:call.method]) {
if ([@"getPlatformVersion" isEqualToString:call.method]) {
result([@"iOS " stringByAppendingString:[[UIDevice currentDevice] systemVersion]]);
}
else if ([@"getAppletInfo" isEqualToString:call.method]) {