Questions tagged as 'ionic3'

1
answer

What is the difference between defining a model as an interface or as a class in IONIC?

I'm a beginner in programming and my input language is Java. Studying some projects with Ionic, I found one that used an interface to define a model, for example: export interface Pessoa { nome: string; idade: number; } I remember...
asked by 06.09.2018 / 04:47
1
answer

Only bring specific data from firebase

Well, I'm trying to develop an app with ionic 3 and Firebase. But I'm having problems. You are bringing all requests to all users (getAll). I wanted to know the correct way for me to bring only the user requests themselves; getAll() { return...
asked by 19.09.2018 / 16:49
0
answers

How to store an Object in Firebase and use in Ionic 3

I want to store the following data in Firebase and use it in Ionic 3, but I did not find any clear documentation that could help me. Can someone give me a way? Follow the code showing the object inside my home.ts initializeItems(...
asked by 30.08.2018 / 19:50
1
answer

How to read an array string in Ionic / AngularJs or Javascript and pass to directives?

I passed parameters to another TS with: console.log('Data', navParams.get('sessoes')); That shows me this result: {data: "2018-09-11", weight: "200", sessoes: "20", repeticoes: "2", notas: "teste"} In this way, I can get each of the Ar...
asked by 07.09.2018 / 18:55
0
answers

How to start the app in Ionic inappbrowser without having to create an ionbutton on the blank page

Good afternoon. I'm trying to generate a webview with the ionic inappbrowser. I followed the youtube tutorials and everything happened to me. however I wanted a method that the page opened directly without having to create a first blank page wit...
asked by 28.08.2018 / 21:01
0
answers

Use filter or map in an observable firebase

I'm loading a list of firebase to display some items for selection via checkbox, true, or false. I'm trying to benefit from the filter or map command to only get the items that have propriedade selecionada == true , bu...
asked by 03.09.2018 / 16:39
1
answer

How to pass data from one screen to another with Native LocalStorage and Ionic 3?

I would like to know how to pass data from one item to a form in another view using Native LocalStorage from Ionic 3. I created a provider as shown below: import { Injectable } from '@angular/core'; import { Storage } from '@ionic/storage';...
asked by 29.08.2018 / 20:56
0
answers

Error running ionic cordova run android --emulate

I do not know what it is. I have already given a reward without a right answer in an earlier question. I'm about to drop the project.    What I've done:       I had to format the PC, until then working well.    When I create a new, blank...
asked by 23.08.2018 / 16:47
1
answer

Keyboard bugging image on android [IONIC 2]

I have the following problem: As you can see in the image above, when I click to type in the login and password fields, this white background appears in the image. I imagine the problem is related to the android keyboard, since IOS work...
asked by 23.08.2018 / 03:55
1
answer

Capture and create array of objects by checkbox Ionic 3

My question, I think it's something simple, but I can not come up with a logic. I own a sales application, which has a list of products being returned from the firebase, and each product has a checkbox next to it for marking. The logic is, th...
asked by 25.08.2018 / 16:30