Questions tagged as 'ionic3'

1
answer

Ionic 3 - My changes are not reflected when I compile

I have several problems with my ionic application. When I modify the views and run the command again $ sudo ionic cordova run android The app is installed on my phone but changes are not reflected, something as stupid as changing a word fro...
asked by 24.01.2018 / 21:30
1
answer

Ionic 3 refresh the left menu after logging in

I need to show elements of the side menu according to the role of the user. then I look in app.html if the page shows the items corresponding to the role. but it does not show elements in the side menu just after logging in, but after updating t...
asked by 22.12.2017 / 05:40
2
answers

How to correctly perform a function that returns a promise with Ionic?

I want to do a function that gives me back a promise, but I do not really understand the subject, what I tried is this MiFuncion(miParametro: string): Promise<void>{ // mi codigo ... console.log(miParametro) return new Promis...
asked by 18.10.2017 / 00:05
1
answer

How to select an element of the DOM with ionic 2?

I am developing an application with ionic and I need to capture an information that exists in an external web page, I have tried to embed the web with a <iframe> tag and I try to select the html element that contains the data...
asked by 26.10.2017 / 17:58
1
answer

Promises in ionic

I am practicing ionic to clarify concepts. In this case the promises. I have an app with 2 pages login and home. I want a user to validate the login, if it exists, redirect me to the home page. Otherwise stay in the form on the same page....
asked by 23.11.2017 / 15:47
1
answer

Because the if ... else is ignored

In this code I do not understand why the forward if is ignored because although there is an error in the authentication, it always goes to the main page regardless of whether the variable err is true. entrar() { var err=false; firebase.auth(...
asked by 12.03.2018 / 18:40
3
answers

Read Json ionic 3

I need your help on how to read or how to process data from a JSON (Object) that comes from a Java WS. What I've done is use HTTP from IONIC; the server responds correctly My question is how to read this Object (jSON) in IOnic. My WS return...
asked by 12.06.2018 / 16:01
1
answer

Firebase ionic 3 chat message time sent

I want to show the time of which I sent the message in the ionic chat, this is the way I was doing it to send to the database, but how I transform it to show it as time and day .. sendMessage(){ this.time = firebase.database.ServerValue.TI...
asked by 03.06.2018 / 07:14
1
answer

How can I include external js files in ionic 3

I'm working with ionic 3 and I try to work with js files ... I followed another post where they ask me to add some things in index.html and app.component.ts (and I have done it) but when wanting to show in console what contains the variable decl...
asked by 08.05.2018 / 14:40
1
answer

Cycle for in Ionic view?

I had a question and that is that I want to print an element in the ionic view a number of times according to a numeric variable let's say: public numero = 4; then in the view try doing a kind of cycle with *ngFor but w...
asked by 21.05.2018 / 14:11