cordova-res | Local Cordova icon/splash screen resource generation tool | Mobile Application library
kandi X-RAY | cordova-res Summary
kandi X-RAY | cordova-res Summary
Local Cordova icon/splash screen resource generation tool
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cordova-res
cordova-res Key Features
cordova-res Examples and Code Snippets
Community Discussions
Trending Discussions on cordova-res
QUESTION
I am getting the above error after updating my deployment target (as the store now demands this min version)
...ANSWER
Answered 2021-May-28 at 20:39Your virtual machine's Xcode version is 11.4. This only supports iOS 13.4 as seen here: https://developer.apple.com/documentation/xcode-release-notes/xcode-11_4-release-notes So your deployment target of iOS 14.0 is higher than your simulators' OS versions of iOS 13.4, which is why they aren't showing up. I'm unfamiliar with Ionic Cordova, but you need to find a way to use Xcode 12 or later in your VM.
QUESTION
I have an app (Ionic Angular Capacitor 2) calling some object in a Firebase realtime database. It have been working fine with access rules and anonymous auth. But after some modules updating (Don't know if thats the problem) i get permission denied when calling the db. This is happening in both web and on ios/android. I've read all pages from google and here. But mostly the problem is firestore rules on Realtime db or solved by setting .read/.write rules to true.
This is the auth called on OnInit() when user is created or logged in, continueLoad() is called:
...ANSWER
Answered 2021-May-26 at 14:10Finally i found the problem. As mentioned in the beginning som plugins were updated. (After trying a new plugin). So after hours and hours of debugin. I downgraded to Firebase 8.1.2 and @angular/fire to 6.1.5 everything worked again..
QUESTION
I have an Ionic app that is already almost done. Until now, I've been testing it with the regular ionic build method, and then using Capacitor to make an APK to test. That works well, just as the app does in the navigator, when developing it.
But when I try to use the --prod flag to optimize my code, I receive a huge amount of template errors that don't allow me to compile the code. Needless to say, these errors never show up on regular builds.
Steps to Reproduce: Having a normally working version (both for Android and web), try to build a production version with ionic build --prod.
Output: Here you have a part of my output. You can see it mainly affects the templates:
`
Error: src/app/app.component.html:10:5 - error NG8001: 'ion-menu' is not a known element:
- If 'ion-menu' is an Angular component, then verify that it is part of this module.
- If 'ion-menu' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
10 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:18:16 18 templateUrl: 'app.component.html', ~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component AppComponent.
Error: src/app/app.component.html:10:60 - error NG8002: Can't bind to 'disabled' since it isn't a known property of 'ion-menu'.
- If 'ion-menu' is an Angular component and it has 'disabled' input, then verify that it is part of this module.
- If 'ion-menu' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
- To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
10
This is my main module:
...ANSWER
Answered 2021-Mar-23 at 18:03Import IonicModule in your all modules where ever you used ionic components and also in your app.module.ts.
QUESTION
[ Contextualizing the problem ]
I have an Ionic PWA project in production.
I need to generate Android apps using the same project and I am using capacitor to generate apps and resources.
Apk files were created correctly, but the application icon was not. When using the default app icon (capacitor icon) it works, when using the custom icon, the image is cut.
[ Scripts ]
Below are the steps to generate.
The configuration is ok, at first. All scripts run without alerts.
Generate resources
...ANSWER
Answered 2021-May-12 at 17:20The dimensions created are the same in both solutions, but using cordova-res
my icons are generated without correct border for icon round.
Using a web solution like https://easyappicon.com works.
QUESTION
I just cant figure out how to solve this problem. I've tried many solutions but nothing works for my case. So i put my project in xampp\htdocs with folder name exam-ionic.
Then when i tried to add platform android the error
Error: ENOENT: no such file or directory, open 'c:\xampp\htdocs\exam-ionic\android\package.json'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'c:/xampp/htdocs/exam-ionic/android/package.json
This is when i run ionic cordova platform add android --verbose
ionic:utils-process onBeforeExit handler: 'process.exit' received +0ms ionic:utils-process onBeforeExit handler: running 1 functions +2ms ionic:utils-process error while killing process tree for 6724: Error: Command failed: taskkill /pid 6724 /T /F ionic:utils-process ERROR: The process "6724" not found. ionic:utils-process ionic:utils-process at ChildProcess.exithandler (child_process.js:308:12) ionic:utils-process at ChildProcess.emit (events.js:315:20) ionic:utils-process at maybeClose (internal/child_process.js:1048:16) ionic:utils-process at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) { ionic:utils-process killed: false, ionic:utils-process code: 128, ionic:utils-process signal: null, ionic:utils-process cmd: 'taskkill /pid 6724 /T /F' ionic:utils-process } +916ms ionic:utils-process onBeforeExit handler: error from function: Error: Command failed: taskkill /pid 6724 /T /F ionic:utils-process ERROR: The process "6724" not found. ionic:utils-process ionic:utils-process at ChildProcess.exithandler (child_process.js:308:12) ionic:utils-process at ChildProcess.emit (events.js:315:20) ionic:utils-process at maybeClose (internal/child_process.js:1048:16) ionic:utils-process at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) { ionic:utils-process killed: false, ionic:utils-process code: 128, ionic:utils-process signal: null, ionic:utils-process cmd: 'taskkill /pid 6724 /T /F' ionic:utils-process } +3ms ionic:utils-process processExit: exiting (exit code: 1) +5ms
This is my ionic info
...ANSWER
Answered 2021-Apr-28 at 19:04I was running with the same error and today I found out the solution. In the past, I tried a capacitor plugin, but my project is cordova, so I removed it from my project. But I think that some files were not properly deleted and when I ran ionic repair, the problem started. So, to repair this I deleted the ANDROID folder at project root, any files related to Capacitor at root, edited the package.json and removed everything related with Capacitor and everything works again.
QUESTION
About 15 minutes ago I was not getting this error, but after running npx audit fix --force
this error occurs when running npm run build
in my Ionic capacitor project:
ANSWER
Answered 2021-Apr-05 at 17:19Welp, no luck with fixing. I reverted back to its original state in a backed-up folder and didn't use the npx audit fix --force
commands. Be sure to always backup your important project files!
QUESTION
I am install any Cordova plugin after run ionic serve that time show error
[error] Error: The target entry-point "@ionic-native/device" has missing dependencies:
- @ionic-native/core
[ng] An unhandled exception occurred: The target entry-point "@ionic-native/device" has missing dependencies: [ng] - @ionic-native/core [ng] See "C:\Users\abc\AppData\Local\Temp\ng-LALJIx\angular-errors.log" for further details.
[ERROR] ng has unexpectedly closed (exit code 127).
...ANSWER
Answered 2021-Apr-02 at 06:09finally I solved by installing @ionic-native/core dependency by running npm install --save @ionic-native/core
QUESTION
I am getting following error while copying icons and splash screen using cordova-res
.
I am using capacitor to build the app
I am using following command to copy the icons:
...ANSWER
Answered 2021-Feb-03 at 16:27If you using ionicframework try this
ionic cordova resources [] [options]
QUESTION
import {Plugins, CameraResultType} from '@capacitor/core'; <===============
angular.module('settings.ctrl', ['mn']);
angular
.module('settings.ctrl')
.controller('settingsCtrl', function (
...ANSWER
Answered 2021-Mar-19 at 12:52I'm pretty sure you're seeing those errors because of the old version of AngularJS (1.8.x).
My first suggestion would be to upgrade to the latest Angular. If you're already using Ionic framework, consider bootstrapping your app with their cli, since it uses the latest version of Angular.
If you can't upgrade, there are some changes that you need to make which have been documented here.
QUESTION
I installed a starter ionic tab project on mac. After building the app and running "ionic cordova run ios" command the app crashes on ios simulator and ios device. I guess its crashes as it just opens for a second and closes itselft. Not sure whats causing this to happen. The same app works if I use "ionic serve". Can someone please help us in resolving this issue?
Ionic:
Ionic CLI : 5.4.16 Ionic Framework : @ionic/angular 5.5.4 @angular-devkit/build-angular : 0.1101.4 @angular-devkit/schematics : 11.1.4 @angular/cli : 11.1.4 @ionic/angular-toolkit : 3.1.0
Cordova:
Cordova CLI : 10.0.0 Cordova Platforms : none Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)
Utility:
cordova-res (update available: 0.15.3) : 0.15.1 native-run (update available: 1.3.0) : 0.3.0
System:
Android SDK Tools : 24.4.1 (/Users/WashConnect/Library/Android/sdk) ios-deploy : 1.9.2 NodeJS : v13.7.0 (/usr/local/Cellar/node/13.7.0/bin/node) npm : 7.5.4 OS : macOS Mojave Xcode : Xcode 11.3.1 Build version 11C504
...ANSWER
Answered 2021-Feb-18 at 07:14As per the Ionic instructions for iOS Development, you should first open the project in Xcode and run from there (rather than using the CLI). This will allow you to fix any signing issues, add a development team to your app, etc.
You will find the project within the platforms/ios
folder - the file will have the extension .xcodeproj
. Once you have completed this process through Xcode, it should work from the command line in future.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cordova-res
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page