@mohamedfekry wrote:
Hello, please i need help, after upgrading to ionic v 3.19.1 i can`t call any webservice in ios as the below error, please your urgent help.
Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “” which could put your confidential information at risk.
XMLHttpRequest cannot load https://…/token due to access control checks.
However i added the below code in AppDelegate.m
@implementation NSURLRequest(DataController)
- (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host
{
return YES;
}
@end
Posts: 1
Participants: 1