Hi All,
I am unable to install addplan in eSIM device.
I am using below code but getting status as CTCellularPlanProvisioningAddPlanResultFail and also showing alert has Unable to complete data plan change. Kindly help me on fixing this issue.
CTCellularPlanProvisioningRequest *provRequest = [[CTCellularPlanProvisioningRequest alloc] init];
provRequest.address = @"esimaddress";
[provisioning addPlanWith:provRequest completionHandler:^(CTCellularPlanProvisioningAddPlanResult result) {
switch (result) {
case CTCellularPlanProvisioningAddPlanResultUnknown:
NSLog(@"Provisioning Unknown");
break;
case CTCellularPlanProvisioningAddPlanResultFail:
NSLog(@"Provisioning Fail");
break;
case CTCellularPlanProvisioningAddPlanResultSuccess:
NSLog(@"Provisioning Success");
break;
default:
NSLog(@"Something went wrong, Please try again later");
break;
}
}];
Thanks in Advance