mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
inapp: add account purchase available when bought
This commit is contained in:
parent
def992012e
commit
0fca9b46ad
1 changed files with 1 additions and 0 deletions
|
|
@ -300,6 +300,7 @@
|
|||
NSString* productID = [[LinphoneManager instance] lpConfigStringForKey:@"paid_account_id" forSection:@"in_app_purchase"];
|
||||
if (timeinterval != -2) {
|
||||
NSDate *date = [NSDate dateWithTimeIntervalSince1970:timeinterval];
|
||||
[_productsIDPurchased addObject:productID];
|
||||
NSDictionary* dict = @{@"product_id": productID, @"expires_date": date};
|
||||
[self postNotificationforStatus:IAPPurchaseSucceeded withDict:dict];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue