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
votes0
answers43
viewsIONIC-ANGULAR Problem with: You must include credentials to use this auth method
Hello, After implementing the Login method for my application and trying to log in, an error appears: "You must include credentials to use this auth method". I’ve looked in several places, but I…
-
1
votes0
answers54
viewsMoving data from one page to another via a button in Ionic 4
In a scenario where I have a home screen with an "ion-input" and a button. When you enter the code in the input and click on the button, I want to be redirected to another page and, I want this…
ionicasked 5 years, 7 months ago João Paulo Silva 15 -
1
votes2
answers917
viewsSelect only 1 radio button with Ionic
I’m trying to render some radio buttons using *ngFor and only that I can select or first or the last option, never the middle options. I got the following array: [ { "title": "First question",…
-
1
votes0
answers84
viewsHow to insert a field in a Firebase document by Ionic Angular code?
I am not able to insert a field with the user id in a document, I need the user.uid to become a field of type Boolean I tried that, but I miss the point: let{ user.uid : true } I also tried to add…
angular ionic firebase firebase-databaseasked 5 years, 6 months ago Leonardo Henrique de Andrade 11 -
1
votes1
answer1833
viewsHow to get the ng-value value of checkbox in Angularjs/Ionic
Imagine a traditional application in Angularjs <!DOCTYPE html> <html ng-app> <head> <script type="text/javascript"…
-
1
votes0
answers385
viewsIonic 3 Sliding Button
I need to apply the slider effect with these buttons. I have the following html: <ion-row class="row-two-button"> <ion-col class="button-group"> <button ion-button round…
-
1
votes1
answer800
viewsHow to create a function to go to another tab in IONIC?
Is there a function that allows me to go to a particular application tab in Ionic? Assuming I have that tab organization: <ion-tabs class="tabs-icon-top tabs-positive"> <ion-tab…
ionicasked 7 years, 3 months ago Noob Super Sayajin 135 -
1
votes0
answers60
viewsCordova-plugin-network-information problem with Inic v3
I’m beginner in Ionic and I’m facing a problem, the application I’m developing uses the inappbrowser plugin to display a responsive site so far ok. I need that now when user disconnects from the…
-
1
votes0
answers113
viewsHow do I finish this function by clicking the finish button?
ion-button block (click)="getLoc()">start ion-button block (click)="getLoc()">Finish When I click on the "Start" button, this function grabs the current location every 10 seconds, as I do to…
-
1
votes1
answer78
viewsHow do Ionic app running task in the background?
Hello, I am developing an Ionic application (Android and IOS) and this application needs to perform a task in the background every 1 minute even if the application has been closed or the mobile…
-
1
votes0
answers78
viewsProblem of Ionic Connection
Good morning, I have a project in Ionic, that for 2 days I can not pass the home screen, due to a connection error. However, I did not change the config files, and I have another version of it, in…
-
1
votes1
answer129
viewsLocation Accuracy Ionic Plugin 2
I’m using an API Location Accurancy Ionic v2 follows the code: cordova.plugins.locationAccuracy.canRequest(function(canRequest){ if(canRequest){ cordova.plugins.locationAccuracy.request(function…
-
1
votes1
answer682
views -
1
votes1
answer611
viewsIonic and Cordova build error: An error occurred while running Cordova build android --debug (Exit code 1):
I’m trying to compile my application, but it gives the following message:: > cordova build android --debug × Running command - failed! [ERROR] An error occurred while running cordova build…
-
1
votes1
answer308
viewsBuild Ionic on MAC: When adding plugin says " Requirements check failed for JDK 1.8 or Greater" but already installed
When I add the Ios platform on Mac, it gives the message that the codova file tranfer plugin has not been installed, to try with --force. But when installing with the command: cordova plugin rm…
-
1
votes1
answer217
viewsError installing Ionic 3 by NPM
I am using linux Manjaro and while installing Ionic by command sudo npm install -g ionic return me this error. [mike@mike-pc ~]$ sudo npm install -g ionic [sudo] senha para mike: npm WARN registry…
-
1
votes3
answers781
viewsProblem with CORS using Ionic and Lumen
I’m developing an app with Ionic and using Lumen in the backend API. I am having problems with 'CORS', already configured the server (both using the internal PHP server and Apache, and the same…
-
1
votes1
answer232
viewshttp request method post Ionic 2, angular 2
I’m making an http post request, but without success... I actually have a success in the header the same returns, but the body is not rolling. My code is like this: postRequest() { let myHeader =…
-
1
votes1
answer366
viewsdoubts firebase with Ionic (ion-select)
I have an application, and I want to know how to insert information into the firebase database and then put this data inside a ion-select, my application uses a select of professions such as:…
-
1
votes0
answers822
viewsError message Typeerror: Cannot read Property 'length' of Undefined
I am trying to create an UPDATE on but is always appearing error message: TypeError: Cannot read property 'length' of undefined app.controller.js" $scope.editTodo = function(usuario){…
ionicasked 6 years, 10 months ago soliney naiva 31 -
1
votes3
answers908
viewsI have the following error in my Ionic project "Error: Uncaught (in Promise): Typeerror: Cannot read Property '0' of Undefined"
Hello my Ionic project is with the following error (Error: Uncaught (in Promise): Typeerror: Cannot read Property '0' of Undefined) follows an attached image of the problem. I would like some hint.…
-
1
votes2
answers4175
viewsHow to pass a variable to another page using IONIC?
Hello, I’m making an application using the IONIC framework and I’m having trouble passing parameters to another page. I have the listing of items ( that are data that are coming from the database )…
-
1
votes2
answers138
viewsAutomatic cast with Typescript?
To the point: There is a way to cast automatically using an interface as a model in Ionic (Typescript + Angular 5)? If not, you can make Lint recognize that an object coming from the server is not…
-
1
votes1
answer15
viewsGulp watch shows a lot of Eslint errors. Which dependencies are missing?
I made git clone of an app Ionic 1 done with the Generator-M-Ionic I have taken the following steps to install the dependencies: npm install bower install npm install --global gulp-cli And the…
-
1
votes0
answers397
viewsClear Screen after Transition - IONIC app
I’m creating an app with Ionic and angular, and I’m making use of tabs. I have 5 tabs, and one of them displays a "Menu" page, this page contains the listing of other pages that are not in tabs,…
-
1
votes0
answers1036
viewsError: Uncaught Typeerror: Object(...) is not a Function
I am developing an application using Cordova + Ionic + Angular, but I have the following problem. From one minute to the next started giving the following error in Chrome: Uncaught Typeerror:…
-
1
votes1
answer23
viewsButton directing to visited page
Good Afternoon I have a problem with Ionic, I have a boot that is directing to my home page. Since when I direct, the Home Page appears as if I was already visited, the arrow appears to return. What…
-
1
votes1
answer30
viewsError when obtaining token in Interceptor - Type 'Promise<void | Observable<Httpevent<any>>' is not Assignable to type 'Observable<Httpevent<any>>'
I’m creating an Interceptor to send the token along with the requests for the Api. I use @ionic/storage to store my user information. However, when I try to get the token in the constructor to store…
-
1
votes0
answers73
viewsI cannot do Array (in JSON) in Typescript
Below is the Array I need: [ { "id":1, "nome":"LESPAUL", "validade":1525568400000, "dataGerada":1525914000000, "status":true, "itens":[ { "cliente":{ "id":1, "login":"gabriel", "senha":"123",…
-
1
votes1
answer68
viewsFirebase: Filter Child Node query on Angularfire2 firebase
I have this following structure: { "3" : { "data" : "2017-09-21", "fornecedor" : { "cnpj" : "123234534534", "fantasia" : "Barreirinha" }, "nNF" : 3, "peso" : 3, "precoCompra" : 6, "vendido" : false…
-
1
votes1
answer219
viewsHow to receive firebase information on an ion-select?
Hello, I’m having difficulty recovering information already stored in other registrations in an ion-select. In a previous registration the Local is already registered and in a second registration…
-
1
votes2
answers193
viewsChange title by icon
I am still learning about Ionic. I would like to know how to change the title of the guides by an icon or a custom image. HTML <ion-header> <ion-navbar>…
-
1
votes1
answer288
viewsData update with IONIC and Firebase
Good evening, I’m studying Firebase with IONIC and Angular (I’m not using Angularfire) and a question has arisen. How do I update the data saved in Firebase? To get the data I do as follows: const…
-
1
votes0
answers25
viewsRecover directory where apk was created by Gulp with Cordova-lib plugin
Good night, I’m having a problem to recover the directory where the apk file was generated. I use the Cordova-lib plugin in Gulp to build an Ionic application. The "real" problem is that I can’t…
-
1
votes2
answers198
viewsFilter in a Select MYSQL via PHP (Ionic 3)
Good afternoon to everyone, before explaining a little more about the doubt I would like to make it clear that I am very lay in the subject and, amazingly, I’ve been trying to solve this problem for…
-
1
votes0
answers460
viewsIonic Cordova-video player
I’m trying to add video in the app by following this tutorial : https://www.youtube.com/watch?v=E4S1yVBUPpk&t=9s I did everything right I believe, but when I run the application with Ionic…
-
1
votes1
answer141
viewsError when listing MYSQL data via Restful API with PHP (Ionic 3)
Good morning, I have a problem listing data in Ionic 3 using mysql. The problem is this, I have an app that lists the comforts of a house and the consumption of each room, but I can’t find the…
-
1
votes0
answers663
viewsIonic application on different versions of android
I’m having a problem creating an apk that runs on different versions of android. My phone has version 6.0.1 and runs perfectly but when I tried to install on an android 5.0.2 the application opened…
-
1
votes1
answer27
viewsProxie no Ionic
I’m having trouble making http requests on Ionic, I saw that one way to bypass CORS is by using proxies. I tried something like: Ionic.config.json: { "name": "appIonic", "integrations": { "cordova":…
-
1
votes0
answers67
viewsFields disappearing in Ionic after selecting a select match
I’m implementing a feature where the user selects an option from select and is sent to a function that adds to my model. For some reason, after selecting my option select, the next field of mine…
-
1
votes1
answer492
viewsIONIC3 - Error - Typeerror: Undefined is not an Object (evaluating '_co.person.id') - I can’t find the cause of the error
Hello I am developing an application with Ionic3, but I have an error that I can not find the cause, I thought it was a bug, already restarted the server (Ionic serve --lab) several times but the…
-
1
votes1
answer5065
viewsHow to navigate between pages using buttons with Ionic?
I’m trying to understand how to navigate between pages with ionic2. I want that by clicking the button below it redirect me to HomePage, how can I do this? Button in.html menu <button ion-button…
-
1
votes1
answer197
viewsHow do I show the msg "Login Successfully" to the user?
import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams, LoadingController } from 'ionic-angular'; import { trigger, style, animate, transition } from…
-
1
votes2
answers1149
viewsInsert comments into an IONIC app
I am creating an application where underneath the content of the page I have the option of the user to make a comment. I’m using firebase to register and login and I’ve even been able to record the…
-
1
votes1
answer153
viewsLocal notification smallIcon does not show IONIC
I need to change the smallIcon of my local notification, but I already set the location in my Resources but it still doesn’t appear. I tried something like: this.localNotifications.schedule({ id:…
-
1
votes1
answer574
viewsIonic 3 Http request does not add header Authorization
Hello, I have a serious problem doing an HTTP REQUEST POST when I need to add a custom Header. My Backend API, has some blocked routes and requires authentication via Token, I need to pass it in my…
-
1
votes0
answers320
viewsError while trying to login with facebook and google Native (IONIC3)
I am having some difficulties to implement the login of google and facebook Activate in an ionic3 application. The problems I get are the following, on my console : main.js:71 16 main.js:84…
-
1
votes0
answers100
viewsIonic+Firebase: Error: Uncaught (in Promise): [Object Object]
I am new to Ionic and I am facing a problem, I have this application that works with camera/ gallery, and I believe the error is in the file . ts is the code: save(animal) {…
-
1
votes0
answers72
viewsProblems in a list - Ionic
Well, I’m developing an app with Ionic and firebase. Everything is happening as expected, however, when I try to bring the data for editing, the data is all in a column of the list, I did several…
-
1
votes1
answer129
viewsHow to write data in firebase with Ionic?
i have an application that displays on the screen the latitude and longitude wanted to know how to record this data in firebase my home code is like this import { Component } from '@angular/core';…