Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228598 articles
Browse latest View live

Ionic5 prod build fails

$
0
0

You seem to use a very old Version of the Ionic CLI. Try upgrading it:

npm uninstall -g ionic
npm install -g @ionic/cli

Ionic5 prod build fails

$
0
0

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

Ionic/angular > 4.11.6 Scroll broken

$
0
0

There are currently 2 issues with scrolling. The second one has been introduced newly, the first one has been here for years:

  1. All latest ionic versions have a bug in the scroll behaviour.

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:

ezgif-2-fc4f9d0e570b

Is unproduceable here: https://github.com/ionic-team/ionic-conference-app

  1. Also noticable in the ionic conference app, when going BACK it doesnt store the scroll position.
    Its a few years now with this bad behaviour, is there any better workaround that storing the position manually on leave and scrolling to it on init?

Edit: Sorry for the low quality gif, the forum automatically compressed the original high quality gif.

Ionic Storage for production use?

$
0
0

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?

Missing phone app folder

$
0
0

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”.

TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (native)

$
0
0

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.

Can't solve ERR_CLEARTEXT_NOT_PERMITTED error on android device while connecting from localhost server ionic 4

Installation instructions for plugins gone after Ionic 5

$
0
0

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


Ionic Storage for production use?

$
0
0

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.

How to open link EXTERNALLY

Ionic5 prod build fails

iOS 13.2 kill() returned unexpected error 1

$
0
0

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!

QR Reader on Ionic React

Making component to wait until async operations in the provider constructor gets resolved

Installation instructions for plugins gone after Ionic 5


Storage- Ionic2 RC

$
0
0

I can’t make head or tail of this post. What wasn’t available?

Installation instructions for plugins gone after Ionic 5

$
0
0

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).

ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android

Is it possible to run Ionic 3, Ionic 4 and Ionic 5 on the same machine?

$
0
0

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.

Ionic 4 angular downloaded file using http get not exist

$
0
0

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.

Viewing all 228598 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>