Quantcast
Channel: Ionic Forum - Latest posts
Browsing all 230458 articles
Browse latest View live

Not able to store to storage after http request

set and get will be asynchronous, and if you legitimately only need ‘token’ then I’d say do this.store.set('token', response.data.token) .then(_ => this.storage.get('token')) .then(val => {...

View Article


Image may be NSFW.
Clik here to view.

Not able to store to storage after http request

Oh now it works. Thanks a lot for the help!

View Article


Dynamic key value for SQLite storage?

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

View Article

Dynamic key value for SQLite storage?

so instead, I tried this: this.storage.set(option.name, this.option); It works however it throws an error in console: undefined used as a key, but it is not a string. and it saves data under...

View Article

Image may be NSFW.
Clik here to view.

Dynamic key value for SQLite storage?

jamesharvey: this.storage.set(this.option.name, this.option ) Pretty sure this should work assuming this.option.name is a string literal and this.option is an object. this.storage.set(option.name,...

View Article


Dynamic key value for SQLite storage?

I got it working by using id instead. this.storage.set(option.id, this.option); will save a data object with a unique id into sqlite so you can save as many as you want without overriding… and you can...

View Article

FCM causing Ionic app to have error: libc++abi.dylib: terminating with...

i got same problem too

View Article

[SOLVED] Ionic Build Xcode Error :(

I’ve tried but not working for me

View Article


Image may be NSFW.
Clik here to view.

Dynamic key value for SQLite storage?

well, if something is undefined while you don’t want it to be undefined, then make sure it gets defined. Can’t be issue with storage then

View Article


How to implement Ionic 4 UI components API methods/properties and events...

hi you are ahead of the game. Ionic team is working overtime to get it released and documented Either dive into the source code on Github or check josh morony’s blog. He did a nice one on navigation...

View Article

Image may be NSFW.
Clik here to view.

Missing mandatory "onFail" callback function

I’m using the advanced-http cordova plugin. Followed all their steps in their github repo (https://github.com/silkimen/cordova-plugin-advanced-http#post) But when I try to run my code an error pops...

View Article

Populate a list with data from SQlite?

Hello guys, How can I populate an *ngFor list with all data from SQlite? For example, let’s say I have several data objects stored with different keys inside SQlite. and I want to call all of them up...

View Article

Image may be NSFW.
Clik here to view.

How to implement Ionic 4 UI components API methods/properties and events...

Here some code on modal github.com ionic-team/ionic/blob/d37623a2caaad64f66f1e008c6f8411c6bf8642a/core/src/components/modal/test/basic/index.html <!DOCTYPE html> <html dir="ltr">...

View Article


Image may be NSFW.
Clik here to view.

Ionic v1 will have support for the comming years?

Hello, im a developer of this awesome framework that i love . But I don’t know if this framework in the first version will have support for 1 or 2 years since now. It isn’t only in the framework...

View Article

Image may be NSFW.
Clik here to view.

Get response from a HTTP page

Hello, First of all, thanks you for the help, i’m sorry if my english isn’t perfect because i’m french. So, i try to get a response from a HTTP page in PHP with this @ionic-native/http My...

View Article


Unable to build. Error: values_values.arsc.flat: error: failed to open

I’m having trouble building the my ionic app. it’s saying values_values.arsc.flat: error: failed to open. at 1st I thought something wrong with my code. however I tried a super project ionic start...

View Article

Unable to build apk from ionic

I am unable to build apk from ionic project pls check my errors and suggest me the solution. C:\Windows\System32\baechat>ionic cordova build android cordova build android Android Studio project...

View Article


Saving image from base64togallery

this.base64ToGallery[‘base64ToGallery’](this.photonew, { prefix: ‘_img’ }).then( res => console.log('Saved image to gallery ', res), err => console.log('Error saving image to gallery ', err) );...

View Article

Image may be NSFW.
Clik here to view.

Change icon in check box

HTML <ion-item> <ion-label>Daenerys Targaryen</ion-label> <ion-checkbox color="dark" checked="true"></ion-checkbox> </ion-item> scss .checkbox-icon { border-color:...

View Article

How to set up native Google Maps' LatLng dynamically

Hello guys, my data provider has latitude and longitude information. I’m trying to load this information to google maps native plugin on page load. Here’s my data.ts: private places: any[] = [ {...

View Article
Browsing all 230458 articles
Browse latest View live


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