How to add splash screen in ionic3

871 Views Asked by At

enter image description here

ionic info:

ionic cordova resources:

enter image description here

1

There are 1 best solutions below

1
On

Just like you can see in this Github issue:

Cloudflare is used as a CDN in front of the API that generates the resources for you. Seems Cloudflare somehow decided you (your IP address) are/were "bad" and blocked your requests. If this happens in the browser they show a Captcha for you to solve to prove you are "good", but of course you can't do that on the command line.

So in order to solve this, please try to open this URL manually in your browser: https://res.ionic.io/api/v1/upload

It will probably show a Captcha or something. If the output is

{
  Error: "invalid request: GET",
  Width: 0,
  Height: 0,
  Type: "",
  Vector: false
}

You should try again ionic cordova resources on the command line, and the request should go through without problem.