Im Verwenden von ionic view Legacy und der http-Post haben kein Problem darüber. aber bei der Migration mit ionic view pro beim Ausführen von HTTP-Post dann Fehler "Antwort mit Status: 0 für URL: null". Antwort mit Status: 0 für URL: null
Dies ist ein Teil meiner config.xml
<access origin="*" subdomain="true" />
<allow-navigation 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:*" />
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
<plugin name="cordova-plugin-statusbar" spec="2.2.2" />
<plugin name="cordova-plugin-device" spec="1.1.4" />
<plugin name="cordova-plugin-splashscreen" spec="~4.0.1" />
<plugin name="cordova-plugin-ionic" spec="^1.1.9">
<variable name="APP_ID" value="-" />
<variable name="CHANNEL_NAME" value="Master" />
<variable name="UPDATE_METHOD" value="auto" />
</plugin>
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
dieses Problem wegen CORS so an Back-End-i fügen Sie einfach:
/* Allow from any origin */
\t \t if (isset($_SERVER['HTTP_ORIGIN'])) {
\t \t \t header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
\t \t \t header('Access-Control-Allow-Credentials: true');
\t \t \t header('Access-Control-Max-Age: 86400');
\t \t }
aber Problem immer noch nicht gelöst.