Ionic cordova resources
requires me to login, but login is not possible. However I’m able to login by that email on the page. I just want to generate the splash image for the browser platform. Why I have to login to accomplish that ?
$ ionic cordova resources
[WARN] You need to be logged into your Ionic account in order to run ionic cordova resources.
Log into your Ionic account
If you don't have one yet, create yours by running: ionic signup
? Email: XXXXXX@XXXXXX
? Password: [hidden]
Request: POST https://api.ionic.io/login
Response: 404
Body:
{ link: null,
type: 'NotFound',
message: 'No user found by that email' }
Hi just type “ionic signup” and type enter. Ionic dashboard signup page will open. Create a ionic account. Now type “ionic cordova resources” in command prompt. It prompt the email and password. Just enter the login credentials that you created just before… It will work
I did create an account, I wrote this post using it. Still i’m unable to use “ionic cordova resources” locally.
This situation is kind of silly. I have to wait for some backend migration to finish in order to generate an image locally on my computer…
Well, not responding to questions asked by people trying to help you is also kind of silly There is a reason why I asked you on what page you created that account…
Besides, the images are generated on a remote server and then downloaded to your computer. So of course, a remote service requires authentication.
And in general: Tell Ionic team that you find this silly at http://ionicframework.com/support#support They are not active around here and probably won’t see your post.
I’ll do some research and than contact the support. For now it seems like too much overhead. I need to do a lot of unnecessary operations in order to get an image resized. What’s worse it is not working.
The solution for me is to have a choice! I would prefer to be able to build everything locally offline, just as it was in previous versions. I’m also unable to check where those resources are sent, are they confidential, who has access to them. Are they being kept on the servers, which servers ? What about the legal side of this ? Do I still have all the rights to the generated files ?
I hope I’ll be able to use cordova with imagemagick and just skip ionic cordova resources.
What choice are you talking about? You can choose to use whatever tool you want.
Resource generation with ionic cordova resources or ionic resources always used a remote server to process and resize the images. Nothing changed here, it only requires a login now to make this more obvious.
Also there are multiple options that do this locally, search npm for them. But of course these won’t handle the changes to config.xml etc.
OK. Thank You very much for clarification Sujan12. I didn’t know that external servers were used for resource creation, there is no information about that anywhere.
One more suggestion for working with ionic resources The icon and splash screen png size is less in MegaBytes
and the size in following pixels 1024x1024px icon.png. 2732x2732px splash.png.