for reference.
This commit is contained in:
parent
c3601741c8
commit
dc90af50b2
@ -257,11 +257,12 @@ NSString * const KeyActionTypeOpen = @"openPage";
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Need to ask user for permission to accss their contacts
|
|
||||||
// Privacy - Contacts Usage Description
|
// Privacy - Contacts Usage Description
|
||||||
// Access is needed to save your friends information to your Contacts list.
|
|
||||||
- (void)contactAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject {
|
- (void)contactAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject {
|
||||||
|
|
||||||
|
// CNAuthorizationStatus status = [CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts];
|
||||||
|
//
|
||||||
|
// if (status == CNAuthorizationStatusAuthorized) {
|
||||||
__weak typeof(self) weakSelf = self;
|
__weak typeof(self) weakSelf = self;
|
||||||
|
|
||||||
NSString *MDN = [actionInformation string:KeyCallNumber];
|
NSString *MDN = [actionInformation string:KeyCallNumber];
|
||||||
@ -299,6 +300,7 @@ NSString * const KeyActionTypeOpen = @"openPage";
|
|||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)callAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject {
|
- (void)callAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user