ionic-team / ionic-team/ionic-cli
ionic cordova resources keeps using default image instead of custom images
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 682
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**Description:**
I have been working on an AngularJS 1.5, Cordova cli v 8, and ionic cli v2 app for a while.
I upgraded my ionic cli to version 3.
I wanted to take advantage of the new **ionic cordova resources** command so I can generate the new splash screens for the iPhoneX etc.
I updated my resources/icon.png file and resources/splash.png to the new specifications: 1024x1024 and
2732×2732px.
I ran the command **ionic cordova resources** and it did generate some new images and updated the config.xml file but it used the default logo instead of my custom one.
I am not sure what I am going wrong.
**My `ionic info`:**
[WARN] Error with .\www\lib\ionic\version.json file: FILE_NOT_FOUND, trying .\bower.json.
cli packages: (C:\Program Files\nodejs\node_modules)
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
Gulp CLI : CLI version 3.9.1 Local version 3.5.6
local packages:
Cordova Platforms : android 6.2.3 ios 4.5.0 windows 4.4.2
Ionic Framework : ionic1 1.3.5
System:
Node : v6.11.0
npm : 5.6.0
OS : Windows 10
Environment Variables:
ANDROID_HOME : C:\Android\sdk
Misc:
backend : pro
貢獻指南
研究方向
Start by running `ionic cordova resources` with the reported `resources/icon.png` and `resources/splash.png` inputs, then inspect the generated images and `config.xml`. Compare the generated assets with the custom source images; done means the command uses the custom images rather than the default logo.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angularjs
- 領域
- cli, mobile-dev
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100