I have an App, and when I build the app no icon is showing and I am not sure what could be the solution.
what could be the possible solution !!
Need you help guys.
can you specify which version of ionic you are using?
save you`re icons in assets folder in SVG format and then use.
it is help u use icon in offline mode
this link maybe help you
this in my config file :{
“name”: “ToolKit”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “https://ionicframework.com/”,
“scripts”: {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
“private”: true,
“dependencies”: {
"@angular-devkit/build-angular": "^0.13.0",
"@angular/common": "^8.2.0",
"@angular/core": "^8.2.0",
"@angular/forms": "^8.2.0",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^8.2.14",
"@angular/platform-browser-dynamic": "^8.2.14",
"@angular/router": "^7.2.2",
"@capacitor/core": "1.1.0",
"@capacitor/ios": "^1.1.0",
"@ionic-native/app-center-analytics": "^5.15.0",
"@ionic-native/core": "^5.0.0",
"@ionic-native/document-viewer": "^5.0.0",
"@ionic-native/file": "^5.9.0",
"@ionic-native/file-opener": "^5.9.0",
"@ionic-native/file-transfer": "^5.9.0",
"@ionic-native/geolocation": "^5.22.0",
"@ionic-native/in-app-browser": "^5.21.3",
"@ionic-native/network": "^5.10.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.7.2",
"@ionic/storage": "^2.2.0",
"@types/apple-mapkit-js": "^5.4.0",
"android": "0.0.8",
"apple-mapkit-js": "^6.0.1",
"bootstrap": "^4.3.1",
"cordova-android": "8.1.0",
"cordova-browser": "^6.0.0",
"cordova-ios": "^4.5.5",
"cordova-plugin-device": "~2.0.2",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-opener2": "^2.2.1",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-geolocation": "^4.0.2",
"cordova-plugin-googlemaps": "~2.3.8",
"cordova-plugin-googlemaps-sdk": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git#2.7.0",
"cordova-plugin-inappbrowser": "^3.1.0",
"cordova-plugin-ionic-keyboard": "^2.0.5",
"cordova-plugin-ionic-webview": "^4.0.0",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-splashscreen": "~5.0.2",
"cordova-plugin-statusbar": "~2.4.2",
"cordova-plugin-whitelist": "~1.3.3",
"cordova-res": "^0.8.1",
"cordova-sqlite-storage": "^3.4.0",
"core-js": "^2.5.4",
"file-system": "^2.2.2",
"geolocation": "^0.2.0",
"gradle": "^1.0.9",
"guid-typescript": "^1.0.9",
"ionic-angular": "^3.9.9",
"jsonwebtoken": "^8.5.1",
"mapbox-gl": "^1.2.1",
"natives": "^1.1.6",
"ng2-pdf-viewer": "^6.0.2",
"onesignal-cordova-plugin": "^2.8.4",
"rxjs": "~6.5.1",
"tslib": "^1.9.0",
"zone.js": "~0.8.29"
},
“devDependencies”: {
"@angular-devkit/architect": "~0.13.8",
"@angular-devkit/core": "~7.3.8",
"@angular-devkit/schematics": "~7.3.8",
"@angular/cli": "~7.3.8",
"@angular/compiler": "~8.2.0",
"@angular/compiler-cli": "^8.2.14",
"@angular/language-service": "~8.2.0",
"@capacitor/cli": "1.1.0",
"@ionic/angular-toolkit": "~1.5.1",
"@ionic/app-scripts": "^3.2.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~12.0.0",
"codelyzer": "~4.5.0",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-googlemaps": "^2.3.11",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.1.3",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.4",
"ionic": "^5.2.3",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"node-sass": "^4.13.1",
"protractor": "~5.4.0",
"ts-node": "~8.3.0",
"tslint": "~5.17.0",
"typescript": "~3.4.0"
},
“description”: “An Ionic project”,
“cordova”: {
"plugins": {
"cordova-plugin-file-transfer": {},
"cordova-plugin-file-opener2": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-ionic-keyboard": {},
"cordova-sqlite-storage": {},
"cordova-plugin-network-information": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-file": {},
"cordova-plugin-geolocation": {},
"cordova-plugin-googlemaps": {
"API_KEY_FOR_ANDROID": "(AndroidKey)",
"API_KEY_FOR_IOS": "(iOSKey)",
"PLAY_SERVICES_VERSION": "15.0.1",
"ANDROID_SUPPORT_V4_VERSION": "26.1.0",
"LOCATION_WHEN_IN_USE_DESCRIPTION": "This app wants to get your location while this app runs only.",
"LOCATION_ALWAYS_USAGE_DESCRIPTION": "This app wants to get your location always, even this app runs in background."
},
"onesignal-cordova-plugin": {}
},
"config": {
"ionic_sass": "./sass.config.js"
},
"platforms": [
"browser",
"android",
"ios"
]
}
}