Most voted "ionic3" questions
Ionic 3 is the third version of Ionic, an open source SDK that allows developers to create mobile apps using web technologies (HTML, CSS, and Javascript). Ionic 3 uses the Typescript language. Use this tag for feature-specific questions of version 3 or later, for general questions use the [Ionic].
Learn more…261 questions
Sort by count of
-
0
votes1
answer357
viewsHow to send data to a modal in Ionic 3 from a Storage?
I have a list and a register. The Register is a modal and works well: The View of the Register: <ion-header> <ion-navbar color="dark"> <ion-title>Adiciona Sessão</ion-title>…
-
0
votes0
answers113
viewsError Compiling Android - firebase
I’m having problems compiling APK by Ionic. I’ve removed Android Studio and downloaded again. I’ve removed and installed Android again. But it didn’t work. ionic cordova build android Returns the…
-
0
votes1
answer180
viewsBring only firebase-specific data
Well, I’m trying to develop an app with Ionic 3 and Firebase. But I’m having problems. You are bringing all the orders, for all users (getAll). I wanted to know the correct way for me to bring only…
-
0
votes1
answer23
viewsDefinition of Realtimedatabase rules
As should be my rules, so that a user logged in the app has access, can read and write only in your requests ??? { "requests" : { "-Lmqitihar-Vumkpq8fd" : { "name" means "asdasdsa", "tel" as in…
-
0
votes0
answers909
viewsIonic 3 Masks and CPF Validation
Good afternoon guys, I’m making a PWA app with Ionic 3 and I need to insert some masks in forms and validate the user’s CPF. I have tried various forms and libs, but have not succeeded in any. Could…
-
0
votes1
answer505
viewsAlign ion-navbar elements - Ionic
Hello, I want to do the alignment of 3 elements (IONIC) inside an ion-navbar but I do not know how to position the elements correctly, could someone help me? Below follows the excerpt of the code…
-
0
votes1
answer111
viewsSave a function’s results to an Ionic variable 3 + Firestore
How to save the result obtained in r.get('Quant') in a variable and return its value, because the first console.log shows the data I obtained, but the second does not, and the Return Quant always…
-
0
votes0
answers142
viewsBlank page when using Ionic serves
When I execute the command ionic serve, opens in the browser, but opens as a blank screen. This always happens when I run this command the first time. If I press the keys Ctrl+Shift+I the…
-
0
votes1
answer85
viewsError in Ionic 3
I downloaded the tools for using the framework Ionic Cordova Java I downloaded java jdk1.8.0_171 apache-ant-1.10. 4 android-sdk I set the environment variables I enter the line Ionic Cordova build…
-
0
votes1
answer90
viewsA page with a list of other pages
I would like to know how I do, for example, page that will list the other pages:APP,SITE,etc: import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular';…
-
0
votes1
answer339
viewsIonic 3, card carousel with image and title
I’ve been starting on Ionic a little while, creating an app, which in my idea precise adds a picture Cards and a title. An example of this would be the Google Playstore. But I have no idea how to do…
-
0
votes2
answers1014
viewsChange text color in Ionic
I’m making an application with the black background, and so the letters need to be white. Have some global variable to change the whole text at once, instead of changing each page at a time?…
-
0
votes1
answer108
viewsApp wiping data from main page, while switching to secondary pages (IONIC 3)
I have the page 'Orders' as main, where it has button to select the customer, and select the products. When I click 'select client' method selectClient(), send to page 'select-client', where is a…
-
0
votes1
answer153
viewsWhat is the split method in Ionic for?
Well, I’m developing an app with Ionic 3, and I hear about a method called split, but I never understood its functionality. I just understood that it is related to arrays. Faced with this : What is…
-
0
votes1
answer38
viewsRemove Whitespace in Array
Well, I’m developing an app with Ionic 3. When I try to record some data in the array, it appears " n" at the beginning and end of the array. Follow the code : element = this.pedido.produto; if…
-
0
votes1
answer62
views"Table" for queries only - Firebase
I’m developing an app with firebase (Realtime) and ionic3. I don’t know much about this technology, and I couldn’t clear up a question with my research: It is possible to create a table for query…
-
0
votes1
answer27
viewsI can’t go to the Page
Hello, here I am with one more question. I created a project on Ionic 3, and I have this profile menu , but when I click on each menu item , ( Cultural agenda, by region, blog..) does not open the…
-
0
votes1
answer204
viewsCreate background-image directive
I have an image directive, where if an image does not load I display a default image. Directive: import { Directive, Input, HostBinding } from '@angular/core'; @Directive({ selector: 'img[default]',…
-
0
votes1
answer593
viewsHow to Get Specific Return Data from a JSON with Ionic 3
I believe it’s simple, but coming out of Ionic 1 to 3 has changed so many things. I need to take all my Json returns from this routine (I actually need the user ID and log in localstorage):…
-
0
votes2
answers124
viewsForm data disappears when requested a second time
I hope I can explain the complexity of the problem. In the first request I make the form sends correctly and the data is filled in, as shown in the image below. But when I try again to send the form…
-
0
votes1
answer39
viewsHow not to allow the zoom of the phone in the App?
Good morning, you guys, I need to not let the user’s mobile zoom affect my App. I used the viewreport components: content="width=device-width, height=device-height, minimum-scale=1, maximum-scale=1,…
-
0
votes0
answers274
viewsDocument.getElementById no Ionic
I have an application developed with Ionic 3 and would like to know if this type of implementation should work. I have an html file with a div with id = corpoId. And in the implementation I open the…
-
0
votes1
answer36
viewsIONIC using native Audio
I am doing/studying IONIC and am stuck in a doubt while trying to play an audio. I set the buttons like this: And I tried to get the audio to work, only I don’t know how to pick just the one on the…
ionic3asked 6 years, 4 months ago Jefferson Bandeira Baptista 1 -
0
votes1
answer363
viewsFunction in Ionic 3
I’m doing a file function TS page, but would need to capture HTML information to make a conditional push(navCtrl) for each option... The list on which I need to get the information and the code:…
-
0
votes1
answer243
viewsALERT with input text and checkbox - IONIC 3
Hello, Need to create in a component Alertcontroller with a checkbox list and a text field , same in the code below alert.setTitle('Registrar item ? ' + p.descricao_resumida); for (let course of…
-
0
votes1
answer385
viewsWhite screen on IOS startup
I’m developing an app with Ionic in version 3 but I’m having a problem with the build for IOS, only for IOS. For several days I researched and did not find a solution to my problem, to be able to…
-
0
votes1
answer88
viewsPass-through id to another Ionic 3 page (Restful API with php)
Good afternoon, I’m making an application in Ionic 3 using the Restful API with php for connection to the MYSQL database and my app lists rooms of a house with its respective consumption, follows…
-
0
votes1
answer244
viewsSelect with Inner Join
Good afternoon, I am making an app where I need to list all rooms of a user and the last recorded consumption of each room, only that my code search wrong, if a room has more than one consumption it…
-
0
votes1
answer509
viewsHow to Get Header Information in Post Request, Ionic 3
Hello, I need to get the Token that returns in Header after I run a POST, I would like to know a way to achieve this, I am using Ionic 3 with Angular. What is the best way to get the Authorization…
-
0
votes0
answers61
viewsHelp with the IONIC REST API 3 tool
I’m new to developing with Ionic, and need to log in to an API, where I need to pass the login and password header in Base64 format, and also need to send the device data by body... I tried…
-
0
votes1
answer1469
viewsChange color of icon
How do I change the color of an icon when clicked? I have created custom icons and are working perfectly, but I would like that selected, change your color. I’ve tried everything but I haven’t got…
-
0
votes1
answer365
viewsuse ion-select dynamically
I put as options in ion-select, South zone, north, center and west. I want when I click on some option, to show only the information of that zone by taking the information from the database. At the…
-
0
votes2
answers289
viewsPromise/Observable Chaining in IONIC/Angular
Personal I am new in IONIC/Angular and I do not understand yet very well Promise/Observable and would like a help ! I have the following situation: User clicks on a button that will fetch…
-
0
votes1
answer603
viewsHow to pass a parameter from a page to a Provider in Ionic 3?
Good morning, I wonder if it is possible to define the ip address when consuming a web service Rest in Ionic 3, where the user could define the address and port to which the api would be. The user…
-
0
votes1
answer66
viewsHow to delete multiple items from the bd with checkbox marked in Ionic 3?
I would like to know how to delete several items when the checkbox is marked, in sqlite, with Ionic 3, in the delete() function I do not know how to delete only products that are marked with…
-
0
votes1
answer183
viewsRemove line from footer
Hi, could someone give me a hand? I don’t know what could be wrong because I’ve used no-Lines before in another project and it worked perfectly, but here I can’t remove this line for nothing. It may…
-
0
votes2
answers532
viewsCapture and create object array by Ionic 3 checkbox
My doubt I believe is something simple, but I’m not getting to a logic.. I own a sales application, which has a list of products being returned from firebase, and each product of this has a checkbox…
-
0
votes1
answer108
viewsComponent problem called expendable in Ionic 3
Guys, I really need your help. According to this tutorial tutorial I need a custom component that displays the following error: "Can’t bind to 'expandHeight' Since it isn’t a known Property of…
-
0
votes1
answer145
viewsHow 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 Ionic 3’s Native Localstorage. I created a preview as shown below: import { Injectable } from '@angular/core';…
-
0
votes0
answers59
viewsHow 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 have not found any clear documentation that can help me. Someone can give me a way ? Follow the code showing the Object…
-
0
votes1
answer125
viewsHow to get the result of a JSON where the result is HTML and in the Ionic View render the HTML?
I have a JSON where the contents of some fields are HTML, I would like to present the HTML in the Ionic View already rendered. This is the JSON: [{"data":"2018-09-05","categoria":"1","desafio":"…
-
0
votes1
answer513
viewsHow to read an array string in Ionic/Angularjs or Javascript and move 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"}…
-
0
votes2
answers2829
viewsHow to add numerical values from an array?
I would like to know how I can get the sum of numerical values within a matrix. My case is the following, I am building a sales screen, currently I have an array with the products that the user…
-
0
votes1
answer67
viewsHow do I update the amount of socket.io messages in an Angular Ionic3 app to a particular endpoint?
I want to implement an icon in a view that brings the amount of messages a user has in their box, but the update of quantity information should occur in real time according to the model below…
-
0
votes0
answers252
viewsHow to get a Firebase Storage photo URL?
Good morning everyone, I’m having a hard time capturing the URL of a certain photo that is sent to firebase Torage. The client registration works perfectly, the image upload is also done correctly.…
-
0
votes0
answers18
viewsError with search bar - Ionic
Pedido.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…
-
0
votes0
answers107
viewsHow do I know if an image was actually shared on Instagram?
I’m developing an app that shares an image from inside it to the Instagram, is in Ionic 3. In the plugin documentation Instagram for Ionic says that the function returns whether or not the image was…
-
0
votes1
answer253
viewsion-select load application with an option already selected in Storage
I created a list in the application to which I can select an option that will be saved in the database, I would like when loading the application that the saved option already comes as selected.…
ionic3asked 6 years, 1 month ago Jefferson Bandeira Baptista 1 -
0
votes1
answer66
viewsScroll internal content div with Ionic edge
How to make the internal content of a div specific has scroll when the text is larger than the area? I was suggested to use the following code: html: <ion-content id="contrato"> <div…
-
0
votes1
answer117
viewsIonic 3 problems running project [Uncaught(in Promise): cordova_not_available]
The project was not created by me. I am unable to run the project. When trying to run the project with the command ionic server returns the message Uncaught(in promise): cordova_not_available. I…