phi_2.44.5.1
Sean 2024-06-12 11:05:27 +08:00
parent 7226ff6da6
commit 26552082ea
4 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,8 @@
} else if ([mapClassStr isEqualToString:@"FATGDMapView"]) { } else if ([mapClassStr isEqualToString:@"FATGDMapView"]) {
apiName = @"FATGDExt_chooseLocation"; apiName = @"FATGDExt_chooseLocation";
} }
NSLog(@"sean=========FATExt_chooseLocation");
if (apiName) { if (apiName) {
id<FATApiProtocol> api = [self.class fat_apiWithApiClass:apiName params:self.param]; id<FATApiProtocol> api = [self.class fat_apiWithApiClass:apiName params:self.param];
if (api) { if (api) {

View File

@ -38,6 +38,8 @@
return; return;
} }
} }
NSLog(@"sean=========FATExt_choosePoi");
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) { [[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
if (status == 0) { if (status == 0) {
// //

View File

@ -57,6 +57,7 @@
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(handleNotification:) name:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE_END" object:nil]; [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(handleNotification:) name:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE_END" object:nil];
// FATAppletInfo *appInfo = [[FATClient sharedClient] currentApplet]; // FATAppletInfo *appInfo = [[FATClient sharedClient] currentApplet];
[[NSNotificationCenter defaultCenter] postNotificationName:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE" object:NULL userInfo:@{@"type":@"gteLocation"}]; [[NSNotificationCenter defaultCenter] postNotificationName:@"PHIZ_NOTIFICATION_LOCATION_AUTHORIZE" object:NULL userInfo:@{@"type":@"gteLocation"}];
NSLog(@"sean=========FATExt_getLocation");
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) { [[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
if (status == 0) { if (status == 0) {

View File

@ -44,6 +44,7 @@
return; return;
} }
} }
NSLog(@"sean=========FATExt_openLocation");
[[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) { [[FATClient sharedClient] fat_requestAppletAuthorize:FATAuthorizationTypeLocation appletId:self.appletInfo.appId complete:^(NSInteger status) {
if (status == 0) { if (status == 0) {