You seem to use a very old Version of the Ionic CLI. Try upgrading it:
npm uninstall -g ionic
npm install -g @ionic/cli
You seem to use a very old Version of the Ionic CLI. Try upgrading it:
npm uninstall -g ionic
npm install -g @ionic/cli
Thanks @EinfachHans but still the same problem after upgrading ionic/cli
> ionic info
Ionic:
Ionic CLI : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.0
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.2
Cordova:
Cordova CLI : 8.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
Utility:
cordova-res : not installed
native-run : not installed
System:
Android SDK Tools : 26.1.1 (/Users/lucascrivelli/Library/Android/sdk)
ios-deploy : 1.9.4
NodeJS : v10.16.1 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Catalina
Xcode : Xcode 10.3 Build version 10G8
There are currently 2 issues with scrolling. The second one has been introduced newly, the first one has been here for years:
When switching from 1 page to another, after the second page has finished loading, it also scrolls down to the same height as the previous page is:
Is unproduceable here: https://github.com/ionic-team/ionic-conference-app
Edit: Sorry for the low quality gif, the forum automatically compressed the original high quality gif.
In the docs this sentence catches me off guard a bit:
‘Ionic Storage is a free, open source alternative for indie devs, students & hobbyists.’
Is this implying it should not be used for production in mobile apps (iOS & Android)?
We’re using it to store two small bits of data: A location address and array of IDs.
My last question is, does SQLite (Ionic Storage) data persist after pushing mobile app updates with Ionic 4?
Hello. I noticed that on one of my apps doesn’t have a Android/data/appFolder… where is local storage information saved? Using indexeddb.
On AndroidManifest.xml already set android:allowBackup=“false”.
Yes. In my case in my package.json class all angular version was 5.2.11 but @angular/compiler-cli version was 8. So I changed it to 5.2.11, deleted node_modules and did npm install. It worked.
Hi @Pratikjaiswa15, did you find the solution?
Are you part of the Ionic team? I’m not asking for help… I’m just trying to point out a mistake.
The instructions within the plugin docs are for use with cordova, there’s no Ionic Native installation instructions… and no, this has not always been the case. Go to Ionic 4 and 3 docs (even Ionic 1 when it was ngCordova) the installation instructions have always been within the Ionic Plugin docs, just like the Camera example you gave
Hi @Rburch,
Yes, you can use Ionic Data Storage in production apps but remember that the data isn’t encrypted. It works fine for settings etc.
And yes the data should be persisted between updates as long as you don’t remove the app first - I just tested to update our app on iOS and the settings were kept.
IMO Important and/or secret information needs to be stored somewhere else; encrypted and ideally not on the device.
Perfect! Thanks.
had same problem, try updating dependencies as this issue says:
https://github.com/ionic-team/ionic/issues/20341
This page gives some good hints:
I ended up using Cordova to get it to work but I’m about to comb through the solution and see if I can get it to work with Capacitor.
Good luck everyone/hope this helps!
Is this close enough and/or useful to you?
This is a bug, so you should create a Issue here
I can’t make head or tail of this post. What wasn’t available?
FWIW, when I checked this yesterday, the installation instructions were there, but just mysteriously hidden. They show up if you manually dump the hidden
attribute off their tab container (by using Chrome Developer Tools’ element inspector).
Thank you, this worked for me.
This is a really confusing question, although virtually none of that is your fault.
“Ionic” consists of several parts, which change independently. The CLI is the part that “runs” on your development machine. It does not have anything to do with the distributed app binary that runs on your users’ devices. The framework is incorporated into your app binary, so it would be unusual to speak of it “running” anywhere (although I guess in a sense it “runs” as part of the apps it’s included in).
So, either way, the answer to your question is “yes”, but in two different senses. Yes, one instantiation of the Ionic CLI can build apps with versions 3/4/5 of the framework. Even if it couldn’t, for some reason, something like nvm can allow you to install multiple versions of the CLI in little sandboxes. And yes, one device can run Ionic apps built with different versions of the framework.
Can you please share how the stuff in what you have posted already is being called? I specifically would like to see something with the word “subscribe” in it.