Any updates here? I encountered same problem. I’m testing on android 10
uid.IMEI not working from a week or so
Cordova-plugin-fcm vs cordova-plugin-firebase
@Wcjord - I know this is really really old, but did you manage to find a solution ?
Migration from Angular to React
I’m not going to get into the details of that, I think many people can have their opinion and assessment of what they see online.
But I do wish to find a way to do this in Ionic regardless, and so far our efforts have proven unsuccessful, one example being during the build process.
Ionic app automation with appium - release choice instead of xpath
I’m still facing the same problem. What is best way to access Ionic elements using Appium ?
Why the size of a Ionic App for iOS is much bigger than the Android one?
Hi,
I have an Ionic4 App which contains some gifs, a pair of small gif animation and many Cordova plugins.
Now, the same app, on the Android store is 30MB, while on the Apple store is almost 300MB.
How is it possible?
I use this command to build the app on iOS:
ionic cordova build ios --prod --release
and this command on Android:
ionic cordova build --prod --release android
Is this normal?
Is there a way to optimize the iOS version?
Thank you very much
Claudio
E2e testing on mobile device
Have you been able to do it?
Ionic 4 - How to change css of ion-select popover
its worked…Thanks!!
SSL Trust Error on iOS device and stops sending rest calls once this error occurs
Same problem. Any idea?
Problems using Ionic on my PC - cannot serve a blank project
hello, The disk on my computer was recently corrupted. I had to get it replaced. After replacing I have been having some serious problems reinstalling ionic.
after reinstalling node.js - 13.7.0
then in cmd after running npm install -g ionic
I get the following warning but seems to install ok.
npm WARN deprecated superagent@4.1.0: Please note that v5.0.1+ of superagent removes User-Agent
header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-
Agent header). This notice will go away with v5.0.2+ once it is released.
C:\Users\stephen\ionic -> C:\Users\stephen\node_modules\ionic\bin\ionic
+ ionic@5.4.15
added 247 packages from 154 contributors in 18.455s
I checked the version
ionic version
returned 5.4.15
But after running ionic start and run a blank project I get the following error.
npm WARN karma-jasmine-html-reporter@1.5.1 requires a peer of jasmine-core@>=3.5 but none is
installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\webpack-
dev-server\node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY:
Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current:
{"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11
(node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11:
wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11
(node_modules\karma\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11:
wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11
(node_modules\@angular\compiler-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11:
wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2:
wanted
{ "os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code EEXIST
npm ERR! path C:\Users\stephen\test3\node_modules\browserslist\cli.js
npm ERR! dest C:\Users\stephen\test3\browserslist
npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\stephen\test3\node_modules\browserslist\cli.js'
->
'C:\Users\stephen\test3\browserslist'
npm ERR! File exists: C:\Users\stephen\test3\browserslist
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\stephen\AppData\Roaming\npm-cache\_logs\2020-01-31T11_10_22_715Z-
debug.log
[ERROR] An error occurred while running subprocess npm.
It does create the blank project, but I attempt to serve it I get the following error:
ionic : The term 'ionic' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ ionic serve
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (ionic:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The only possible error I can think of is my old user drive is stored on my desktop and duplicate file paths may exist (obviously not perfect duplicates but folder names etc)
Problems using Ionic on my PC - cannot serve a blank project
Actually I see they have upgraded to ionic 5… this must be the problem… I have a project I am already working on. How do I install ionic 4???
Change ion-input type. Show/Hide password directive/component
HTML
<ion-label position="floating">Password</ion-label>
<ion-input [type]="hide ? 'password' : 'text'" required></ion-input>
<ion-icon [name]="hide ? 'eye' : 'eye-off'" (click)="hide = !hide"></ion-icon>
TS
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-login-form',
templateUrl: './login-form.component.html',
styleUrls: ['./login-form.component.scss'],
})
export class LoginFormComponent implements OnInit {
hide = true;
constructor() { }
ngOnInit() {}
}
I think that the easiest way to chage attributes value is with an if and a boolean, in this case by clicking on the eye icon
Cordova-plugin-fcm vs cordova-plugin-firebase
I’ve just been checking for missed messages when the app foregrounds.
Install production version of ionic 4 - I do not want ionic 5
I see they have updated to ionic 5. I want to use ionic 4 how can I install this on my new PC.
npm install -g ionic
installs version 5
Can I tweak the "watch" glob for running with live reload?
I’ve got an Ionic 4 / Angular 8 project in which I’m moving business logic from the app into a library. Ultimately, the library will be moved to it’s own workspace, but in the meantime I’ve got them both inside the same workspace.
This means my workspace for this project contains (amongst other things):
-
projects/lib/
with my library source code -
dist/lib/
with the compiled library output -
src/
with my app source code
While working on this, I’ve been running two terminal commands:
ng build lib --watch
ionic cordova run <platform> --device --livereload
The first command work exactly as expected, but the second seems to be watching everything in my workspace folder… So, the app running on my device reloads when I make changes to my library code, without waiting for the library to finish building.
I’m just curious, has anybody else set up an Angular workspace with Ionic project like this? Is there perhaps a better way to “dev” it?
Note: I did consider moving the application project into it’s own projects/app/
folder, however I’m (a) not sure if that would actually help in this case with using Ionic to run it, and (b) having the library project in this workspace is just temporary, it will be removed as soon as I done with the refactoring.
Firebase.h not found
Hello everyone, I hope you are well!
I’m building an ionic APP using the FCM plugin on IOS, but when I send it to xcode I get the message Firebase.h not found in FCMPlugin.m, I checked on the internet that I have to install the dependencies via pod but when performing the installations the error still continues, does anyone know how to solve this.
I thank you for your attention
Ionic media scanner
Can you guide me how to use it please ? l did several tries but isn’t working !
Ionic media scanner
cordova.plugins.
not found MediaScannerPlugin ! any solution ?
Ionic 3 cordova Contacts plugin lazy loading
same problem than you. with only 3k contacts. Did you find a solution ?
Restrict Input
/[ !~@#$%^&*()_+×÷°-={N}{};’:"|,.<>/?]/;
above expression is invalid in ionic 4
Install production version of ionic 4 - I do not want ionic 5
@brandyshea, @mhartington: This is an absolutely never-ending source of confusion here. Can you please issue some official advice about what terminology we should be using? I have been doing my best for years to get people to stop using “Ionic 3” and “Ionic 4”, but apparently have not made a dent at all.
@Mothbeard: “Ionic” isn’t a monolithic thing. The CLI (the thing that builds your app) and the framework (the thing that gets embedded in your app) run on parallel version tracks that aren’t related. CLI 5 has been released for a while, and is safe to use to build production apps of framework 3, 4, and 5 (which is still pre-release). So the bottom line is “don’t worry about it”, and if you don’t believe me, start a new project and look at its package.json
for the @ionic/angular
version therein.