Most voted "ionic" questions
Ionic is an application development framework for mobile devices that aims to develop hybrid apps and fast and easy development, using HTML, CSS and Javascript.
Learn more…919 questions
Sort by count of
-
1
votes1
answer200
viewsError when buildar for android Ionic
I’m getting the following error: BUILD FAILED in 0s /home/Flavio/helloworld/Platforms/android/gradlew: Command failed with Exit code 1 Error output: FAILURE: Build failed with an Exception. Where:…
-
1
votes0
answers463
viewsAngular mask-input-masks in Angularjs
I’m trying to use the angular mask-input-masks in the Angularjs (Ionic v1) found in the link: https://assisrafael.github.io/angular-input-masks/ I follow all the steps in the documentation:…
-
1
votes1
answer63
viewsIonic 3 Missing Localstorage
I have an Ionic 1 application that saves some information in the Torage locale. I rewrote the same application in Ionic 3 with the same package id(widget id in config.xml), but when installing the…
-
1
votes0
answers100
viewsSave result from Firebase and Ionic calculation
I’m trying to save a result from a simple sum in Firebase but I can’t recover the value and insert it. Where I’m missing? Home.html <ion-content padding class="content"> <form…
-
1
votes1
answer106
viewsIonic Directive for numerical masking is not accessed from other pages
I created a project with Ionic with two pages: Login and registration. The structure is this In both I tried to add a directive that creates a mask for CNPJ. Follows code of the directive import {…
-
1
votes0
answers29
viewsHow to set an array of pages in a function and return to a variable, NAVCTRL IONIC
I’m making an application in which the app component has a side menu that uses a Let to fetch the array of pages, however I cannot access them from my previous, not getting the return. //I want to…
-
1
votes0
answers124
viewsRecord API response with Angular/Ionic
I’m having a question with the Angular/Ionic I’m using to build an app. I own the following: import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Injectable } from…
-
1
votes0
answers245
viewsPre-select first element of the array
My select <ion-item> <ion-label floating color="primary" interface="popover">Opções de Parcelamento</ion-label> <ion-icon name="pricetags"></ion-icon> <ion-select…
-
1
votes1
answer3271
viewsHow to put a background image in my ion-content
I would like to add a background image at the bottom of my login Follow the html code of my login.page.html <ion-header> <ion-toolbar> <ion-title…
-
1
votes0
answers194
viewsCordova-pdf-Generator Ionic plugin
I use the c plugin in Ionic to generate a pdf type file, but notice in the example below the writing is html. Does it have a way to instead I generate the pdf generate an html file? import {…
-
1
votes0
answers79
viewscreate and write with Cordova file Ionic plugin
I am trying to write to a file using the Cordova file, as I cannot write straight to the Assets (which is read-only), I move the file and try to write, but it falls in the catch erro2.…
-
1
votes0
answers33
viewsIonic - Condition in which if the field already exists it will be added again
I have a question on Ionic, I’m trying to do that if the field that would be the zip code is already in the table it will automatically fill the rest with what has already been typed in this zip…
-
1
votes1
answer642
viewsError PATH Android Ionic Cordova
Well, I have installed Ionic in the new version, and android studio normally and even these days worked. Now when I went to build, I returned these two errors: Failed to find 'ANDROID_HOME'…
-
1
votes1
answer68
viewsPass SQL values to another Ionic 3 page
I have an input on a page that is stored in the database and would like to show what was stored on a new page. </div> <ion-list> <ion-item> <ion-input type="text"…
-
1
votes3
answers375
viewsGo through a for to fill a table in pdfMake
I am building a pdf of a sale. I am performing dummy data testing to validate the document layout. But the layout is "popping" as you go through the for. This is my code: createPdf() { var column =…
-
1
votes1
answer805
viewsError running Ionic Cordova run android --device command
When I run Ionic Cordova run android --device in my project it appears the following message. [ERROR] An error occurred while running subprocess native-run. My Ionic.info: Ionic: Ionic CLI : 5.0.1…
-
1
votes1
answer558
viewsI need to export a variable from one typescript to another, but the variable does not get the value I need
I need to export the language variable of a ts to another, however, the variable (language) that is being exported does not present the value that I want to export. I tried to put the export in some…
-
1
votes1
answer153
viewsProblem with IONIC versions
Currently the Ionic is in version 4, but I prefer the Ionic 3 mainly to program the themes of my application. So I did the downgrade for version Ionic 3.1.0. But I’m faced with a big problem, typing…
-
1
votes0
answers181
viewsCreating a repetitive Ionic table
Let’s get down to the problem: I need to create a table by Ionic that, as in the Instagram album, is divided into 3 images per line, this code was made by angular. Here’s my HTML code in Ionic:…
-
1
votes0
answers234
viewsNgfor showing only one result - Ionic
Personal I need some help from you. I am trying to show you the information of each ion-card on a Footer. The idea is as follows: On the homepage will have ion-card with summary information of the…
-
1
votes1
answer66
viewsHow to color a button corresponding to a selected value?
My question is as follows. I created a simple matrix with animal names. For each name I push a button dynamically, and manipulate the DOM of this button to get a color for when selected, and a color…
-
1
votes2
answers166
viewsIonic (Angular) - ngModel inside an ngFor
Good afternoon, I would like an orientation, I am learning from Ionic and assembling an application, on my main page there is the following code: <form> <ion-card class="cardsIndex"…
-
1
votes1
answer242
viewsAccessing data from an Angular array
I’m trying to access a data ID that my API responds that it is inside an array: { "name": <name> "email": <email> "token": <token> "message": 'Token válido.' "subscriptions": [ {…
-
1
votes1
answer137
viewsSave data from Datetime in variable
Good morning, I am finishing an Alarm application where the user selects the time the Notification should appear, I am using the native component of Ionic, the ion-Datetime. But I can’t find…
-
1
votes1
answer383
viewsMongoose is updating wrong object in mongodb
I have a problem saving the data in mongodb. Context I have an express api that listens to requests to save the data to the mongodb an application sends. This data is related to APP page views,…
-
1
votes0
answers53
viewsHow to configure proxy with user and password in Ionic?
I’m trying to configure the Ionic proxy to download projects here in the company but something is wrong. In npm the proxy is set and works well (see file .npmrc):…
-
1
votes0
answers1810
viewsCORS error with Ionic/Angular application and PHP API
Access to Xmlhttprequest at 'https://exemplodedominio.com/app-api/api/login-register.php' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn’t…
-
1
votes1
answer47
viewsLow Resolution IONIC CAMERA
I’m having a problem with the resolution of the photos in my app. My file TS. this with the following settings: import { Component, OnInit } from '@angular/core'; import { PictureSourceType, Camera,…
-
1
votes2
answers1567
viewsAngular 9 - mat-form-field must contain a Matformfieldcontrol
I found some posts on the internet talking about this subject, but I found no solution to my case. I have a form and when I start the APP I get the message -> mat-form-field must contain a…
-
1
votes0
answers23
viewsDoubts about execution of Function in Angular/IONIC
I am studying Angular with IONIC and I have some questions about function execution and I would like to know if someone has how to explain me: I have that function: public faltas: number; public…
-
1
votes1
answer15
viewsMobile vibrating in silent mode even with the Vibrate : null property using the local notification plugin in Ionic
I want my app to show a progress bar when I start a download or upload. For this I am using fileTransfer plugins, local Notifications. The progress value is given according to the change of a…
-
1
votes0
answers29
viewssdk error while building android application below api level 24
I built a simple test app. When I build for versions of android sdk equal to or greater than 24 it recognizes the SDK and does the correct procedure, but if you try to build other versions like the…
-
1
votes2
answers63
viewsIndividual progress bar for each shipment
Today I can perform file uploading by displaying a progress bar. when I make a new request, the values in the progress bar alternate between the values of each upload. This way, I would like to show…
ionic apache-cordova file-upload cordova-plugin progress-barasked 3 years, 10 months ago Hérick Raposo 31 -
1
votes1
answer186
viewsProblem when trying to receive flag with transparent checkout in Pagseguro API
The problem is this, I am trying to implement the transparent checkout sandbox of the Pagseguro API, but when arriving at the step where the flag of the card is obtained, it always accuses error and…
-
0
votes1
answer1888
viewsError creating platform with Cordova in Ubuntu (ANDROID_HOME is not set and "android")
First of all, I confess that I am a beginner in Linux and currently use the updated Elementary OS Luna. So it’s been really hard for me to figure it out. I was able to install all the NPM stack…
-
0
votes0
answers428
viewsError generating Ionic apk debug
I’m generating the apk with : ionic build android so far so good from BUILD SUCCESSFUL and when I use: ionic emulate android also from BUILD SUCCESSFUL more when emulates only a white screen! in…
-
0
votes3
answers1278
viewsVariable appearing as html - IONIC FRAMEWORK
I’m starting at Ionic, I followed this tutorial, all right until then, however, when I go to index.html and put the variable {{firstname}}, in the browser it shows as if it were going through html,…
-
0
votes1
answer588
viewsHow to make a hybrid application for Android run in the background?
I wonder if it is possible to make a hybrid application for Android to have a service running in the background where even with the application closed I can receive information from a server and…
-
0
votes1
answer389
viewsIonic framework, for which platforms compiles ?
For which platforms does the Ionic framework compile ? and the end result is a native app or a web app that runs on platforms ?
ionicasked 9 years, 6 months ago Demetrius Fernandes 79 -
0
votes2
answers813
views$http works on browser and not android device
I have an application developed using Ionic Framework, is a hybridized application and we tested done in the browser worked perfectly when I generated the file . apk and tested both in emulator and…
-
0
votes2
answers1658
viewsHow to create App routes using Ionic and Angulas.js?
EDITED I was able to create routes with an example from the site itself. But I noticed that the controllers are in the same main file app.js and the views stay in the archive index.html. I wonder if…
-
0
votes1
answer1462
viewsHow to search an Ionic Framework Angularjs list
Guys I have an application of Ionic, however I need to do a search or filter on the contacts that appear on the screen but I’m not getting and the worst that does not return any error: My control:…
-
0
votes1
answer214
viewsSend data to another tab through the "ion-option-button"?
How can I send data from one tab to another tab by clicking on the "ion-option-button" component? This target tab will have a form, the intention is to edit the data contained in a "". Data for…
-
0
votes0
answers99
views$Scope upgrade problem with Cordova and Angularjs
Hello. I am developing an app using Cordova, Ionic and Angularjs. And I have a problem updating an input. I have the following function that runs on an ng-click: $scope.buscarContato = function(){…
-
0
votes1
answer455
viewsDefinition of Ionicframework Routes
I use the tabs to display the contents of an HTML. <ion-view> <ion-nav-title align="left">{{cliente}}</ion-nav-title> <ion-content> <ion-tabs class="tabs-striped…
-
0
votes1
answer108
viewsProblem with get data at angular js
Good night, I’m trying to get php data through Angular.js but it’s not working. When I click on the category does not open the next page where the data will be shown. PHP <?php…
-
0
votes2
answers1179
viewsController does not see ng-model of Angular JS
The Create ctrl controller is not seeing the ng-model input of my form. I can pass values from the controller to the view but I’m not getting the reverse. Where am I going wrong? Controller:…
-
0
votes4
answers541
viewsNavigate through screens carrying information
I’m working with Angularjs and Ionic, creating a mobile application. I would like to know how best to navigate between the screens taking information from one screen to another. For example: In a…
-
0
votes1
answer170
viewsIonic project does not run on android
I’m trying to run an Ionic project on android but when I run ionic run android returns an excesses. How to solve ? Ionic info Your system information: Cordova CLI: 5.3.3 Ionic Version: 1.1.0 Ionic…
-
0
votes1
answer132
viewsBasic Auth with Ionic and Angularjs?
I am a native Android/iOS developer and am now starting to study Ionic for hybrid development. I need to make a connection with a webservice that uses Basic Auth and I’m not finding how to do this,…