Questions tagged as 'ionic3'

0
answers

Comparison of what is being typed on the screen with an element of the vector - Ionic

My code: (this.clients is the reference to the client vector) getItems(ev: any) { const val = ev.target.value; if (val == '') { this.clientes = null; } else if(val && val.trim() == this.clientes){ this.buscarUsuario(ev); }   ...
asked by 08.10.2018 / 20:05
0
answers

Error with search bar - Ionic

Order.ts: getItems(ev: any) { const val = ev.target.value; if (val == '') { this.clientes = null; } else if(val && val.trim() != ''){ this.buscarUsuario(ev); } selectItem() { this.clientes = this.clientes.filter((cliente)...
asked by 08.10.2018 / 19:25
0
answers

IONIC 3 - When I call a screen through SideMenu, the back button on the Header does not appear. Does this have to be placed in app.components?

I'm starting to learn ionic 3 and creating a project, but when I enter a page through sidemenu the back button does not appear in the header ... Unlike if I enter the same screen by a button, in this case the back button. this.pages = [...
asked by 07.10.2018 / 17:56
0
answers

How to make complex queries on firebase with Ionic?

I'm making an app with Ionic 3, using Firebase as a backend, which functions as a social network. In an app screen the user can search for other users based on criteria such as: sex, minimum age, maximum age, city where they live, etc. The cr...
asked by 02.10.2018 / 23:02
0
answers

Bring information from Firebase to a Searchbar - Ionic

Well, I'm developing an app with ionic 3 and firebase ... What I'm trying to do, would be basically to bring data from firebase (Real Time), and play inside a vector, and then check with Searchbar. But I'm having problems ... I can bring the data...
asked by 08.10.2018 / 14:52
0
answers

Sum of two fields and result in third - Ionic

I'm developing an app with ionic 3, and I want to do a calculation with some fields, and show the result in another input ... For example, I need to report a Selling Price, Quantity and Discount, the result will be shown in TotalTotal. <ion...
asked by 01.10.2018 / 14:18
0
answers

How do I get the URL of a Firebase Storage photo?

Good morning everyone, I'm having a hard time capturing the URL of a particular photo that is sent to firebase storage. The client registration works perfectly, the image upload is also done correctly. So I move to the variable client.foto recei...
asked by 22.09.2018 / 15:23
1
answer

How to update the amount of messages with socket.io in an Ionic3 Angular app for a particular endpoint?

I want to implement an icon in a view that brings the amount of messages that a user has in his box, however, updating the quantity information must occur in real time according to the model below Facebook: I have an endpoint of an API...
asked by 20.09.2018 / 17:18
0
answers

Function does not return the UID - Firebase

I'm developing an app with ionic 3 and firebase, and I'm encountering a problem, because the function I'm calling is not working as expected. I wanted it to return only the requests with this uid getAll() { var userId = firebase.auth().current...
asked by 20.09.2018 / 20:36
1
answer

Definition of RealTimeDatabase Rules

How should my rules be, so that a logged-in user has access, can read and write only in their requests ??? { "orders": {     "-LMqiTIhAr-VUMKpq8FD": {       "name": "asdasdsa",       "tel": "213"     },     "-LMr1wgwinGyew0rVpWs": {       "...
asked by 20.09.2018 / 16:23