WordPress LMS for Web and mobile Forums Ionic App Support IOS Cannot log-in and doesnt load couses Reply To: IOS Cannot log-in and doesnt load couses

Reply To: IOS Cannot log-in and doesnt load couses

WordPress LMS for Web and mobile Forums Ionic App Support IOS Cannot log-in and doesnt load couses Reply To: IOS Cannot log-in and doesnt load couses

#46443

ben
Participant

Hi Guys,

Issue in debug is:

Origin ionic://localhost is not allowed by Access-Control-Origin

I have tried allowing access control origin in .htaccess and adding code suggested in other posts into the wplms customizer plugin – but with no sucess!:

function add_cors_http_header(){

header(“Access-Control-Allow-Origin: *”);

}

add_action(‘init’,’add_cors_http_header’);

 

The app worked in previous old versions of the app, which leads me to believe it’s something in the new app files?

Any help would be greatly appreciated.