I am using Voltbuild to build and generate .ipa (Apple) and .apk (Android).
I used to build my apps on Phonegap Builder that is not working anymore.
I have updated an old project to build on Voltbuild and I am having some problems I could not fix them.
My .apk (Android) is working fine. The problem is .ipa. After I upload .ipa (Apple) to Apple Store to release, it is showing an white screen at start up and nothing else happens.
It seems its blocking an internal pages call:
$(“#paginaCompleta”).load(‘pags/pagAcesso.html’);
On index.html:
div id=“paginaCompleta”
I have search a lot and I have tryed a lot of things but it seems I won’t be able to solve this:
Some things I have alreary done:
1- meta http-equiv=“Content-Security-Policy” content=“default-src ‘self’ "
2- plugin name=“cordova-plugin-whitelist”
3- access origin=”"
allow-navigation href=""
allow-intent href=“"
allow-intent href="http:///"
allow-intent href="https:///"
allow-intent href="tel:”
allow-intent href=“sms:"
allow-intent href="mailto:”
allow-intent href=“geo:"
allow-navigation href="file:”
Origin null is not allowed by Access-Control-Allow-Origin.
XMLHttpRequest cannot load http://exames.ceus.med.br:8082/CEUSServerv0-0-1/rest/pacientews/postnovocadastro due to access control checks.
exames.ceus.med.br:8082/CEUSServerv0-0-1/rest/pacientews/postnovocadastro:1
POST http://exames.ceus.med.br:8082/CEUSServerv0-0-1/rest/pacientews/postnovocadastro Origin null is not allowed by Access-Control-Allow-Origin.
Origin null is not allowed by Access-Control-Allow-Origin.
XMLHttpRequest cannot load http://exames.ceus.med.br:8082/CEUSServerv0-0-1/rest/acessows/getinformacoesacesso due to access control checks.
exames.ceus.med.br:8082/CEUSServerv0-0-1/rest/acessows/getinformacoesacesso:1
POST http://exames.ceus.med.br:8082/CEUSServerv0-0-1/rest/acessows/getinformacoesacesso Origin null is not allowed by Access-Control-Allow-Origin.