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
votes2
answers673
viewsSum of values in Array returns Nan
I have an array of orders, plus one of them contains an additional value. I made the sum with $watchCollection, plus it is returning Nan result. How do you add these values, when the object does not…
-
1
votes0
answers127
viewsIs it recommended to create a custom splash screen in the phonegap?
It is good practice to create a splash screen customized. For example, there is the plugin splash screen, but I would like to create a own page without using the plugin and I would like to know if…
-
1
votes1
answer602
viewsHow to send data from an Ionic Framework generated form to a PHP file and return a JSON?
I’ve been following the documentation of Ionic Framework and selling tutorials on the internet, but there is no detail of communication with the server. I would like to send form data and receive…
-
1
votes1
answer559
viewsIonic error to start app
I’m starting my studies with Ionic v2. I upgraded the Ionic version to v2 however when I run the command ionic start wiltonfinances blank --v2 and displayed an error message. See the information…
-
1
votes1
answer562
viewsadd line break in Ionic notifications $cordovaLocalNotification.Schedule
I’m using the plugin cordova-plugin-local-notifications and I can’t make the line break in the notification text. I have the following code:: $cordovaLocalNotification.schedule({ id: options.id,…
ionicasked 8 years ago FLAVIANO INÁCIO 11 -
1
votes1
answer793
viewsVariable inside quotes - Angular
I am building a hybrid APP with Ionic, this uses Angular and I am not very familiar with JS. The point is that I need to insert a Youtube video into the file and ran into the following question: The…
-
1
votes2
answers115
viewsHow to delete data from google maps
I have an Ionic app that makes use of google maps. In this map I display information that the user provides. For example: The user wants to make a complaint that will appear on the map. However, if…
-
1
votes1
answer432
viewsHow to increase text font with Ngsatinize?
I am not managing to increase or decrease the source of my news, which is with the attribute Ngsatinize, does anyone know how to modify it ? or another way to satinize my html ?
-
1
votes1
answer91
viewsDoubt with Ionic project generation
I have this environment installed: Nodejs = Node-V6.9.1-x86. msi npm = 3.10.8 jdk = jdk1.8.0_91 Cordova = 6.4.0 Ionic = 2.1.13 When entering cmd as administrator, I requested the creation of a…
-
1
votes1
answer151
viewsSync files generated by Cordova in IOS app with cloud servers
In accordance with previous question, I am developing an application and part of the functionality of it is to run a kind of CRUD in directories and files through an IOS application, which based on…
-
1
votes1
answer299
viewsError install Ionic on Ubuntu
When I will install Ionic give Following error: npm ERR! Linux 4.2.0-35-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "cordova" "ionic" npm ERR! node v5.10.1 npm ERR! npm…
ionicasked 8 years, 7 months ago Douglas William 321 -
1
votes0
answers136
viewsProblem showing gallery camera Cordova Ios
I’m using the Cordova plugin $cordovaCamera.getPicture and when opening the photo gallery on Ios is breaking the label this way: First : I have the language of the device in Portuguese and is…
-
1
votes1
answer370
viewsIonic package returns: "Error: Unpublished by Drifty on 2015-04-22T14:17:30.006Z"
When using the ionic package to generate the app, is returned: Error: Unpublished by Drifty on 2015-04-22T14:17:30.006Z I couldn’t find any results on the internet that would fix this.…
ionicasked 7 years, 11 months ago Anderson Ferreira 21 -
1
votes1
answer76
viewsError: Uncaught Ionic 2
I have this: let loader = this.loadingCtrl.create({ dismissOnPageChange: true, }); loader.present().then(authData => { let alert = this.alertCtrl.create({ title: '', message: 'Cadastrado com…
-
1
votes1
answer1674
viewsRequest header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight
How can I eliminate this mistake? XMLHttpRequest cannot load http://www.ramosdainformatica.com.br/food/apinhac.php. Request header field Content-Type is not allowed by Access-Control-Allow-Headers…
-
1
votes0
answers194
viewsWebview component in Ionic?
Is there any component or plugin of Ionic that resembles the WebView of Android? Need to load a web page into the app.
-
1
votes2
answers615
viewsJson filter in Angularjs
I would like how I can filter this JSON by COD and bring only the chosen one. I am bringing the value of the code by the url and would like to filter only to display the name of the chosen option.…
-
1
votes0
answers28
viewsIonic - item does not bind in Nav-bar
I have an icon in the Nav-bar that should show or not true/false toggle position. Testing in the view works perfectly but the result does not work in the Nav bar. Both pages use the same controller.…
-
1
votes2
answers938
viewsPush in JSON Object Angularjs
How do I add 1 item to a json object in Angularjs. In case I have: {COD: 29, MOTIVO: "teste"} And I’d like you to stay: {COD: 29, MOTIVO: "teste", ID : 12345789} I tried it this way:…
-
1
votes2
answers2784
viewsHow to get the return (value) of a Promise in Javascript / Typescript?
I’m starting with Ionic 2, which uses Angular 2, and I’m trying to understand how Promises work, because some libs I’m using work have functions that return Promises and would like to get the value…
-
1
votes1
answer375
viewsHow to finish a loading screen after running Presets in Angular?
Good morning. I have a question, I have a controller that searches some data of a webservice Rest, and persists them in the device database (Ionic), to perform the search of the data, I am using…
-
1
votes1
answer287
viewsNotification of "app is running in background"
I developed application in Ionic successfully, but when it gets in the background I see a notification message "App is running in background". How to remove this message/notification?
-
1
votes1
answer725
viewsHow to Filter by Category via Modal checkbox using Ionic / Angularjs?
EDITED FOR BETTER EXPLANATION I have 3 types of filters: A research: <div class="bar bar-subheader bar-assertive"> <label class="item-input-wrapper textbox-search"> <i class="icon…
-
1
votes0
answers137
viewsError generating Signed apk in android studio
When running the command "Cordova build --release android", the following message appears Error: Could not find Gradle wrapper Within Android SDK. Might need to update your Android SDK. Looked here:…
-
1
votes1
answer118
viewsInitialize server.js IONIC 1 to run in "production"
THE SERVER.JS SHOULD BE STARTED AS SOON AS I RUN IT ON MY MOBILE ? How could I set you up to work that way? This is because I have a service in Mongo, and it needs to be run the connection to Mongo…
-
1
votes1
answer88
viewsHow to visually map an Ionic app?
all good? I wonder if there is any tool that draws the routes of an app? I wanted something like: App screens with route and controllers. My project is so big, I need a map... does it exist? Or…
-
1
votes1
answer339
viewsInappbrowser plugin does not work (Unknown Provider)
I have the following code: <input type="text" id="input-url" name="input-url" placeholder="URL do Servidor"> <button class="button button-block button-dark" ng-controller="AppCtrl"…
-
1
votes1
answer91
viewsDo not read the backend in View - Ionic + Angularjs:
I’m able to read my backend, but I can’t show the data in my view, which I might be doing wrong? In my controller I did the following, and at first I asked to read my backend:…
-
1
votes1
answer265
viewsSearch with Ionic 3
I need to do a search on Ionic 3 but I’m not getting it. <ion-searchbar [(ngModel)]="searchTerm" (ionInput)="filterItems()" placeholder="Buscar Pedido" > </ion-searchbar> filterItems(){…
-
1
votes2
answers887
viewsTransmit information between screens in Ionic with Angular?
Talk personal, all right? I’m going to describe the process that’s leaving me in doubt. I have a list of elements that is filled with data I have. When I click on a list item, I want the app to open…
-
1
votes1
answer212
viewsAngular asynchronous responses 4
I’m making a request, and I’m waiting for a return, however it is asynchronous, may or may not, in my case I just want to display a message on the screen. Time she send undefined and hours returns…
-
1
votes1
answer161
viewsAngularjs need to create a list-Divider in the middle of a list
Hello! I am doing a project for the college in Ionic using Angularjs and in it I have an arraylist with several words, using the orderby I left them in alphabetical order, but I have a problem, I…
-
1
votes1
answer138
viewsIonic 3 - CLI Generate does not make the module file
Hello! When I use the command "Ionic g page Example", the same creates only three files, instead of 4. -exemplo.html -exemplo.scss -exemplo.ts But I believe I need the example.modulets. because I’m…
ionicasked 7 years, 4 months ago Pedro Henrique 11 -
1
votes2
answers12370
viewsHow to uninstall Cordova and Ionic completely from windows
I need to uninstall Cordova and Ionic from my machine completely without leaving any reference or cache so that when reinstalling I ensure that all instances are absolutely new. I wonder what the…
-
1
votes1
answer1043
viewsExtract objects in Ionic
I’m trying to get the selected data from a Checkbox in the Ionic. My View is like with the CheckBox: <ion-view view-title="Comprar Bebidas Adicionais" hide-nav-bar="false"> <div class="bar…
-
1
votes2
answers428
views*ngIf with Boolean
I have a boolean argument on a *ngIf, however it does not seem to work. If the argument is true: <ion-input type="text" *ngIf="produto.fracionado" value="Sim" readonly></ion-input> If…
-
1
votes0
answers198
viewsAdd items to the local database as you select from the list
I want to make a list of products and as the person is clicking on Add (+) or Decrease (-) go showing the quantity in (+) or (-) and when clicking on "Continue Ordering" Register all items listed on…
-
1
votes1
answer926
viewsHow to check the internet before opening an Ionic app?
I’m developing a app Ionic with a iframe. To date the app is complete and running, but when access the same without internet appears an error message. I would like to place a message or a screen so…
-
1
votes1
answer42
viewsSize Scale to Convert psd> css Ionic ## Size scale to convert psd > css Ionic
My designer made the mobile template in photoshop with 1080x1920. How can I make proportional css? In what size should it draw, for the measures of photoshop to be equivalent to the measures of css…
-
1
votes1
answer1115
viewsProblem running "Cordova run" - A problem occurred evaluating root project 'android'
It’s the first time I’ve installed Cordova and I’m having the following problem when trying to compile any project: C:\ProjetosCordova\lsls>cordova run --debug ANDROID_HOME=C:\Android\tools…
-
1
votes1
answer238
viewsIonic 3 Prevent app Exit
I made an application using Ionic 3. When this on the main screen and in case the user clicks the back button the application is terminated. I wanted to put a "Prevent appexit" that checks that the…
-
1
votes1
answer1345
viewsHow to add or remove amount of items in an Ionic List
I am trying to add and remove quantity in a list of products, as shown in the image: This is the view of this screen: <ion-view view-title="Comprar Bebidas Adicionais" hide-nav-bar="false" >…
-
1
votes1
answer65
viewsBring in smartphone contacts
I made an application to bring the contacts from the device. My doubt is the following when I bring the phone it brings me an array, with type:mobile, value="" with the phone, how can I do a…
-
1
votes1
answer177
viewsHow to create a. bat file that Ionic serves?
Good evening, I’m trying to create a file . bat to run Ionic serves, however I’m not getting good results and I need help! Follow what I’ve done: cd C: Users ernetwork Desktop ERN_ADM instation site…
-
1
votes1
answer235
viewsGenerate Ionic Site Publish
Good morning, I need to publish a site with structure of Ionic (I know the main idea of it is to generate app, but we have this app and it has to be a site and an app at the same time), what is the…
-
1
votes2
answers568
viewsIonic with Cordova, Androidmanifest.xml build error
When in my console I give the command to compile my project in Ionic and Cordova, I get the following message: :mergeArmv7DebugResources UP-TO-DATE…
-
1
votes0
answers375
viewsCordova-plugin-file --- Download file outside the APP folder - Ionic 2/3
People would like a help, I need to save files that the user downloads from the app on the device, put out of the app folder. All file plugin paths. Example: Cordova.file.dataDirectory Do not answer…
-
1
votes0
answers102
viewsHow to perform a push notification before a certain deadline in Ionic?
Hello, I will try to clarify the maximum of my doubt , we go by parts: My user will schedule a task with date and time set, for example, scheduled a task on October 20, 2017 at 15:00 hours and other…
-
1
votes2
answers1391
viewsHow to pick up and store an array of data only if Quantity > 0 in Ionic or Angular?
I would like when clicking the "Continue Ordering" button to pick up only the items with Quantity > 0, store in an array of new objects. My View: <ion-view view-title="Comprar Bebidas…
-
1
votes0
answers63
viewsHow to send sms using javascript or angular or Node.js Free of charge
Good morning, I need a method or api that send sms for free, can be my number even tim(I have text plan)I searched and only found some easy-to-use pay... I’m getting ready for a university Ackathon…