Yes, but when I try to get the current user, it takes so much time, and it charge the loginPage for 1 or 2 seconds, and then pass to the homePage. I’ve tried with primises, callbacks, observables and so on.
How to conditionally set root page in Ionic 5
Navigation not works sometimes on ionic 3 push or setroot
In my experience, this is frequently caused by uncaught exceptions. Look in your JavaScript console.
Token verification with headers
So are a bunch of non-important things that should go away for clarity, such as all the header munging aside from Authorization
, which isn’t actually being done.
When you write
this.storage.get('token').then((val) => {
throwIntoOcean(val);
});
…I find it helpful to literally think of throwing things into the ocean, like the cliche of a message in a bottle. The stuff inside the then
clause will get executed, but the only place you’ll be able to do things with certainty once it has is in that then
clause.
So, to recap, your code gives a bunch of headers to the request that it doesn’t need (all of them you’re actually setting in time), is manually stringifying postData
(which it shouldn’t do because it ruins automatic content type setting), and doesn’t set the one header you do need to set.
I would suggest this post as an example that you could follow instead.
Ion-select - ngModel - number not allowed
Using ion-select with [ngModel] required value to be a string.
Model property is integer.
I have to create a property strModelProperty in my Page as NgModel réference and then on save function transform my string to number.
Any ideas ?
Best regards
Loading don't show in Android 5
I have this code:
showLoader() {
this.loaderToShow = this.loadingCtrl.create({
message: 'Autenticando...'
}).then((res) => {
res.present();
res.onDidDismiss().then(() => {
console.log('Loading dismissed!');
});
});
}
and in android 6+ works perfectly, but in Android 5, don’t show the loading.
any ideas to solve it
Regards
Ion-select - ngModel - number not allowed
I think you’re doing the best you can do here. Throw this on the pile of “stuff to hate about JavaScript”.
Loading don't show in Android 5
Which Webview/Chrome version does your android 5 device has? Maybe you are missing some polyfills for promises? Do you get any error in the console?
inAppPurchase2 and observables
Hi,
I integrating inAppPurchase2 into my app and I was wondering if you are using observables based logic and if yes, how do you guys manage the conversion between callbacks to observables with this plugin.
Or how do you manage the events to be able to propagate to your components/ services.
Cheers!
Ion-select - ngModel - number not allowed
Cool
Hate Js O_o i cant
Hope 1 day could “confirm” your project
Thanks my friend
Loading don't show in Android 5
Not is a error, because work fine in Android device 6, 7, 8… but not work in a Android device 5 dont Display dialog loading
Setting up a page that only appears once for new users
Add it inside device ready if you want it to happen as soon as the app opens up
Ionic help creating app
Hey,
do you have a preference which base you want to use ionic with ? (Eg Angular/React/Vue) I can help you out with building an angular application that you can port to android using capacitor
Error en ionic cordova build android
Ionic help creating app
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
Ionic help creating app
Yeah I created the project using angular in ionic cli😊
Ionic help creating app
Okay great, what’s your preferred way of communication, I can explain you how to go over it in a dm.
URL API Rest
Un favor, tengo el siguiente problema: Mi app llama Api Rest normalmente cuando en mi URL se encuentra en localhost, pero cuando coloco la dirección web de mi web hosting no llega a funcionar.
Lo raro es cuando lo llamo haciendo referencia a las api en mi local todo llega a funcionar,
this.http.post(‘http://jorgealiaga.000webhostapp.com/web_demo/login.php’, data)
/*this.http.post('http://localhost/web_demo/login.php', data)*/
Y la base de dato se actualiza en el servidor del web hosting,
Ionic help creating app
Discord link : https://discord.gg/nvDYYe
Images not loading in mobile
after too much searched result…
finallly it worked with your isea.
thank you so much
Keyboard hides input until I start typing
Is anybody out there who could provide a minimum working repo?
I tried this solution and although I spotted some obvious typos I could net get it to work
No errors, still the problem that the android keyboard is hiding the input field so one cannot see what one is typing.