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
-
2
votes2
answers844
viewsHow can I filter, both by Category and by Price?
I have 2 filter buttons: Sort by Price - That Works. Sort by Category - Doesn’t Work. I would like to operate the filter both by price and by category. Both are modal and I’m doing it this way: O…
-
2
votes1
answer410
viewsCall the USSD IONIC number
I’m trying to call a number USSD of my application IONIC, follows the code I’m using: <ion-item nav-clear menu-close href="tel:*000#">IOD</ion-item> However it appears on the cell phone…
-
2
votes1
answer973
viewsGenerators are only available for Ionic 2 Projects
I cannot solve following error: Generators are only available for Ionic 2 projects (CLI v2.1.8) Your system information: Cordova CLI: 6.4.0 Ionic CLI Version: 2.1.8 Ionic App Lib Version: 2.1.4…
-
2
votes2
answers93
viewsRandom background images with Angularjs
I am using Angularjs with Ionic to make an application. On a given screen, I need to display a random image. I searched a lot here and on the internet a way to do this, but only managed with normal…
-
2
votes2
answers752
viewsCordova Geolocalization
I’m having a very strange problem, I have an app running for a year and after a few months without updates when making a new release I realized that the geolocation was not working properly. When I…
-
2
votes1
answer639
viewsGroup data with Ngfor and Groupby
Before in Angular 1 when I wanted to make a grouping of data I did so: ng-repeat="(key, value) in me | groupBy: 'role_id'" In my object me had a list of users with a field role_id different. Then I…
-
2
votes0
answers28
viewsIonic.config.json and/or $ionicCloudProvider.init
What’s the difference between $ionicCloudProvider.init and Ionic.config.json. For example: When setting up Push, searching, there are programmers who insert the "app_id" and "sender_id" into the…
-
2
votes1
answer1629
viewsChange the header background of only one Ionic page
Has a project ionic and I need to ion-header-bar only one page has a different background than the rest of the application. Home () <ion-view view-title="Home"> <ion-content id="home"…
-
2
votes3
answers2758
viewsOpen google maps app via link via Ionic 3
I need to make a link that opens external google maps app on android and Ios (apple maps) that opens with marker in a certain coordinate. So far, the research found something similar to the…
-
2
votes1
answer164
viewsIonic record audio not back to view
I made an app, to record audio, it opens the native recorder but does not return the audio to view. .controller('MyCtrl', function ($scope, $cordovaCapture) { $scope.captureAudio = function () { var…
javascript angularjs apache-cordova ionic html5-audioasked 8 years, 6 months ago rodrigo.oliveira 1,251 -
2
votes1
answer918
viewsUpload image with form in Ionic or Angular
I want to take images of the device and upload the image to a certain path on my server. I’m trying to use the Cordova Image Picker with Base 64. In my controller I use:…
-
2
votes1
answer400
viewsHow to do by clicking the Alert ok, just then go to another page?
Good guys, I’m learning Ionic now in college, and would like to know if it is possible, in an Alert, to make it only after the user click 'ok', in my case 'change', it go to a certain page? Thank…
-
2
votes1
answer313
viewsSelect with Angularjs
In an IONIC/CORDOVA app using anglarjs I found myself with the following problem: The angular mounts the select leaving an empty option at the beginning. example: JSFIDDKE When selecting one of the…
-
2
votes3
answers752
viewsHow to format Date field in Ionic Form / Angularjs
I have a date field on a form that looks like this: <label class="item item-input item-floating-label"> <span class="input-label">Validade da Oferta</span> <input type="date"…
-
2
votes1
answer256
viewsPush Notification with Firebase + business rules
I have to receive push notification from firebase, but it is not for all phones that these notifications will be sent. My app checks for changes in contracts, the user reports a number of CPF and…
-
2
votes0
answers32
viewsIonic3 Push notification with firebase
Hello, I’m trying to use the Ionic push plug-in , with firebase but he’s asking me to do one thing. but I can’t find it and solve it import UIKit import Firebase @UIApplicationMain class…
-
2
votes2
answers850
viewsHow to load a value in select
$scope.init = function() { $scope.modelo = {}; $scope.marca = {}; $scope.modelo = {}; $scope.modelos = []; $scope.marcas =…
-
2
votes1
answer193
viewsJSON in PHP with existing fields printing as Null, how to resolve?
I have a SELECT that is not returning some fields, such as "Notes". In the following image I list the array and see that it is like "Null" the field remarks: My return SQL is this: <?php…
-
2
votes1
answer688
viewsCorrupted Ionic apk
I have an app published in the playstore, made with Ionic 3. I changed the machine did the installation again and tried to build the app with --release --Prod to sign the apk and see if everything…
-
2
votes1
answer208
viewsProblems using $state.go of the angular
I have the following code: .controller('cadastroCtrl', ['$scope', '$stateParams', '$http', function ($scope, $stateParams, $http, $cordovaSQLite, $window, $state) { $scope.emailCli = [];…
-
2
votes1
answer676
viewsHow to sort across multiple fields with Ionic and/or Angularjs from a JSON?
I’m trying to sort fields dynamically by Ionic and Angularjs. I started using the plugin Modal Select, with the button like this: <button class="button button-stable button-block icon-left…
-
2
votes1
answer34
viewsDesign requirements for publishing apps in the Appstore
I am developing an Ionic application, I have checked the layout/design documentation for Appstore applications, but I would like to know if there is any design requirement that I should be concerned…
-
2
votes2
answers58
viewsHow to read json in angular1?
I have the following json {"message": "457896","additionalData":{"google.message_id":"0:149534266","coldstart":false,"collapse_key":"com.ionicframework.lucasteste693113","foreground":true}} How can…
-
2
votes1
answer451
viewsView Firebase Child in Ionic
Hello! I have a project on Ionic that I need to display some promotions, however I need to "update" them after the app released. For this I’m using Firebase! I managed to display in the app what I…
-
2
votes1
answer54
viewsHow to use auto-Reload (browserSync) on Ionic server when in a Docker container?
I performed the installation of the ionic 3.20 in a container Docker. Everything works perfectly, but I’m having a hard time using the auto-refresh, when changing a file the content is not…
-
2
votes1
answer258
viewsError installing Onesignal plugin on iOS platform using IONIC FRAMEWORK
I’m developing an app using Ionic framework, but when adding the Onesignal plugin on iOS platform I’m having some errors: "Failed to install 'onesignal-Cordova-plugin': Undefined (Node:3302)…
-
2
votes2
answers537
viewsPermission denied on Firebase
I’m developing an app with Ionic 3 and the Firebase ... In the rules of Realtime Database, the problem arises: I try to put the rules pro type "user", but the following error arises : ERROR Error:…
-
2
votes1
answer13343
viewsANDROID_HOME Linux Environment Variable
I am having problem with the environment variable ANDROID_HOME, whenever I try to run the command to run an app in the emulator (or mobile connected), this error message appears Error: Failed to…
-
2
votes0
answers1870
viewsBarcode scanner for browser
The scenario is as follows: I’m creating an application in Ionic 2, but I need it to also be accessed through a URL in a browser, like Chrome. One of the requirements of this application is that it…
-
2
votes2
answers2327
viewsIn Ionic, the President is now Service?
I am working on two projects, one does not work generate Preview and the other does not work generate service. Can anyone tell me the difference? What should I change to the latest? service is the…
-
2
votes1
answer32
viewsHow to Add Angular Library to an Ionic Application
I have an angular 7 lib, which works normally when I import the library module into the main module of the Ionic application, the problem is that if I use the Ionic router to insert the "home"…
-
2
votes0
answers413
viewsProblems with ngFor object containing objects
I’m using it as follows: <ion-item *ngFor="let via of lines.daysOperations?.week?.tripA?.routes; let i = index" text-wrap (click)="toggleGroup(i+'i')" [ngClass]="{active:…
-
2
votes1
answer1332
viewsDecimal mask on an ion-input type "number"
I need to make a value mask (9 digits with 3 decimals), and when the user starts to enter the value, the field place the commas and point automatically, similar to what happens today in the bank…
-
2
votes1
answer465
viewsPutting a start time in Input date
Good afternoon, could you start the input date field with the time already filled ? in case I wanted to start with 23:59 and the date field to start same normal. Thank you
-
2
votes1
answer335
viewsApp stop working after firebase push notification on Ionic 3
I’m trying to make a push notification using the cloudSettings with firebase, but when I send a message the app stops working and the following message appears: app.modulets.: const cloudSettings:…
ionic apache-cordova firebase push-notification ionic3asked 7 years, 6 months ago DiegoAugusto 8,694 -
2
votes1
answer27
viewsError reading Localstorage array
Hello, I have an array and the user can shuffle the order of the items: Blusas = ['verde','azul','amarela','rosa','laranja','preta','roxa','vermelha',] After shuffling, this is the update capture…
-
2
votes1
answer250
viewsCSS options menu
Good morning, I need to create a menu in the right corner equal to the example, but I’m not getting... when I click my button it is necessary to open the menu on top of the button without leaving…
-
2
votes1
answer858
viewsIonic ng-if comparing values
I’m getting data on a API and I intend to check if percent_change_1h is less than 0, and if so displays a different text color. <ion-row> <ion-col> <ion-label…
-
2
votes2
answers1162
viewsIonic - wait for http get return
Edit: solution in the third answer. I’m trying to do a login function for a project on Ionic 2. This function checks if the user is registered in the database through the php server and returns the…
-
2
votes1
answer154
viewsFor do not wait to finish requisition, it continues counting
I am developing an application in Ionic and I have a problem when I do a loop loop. In this loop there is a call from a method of a previous, that makes a request put. My problem is that the for…
-
2
votes2
answers1849
viewsIs it possible to get the firebase user via UID?
Doubt consists in the following problem: I have a project using firebase and Ionic 3. I am using the authentication mode via E-mail, in which you have the email and UID stored. For example: I have 2…
-
2
votes1
answer146
viewsPass database content from one page to another
It seems to be something simple to research, but I’m not getting it. I would like when clicked on a list item, to open a new page with the detailed information of that item, will be the same…
-
2
votes1
answer333
viewsIonic - Send localhost post to external PHP API
Hello! I’m developing an app with Cordova/Ionic and I’m trying to send data via post as follows: public async login(usuario: string, senha: string): Promise<any[]>{ let body = new FormData();…
-
2
votes1
answer98
viewsImage upload to Apache2 server - Ionic 3 + PHP
Based on a tutorial (http://masteringionic.com/blog/2018-01-23-using-the-html5-filereader-api-and-php-to-upload-images-from-ionic-framework-apps/) I made an application to upload images on an Apache…
-
2
votes1
answer120
viewsPlace an IF inside HTML text with Ionic/firebase
so I’m having a problem with my code, I’d like to do an if inside my Ionic html code, something like: <ion-item class="camposSelect" *ngFor="let person of profiles" > <ion-label…
-
2
votes1
answer52
viewsHelp with product registration with images
I am trying to register products, where it is possible to register more than one photo per product. But in the service that I created, I call a for to fill the image matrix, this happens very well.…
-
2
votes1
answer381
viewsProblems while trying to recover data from firebase Realtime database
I’m doing my TCC using Ionic 4 and firebase Authentication and Realtime Database, for a few days I ended up crashing when I try to recover only one user from the database, when the user data is…
-
2
votes1
answer70
viewsApplication rejected in Apple Store due to language difference with IOS messages
I uploaded an app to the Apple Store, to be installed on iPhone and received rejection of it because of a strange thing: Guideline 4.0 - Design We noticed an Issue in your app that contributes to a…
-
2
votes1
answer274
viewsAlign label to right of icon
I have the following list of ion-item with some ion-label misaligned <ion-list id="sidenav"> <ion-item> <ion-icon name="home" item-left></ion-icon>…
-
2
votes3
answers66
viewsHow to run a search on an array until a condition is met?
I have an array of users coming from a firebase database, I capture this array and run a map to capture some information, for example: mount a Cpf array, phone... This Cpf array for example I will…