Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic resources command problems #1638

Closed
jgw96 opened this issue Nov 7, 2016 · 5 comments
Closed

ionic resources command problems #1638

jgw96 opened this issue Nov 7, 2016 · 5 comments

Comments

@jgw96
Copy link
Contributor

jgw96 commented Nov 7, 2016

From @mflmartin on November 4, 2016 10:2

Short description of the problem:

ionic resources does not generate ios and android icons & splash screens in any way
ionic resources --icons generates icons for ios but NOT android. They are generated into the resources/android folder, BUT not copied and propertly renamed to platform/android/res, which means that when you compile the app, you get the cordova robot.

ionic resources --splash generates splash for ios but NOT android They are generated into the resources/android/splash folder, BUT not copied and propertly renamed to platform/android/res, which means that when you compile the app, you get the cordova robot.

What behavior are you expecting?

That it works correctly.

Steps to reproduce:

  1. place icon.png and splash.png in the resources folder
  2. Execute ionic resources
  3. They are not created propertly.
  4. Execute ionic resources --icons
  5. Android icons in platform/res, are not propertly updated
  6. Execute ionic resources --splash
  7. Android splash in platform/res, are not propertly updated

Which @ionic/app-scripts version are you using?
Your system information:

Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS:
Node Version: v6.4.0

Copied from original issue: ionic-team/ionic-app-scripts#312

@jgw96
Copy link
Contributor Author

jgw96 commented Nov 7, 2016

From @mflmartin on November 4, 2016 10:44

I found a res folder at the ROOT of my project containing android resources. It might be that it creates it in the ROOT folder of the project, instead of placing it inside the platforms/android folder. If this helps you narrow it down more.

@jgw96
Copy link
Contributor Author

jgw96 commented Nov 7, 2016

From @ferranvila on November 6, 2016 9:2

@mflmartin Me too. I think this happens after the new cordova-android version: 6.X.X. If you downgrade to 5.2.2 the icon is displayed but the splash screen don't.

@jgw96
Copy link
Contributor Author

jgw96 commented Nov 7, 2016

Possibly related ionic-team/ionic-framework#9060

@RickMeijer
Copy link

Problem with cordova-android, should be fixed in 6.1.0, but it's not available on npm yet.

See changelog here: https://github.com/apache/cordova-android/blob/master/RELEASENOTES.md, and issue here: https://issues.apache.org/jira/browse/CB-12077

@dasilvacontin
Copy link

ionic-team/ionic-framework#9060 (comment)

Can be closed.

@imhoffd imhoffd closed this as completed Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants