log
parent
7226ff6da6
commit
26552082ea
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
//定位功能可用
|
//定位功能可用
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue