添加埋点
This commit is contained in:
@@ -193,7 +193,11 @@ static void *KBPermPlayerPresentationSizeContext = &KBPermPlayerPresentationSize
|
||||
}
|
||||
|
||||
- (void)openSettings {
|
||||
[self report];
|
||||
[[KBMaiPointReporter sharedReporter] reportClickWithEventName:@"click_permission_open_settings_btn"
|
||||
pageId:@"keyboard_permission_guide"
|
||||
elementId:@"open_settings_btn"
|
||||
extra:nil
|
||||
completion:nil];
|
||||
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
|
||||
UIApplication *app = [UIApplication sharedApplication];
|
||||
if ([app canOpenURL:url]) {
|
||||
@@ -206,6 +210,11 @@ static void *KBPermPlayerPresentationSizeContext = &KBPermPlayerPresentationSize
|
||||
}
|
||||
|
||||
- (void)closeButtonAction{
|
||||
[[KBMaiPointReporter sharedReporter] reportClickWithEventName:@"click_permission_close_btn"
|
||||
pageId:@"keyboard_permission_guide"
|
||||
elementId:@"close_btn"
|
||||
extra:nil
|
||||
completion:nil];
|
||||
[self.navigationController popViewControllerAnimated:true];
|
||||
}
|
||||
|
||||
@@ -286,13 +295,6 @@ static void *KBPermPlayerPresentationSizeContext = &KBPermPlayerPresentationSize
|
||||
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
|
||||
}
|
||||
|
||||
#pragma mark - network
|
||||
- (void)report{
|
||||
[[KBMaiPointReporter sharedReporter] reportNewAccountWithType:@"键盘申请授权" account:nil completion:^(BOOL success, NSError * _Nullable error) {
|
||||
|
||||
}];
|
||||
}
|
||||
|
||||
#pragma mark - Lazy Subviews
|
||||
|
||||
- (UIButton *)backButton {
|
||||
|
||||
Reference in New Issue
Block a user