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
-
0
votes1
answer221
viewsHow to organize Enum in an Ionic 3 project
I have a group of static messages for form field validation. These messages are present throughout the application and so I would like to use some way to make them dynamic and organized within the…
-
0
votes1
answer319
viewsIonic 3 Property 'value' does not exist on type 'Htmlelement'
I’m developing my first App using Ionic 3, and since I don’t have much experience in Typescript, I added jQuery to the project to perform functions such as enabling and disabling a textarea, or…
-
0
votes2
answers834
viewsHow to send headers on all Ionic HTTP requests 3
My code is like this, I would like to know how to send an Authorization token in all http requests made in Ionic 3: import { Component } from '@angular/core'; import { NavController } from…
-
0
votes0
answers32
viewsProblems with Ionic Native Device Accounts plugin
I’m trying to get accounts registered on the device with the device Accounts plugin Ionic, but in the file I have not returned anything on the console. My code is : testeSemNative() {…
-
0
votes1
answer53
viewsHow to show data stored in Firebase on Ionic?
Provider import { AngularFireDatabase } from '@angular/fire/database'; import { Injectable } from '@angular/core'; @Injectable() export class ContatoProvider { private PATH = "contatos/";…
-
0
votes2
answers225
viewsGet Access Token in Ionic
Through the command prompt I get an access token. curl -v https://api.sandbox.paypal.com/v1/oauth2/token \ -H "Accept: application/json" \ -H "Accept-Language: pt_BR" \ -u…
-
0
votes1
answer773
viewsCalling function typescript in a javascript function
I have a function that when you click on a button it creates a token from the user information. <button ion-button (click)="onTapBuyCart()"></ion-button> But when I try to call…
-
0
votes1
answer196
viewsUpdate array value with IONIC Storage
I am using Storage to store my order data as per the image below: I need to check if the request (numped) exists before saving, if it exists update its data, if not I add new request. However my…
-
0
votes1
answer553
viewsScroll problem when focusing on an input (Ionic)
Guys, every time I test my app on my phone, and I click on the input you have, the keyboard is covering the whole screen and I can’t see what is being typed in the input, I’ve looked at my css and I…
-
0
votes1
answer66
viewsMinimum date on Ionic Native Datepicker
I am using the Datepicker plugin to receive a date, I can get the date normally, the problem occurs when I use the property minDate, in my understanding, this would be a minimum date for selection,…
-
0
votes2
answers655
viewsHow to run the method only after the previous function has ended
I have the code below, but the method showVideo() is executed and follows the execution at the same time of the code below it, without waiting for the showVideo() is due to simultaneous execution…
-
0
votes1
answer1950
viewsIonic 4, take input value
Hello, I’m trying to get the value of an input in Ionic 4, (I’m new in Ionic), follow my code: Note: I receive as a result: Undefined html register.: <ion-header > <!--<ion-toolbar>…
-
0
votes1
answer537
viewsPlaying audio/streaming Ionic 3
Plugin used in resolution: https://github.com/amitkhare/cordova-music-controls-plugin how to add this image function to pause the music/audio/streaming that is playing on Ionic? I am playing a…
javascript ionic apache-cordova ionic3 cordova-pluginasked 5 years, 11 months ago Gustavo Marques 1 -
0
votes1
answer24
viewsError using getDetails() from googlemaps API, Typeerror: this is null (Ionic, angular)
I’m new at Ionic and angular. I’m looking for nearby places using nearbySearch() that returns a resolve of results, of this results caught the place_id of the place and put in the function…
-
0
votes0
answers182
viewsError in Ionic installation
Hello, I’ve been trying to insert Ionic on my pc ( WIN32 bits with Nodejs, java, java sdk, Git) installed all right, but following the steps as described on the official website of Ionic , always…
-
0
votes1
answer93
viewsTreat return of the maps api getdetails() function in angular/Ionic
I look for places close by with nearbySearch(), which returns an array of objects, from this return use the place_id to fetch the details getDetails(), that returns an object "place". Inside a loop…
-
0
votes1
answer282
viewsngModel inside ngFor - Angular/Ionic
I try to create a test with several questions and each question has 4 answers, my logic is, the first ngFor is the number of questions and the second is your answers. My problem is that when I type…
-
0
votes1
answer79
viewsCrashing app for no reason - Ionic 4
I am making an application (Ionic4, typescript, Node.js) for recording and playing audio where the user records the sound and after the audio is presented with a play button; Soon after the user…
-
0
votes1
answer32
viewsen - Http Post request error Ionic Probleme No 'Access-Control-Allow-Origin'
I’m having problems with the source of access on Ionic 3 I’ve already enabled header('Access-Control-Allow-Origin: *'); in PHP and apache .htaccess however the error continues to persist, I did some…
-
0
votes1
answer85
viewsIonic 4 navigate
Good afternoon, I am new to the angular/Ionic platform, I am studying and I have a function: async update() { this.contactService.updateservice(this.frmcontactdetail.value).subscribe(); const toast…
-
0
votes1
answer39
viewsSqlite Ionic 3 - Problem saving SELECT responses to an array
I’m on a project using Ionic 3 and need to manipulate data in sqlite. The current problem is the following, I run a SELECT in a table and store the return in an array (this.list_off) created in the…
-
0
votes0
answers77
viewsError generating IOS application build in IONIC
I’m trying to build an IOS app on Ionic. I rode in the terminal: ionic cordova build ios --release --prod But I’m getting: build-release.xcconfig line 28: Unable to find included file "..…
-
0
votes0
answers74
viewsHow to hide and show a div dynamically?
I need to dynamically show and hide a div. I even got something very simple using *ngIf, but what I need is that: When you click "the grid button", it opens the div only with the information…
-
0
votes1
answer228
viewsThread 1: Signal SIGABRT when trying to simulate application in XCODE
I am trying to test an application on Xcode but am getting this error on main: int main(int argc, char* argv[]) { @autoreleasepool { int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");…
-
0
votes0
answers88
viewsHow to position Popover correctly (Ionic3)
I need to position my Popover exactly next to the button (more) you have inside each item. Whenever I click the more button, the Popover is triggered, but it is always in the same position…
-
0
votes1
answer59
viewsMonitor method in Ionic 4
Good morning. In my code I have a method described below: public async DownloadOperacaoCodigos() { this.total = 0; this.contador = 0; // this.loading.presentNoDuration('Carregando Códigos de…
ionicasked 5 years, 9 months ago Edson Junior 1 -
0
votes1
answer41
viewsSending EMAIL in IONIC/angular generates an error Cannot read Property 'then' of Undefined, anyone know why?
home.page.html <ion-icon name="Send" size="small"></ion-icon> <button ion-button icon-only (click) ="sendEmail()"> Send Email </button> home.pagets. sendEmail() {…
ionicasked 5 years, 9 months ago Emilio Dami Silva 113 -
0
votes1
answer199
viewsDeleting Local Ionic Files 4
I basically made an application where the user records an audio, and then is presented to him with 2 options, Play and Remove. However my remove function is not working and Logcat neither debug…
-
0
votes1
answer56
viewsFirst ion-tabs tab does not show data
I have the following template with two tabs <ion-tabs tabsPlacement="top" color="primary" #entradaSaidaTabs > <ion-tab [root]="tabReceber" [rootParams]="paramsChart"…
-
0
votes1
answer26
viewsAudio CRS as a variable
Good morning, I’m having a problem adding the src of an audio passing through a modal. The page works as follows: 1) The user clicks on a button that opens a modal with a list of audios. 2) Inside…
-
0
votes1
answer74
viewsMethod does not start at first time (Constructor or Ionviewdidenter)
I have a function that should be loaded and generate a list when the page is loaded, but it does not happen as it should. When you click on the tab referring to the screen, the function is not…
-
0
votes1
answer156
viewsFirebase object always returning Undefined out of subscribe
I’m trying to do something simple. It happens that I need to obtain the quantity of stock of that item, at that given moment to then make the return and the feed of the stock correctly. I’ve built…
-
0
votes1
answer151
viewsUpper and Lower case function
Good morning, I’m trying to do two methods, one for uppercase and the other Ower, but I’m not getting with typescritp and Ionic, follow the code: I would like that when clicking upper, the text was…
-
0
votes1
answer459
viewsCtrl + c button in typescript, Ionic
Good afternoon, I’m trying to create a button to copy the text of an input, but without success, I’m trying with Clipboard and it doesn’t work, gives an error saying that 'copy()' is not a function.…
-
0
votes0
answers15
viewsCreate a user without current Logout - Firebase
When I am logged in to the App and create a new user automatically the active user becomes the newly created one. Some solution with Angularfire to get around this? collaborator.ts colaborador:…
-
0
votes1
answer47
viewsHow do I declare a arrray in Ionic and use?
export class StarterorderPage implements OnInit { $orders: [ { id: number, description: string } ]; constructor( public http: HttpClient, private route: ActivatedRoute) { } ngOnInit() { }…
-
0
votes1
answer304
viewsback menu Ionic v3 button
Good morning to all. I have a question, when I click on the menu and choose one of the options, it loads a new page, but it seems to me that in the stack is the previous page that contains the…
-
0
votes1
answer616
viewsNavcontroller push error
is giving error in the push =(( I am not able to make the home page call the Timeline page import { Component , ViewChild } from '@angular/core'; import { NavController} from '@ionic/angular';…
ionicasked 5 years, 9 months ago Fernando Alencar 13 -
0
votes1
answer339
viewsHow to use Infinite Scroll within an ion-card?
I need the InfiniteScroll issue an event while rolling the scroll of card, and not the page. import { Component, OnInit, ViewChild } from '@angular/core'; import { GrupoService } from…
-
0
votes1
answer67
viewsIonic time Picker Usability
Good evening guys, I’m trying to implement this Picker date in Ionic, but it’s not working. Has anyone ever used it ? Or does anyone know a 24-hour format? Link:…
-
0
votes0
answers86
viewsHow do I access the url that returns me in the.log console?
I am doing a photo upload to firebase Storage, everything goes well, the file is transferred and recorded inside. But when I sign up within the task I can’t get the image download url to record to a…
-
0
votes1
answer57
viewsHow do I make my title stick to color Primary as well as my icon?
I built a menu interconnected with the tabs component in Ionic, I can make my icon stay in the color Primary when a menu item is active, so far so good. But my title always stays in the default…
-
0
votes1
answer268
viewsUsing one System variable in another - Angular IONIC
I’m starting with Angular and would like to know if there is any way to pass the value from one variable to another. defineDificuldade(dificuldade) { console.log('Selected level ~~> ',…
-
0
votes1
answer235
viewsData Return with Angular
I have a service with the following structure: import {Injectable} from '@angular/core'; import {HttpClient} from '@angular/common/http'; import 'rxjs-compat/add/operator/map'; import {map} from…
-
0
votes0
answers428
viewsAngular : how to update the variable in html automatically when its value is changed in file . ts?
I have a variable that gets value when the page renders, and it looks right in the template. However if I change its value with the page already loaded the value in . ts is updating (checked with…
-
0
votes1
answer86
viewsPage change "Onclick" always "invalid views to Insert"
I would like you to click a button, change page. I’m in inicio and would like to go to add-oferta. top html. <ion-fab bottom right > <button ion-fab color="secondary"…
-
0
votes1
answer684
viewsI cannot navigate correctly using ion-tabs (IONIC 4)
I have the following code structure: app-routing.module.ts import { NgModule } from '@angular/core'; import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes =…
-
0
votes1
answer315
viewsHow to generate ANDROID app build on IONIC
I typed the command ionic cordova build android and the result was that at the prompt Installing "ionic-plugin-keyboard" for android Ionic-v1.cmd build Ionic-v1[3676]: c: Ws src…
-
0
votes1
answer41
viewsError: . toLowerCase() is not Function No Pipe search Ionic3
Good afternoon, I created a pipe to search, but is giving the following error: My code: import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'search', }) export class SearchPipe…
-
0
votes1
answer46
viewsHow to work properly with the request?
I need to send a simple notification using onesignal, but is giving error in the build of the web app because of https import, as the code I am importing as follows: var https = require('https');…