Questions tagged as 'ionic2'

0
answers

Ionic 2 Error when generating the build for android in windows 10

$ ionic build android > ionic-hello-world@ ionic:build C:\Users\Gustavo\Documents\Ionic2\like_you > ionic-app-scripts build [20:16:23] ionic-app-scripts 1.3.0 [20:16:23] build dev started ... [20:16:23] clean started ... [20:16:23] cle...
asked by 08.04.2017 / 01:42
1
answer

I'm trying to install Ionic 2 but this is giving error at the time of executing the npm install -g ionic codova

Gustavo@Gustavo-PC MINGW64 ~ $ npm install -g cordova ionic npm WARN deprecated [email protected]: Use uuid module instead npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher...
asked by 07.04.2017 / 07:04
0
answers

I wanted to call this function inside my anonymous function, how can I do this?

retonaEndereco(myLatlng,adress => { let getDistance = function (origin,destination) { let distance = geolib.getDistance(origin,destination); return geolib.convertUnit('km',distance); } var getAllDistances =...
asked by 22.02.2017 / 19:57
1
answer

How to populate a SQLite database through a .sql file?

I have a .sql file and I need to run all the rows, insert all the records that are in it, into a table inside SQLite. Content of file mydb.sql : CREATE TABLE tblVeiculo (VeiculoId INT, Codigo [TEXT(9)], Fabricante [TEXT(255)],...
asked by 21.02.2017 / 16:07
0
answers

How to generate several modalities in Angular 2 for the same view in Ionic?

Sorry for the ignorance you may not have asked the question correctly, a week ago I started to see a little about Ionic and Angular 2, I came doing some tests and I came across the following problem. <ion-view title="Teste modais" id="p...
asked by 15.01.2017 / 17:08
1
answer

Page does not load elements when updating in Ionic 2

Well I have a side menu app where the first page is home, and it loads elements as soon as the user enters the app. I'm using Ionic 2 and the communication is being done via socket. One detail is that the elements do not load when I update, but...
asked by 19.01.2017 / 01:08
1
answer

Equivalent to setOnItemLongClickListener in Ionic 2

I created a function in which when the user gives a simple click in the item, it shows a Toast , an alert, on the screen with the name of this item: Function in my file .ts : itemSelected(item: string) { this.toastCtrl.show...
asked by 14.02.2017 / 17:06
1
answer

Error: Uncaught ionic 2

I have following: let loader = this.loadingCtrl.create({ dismissOnPageChange: true, }); loader.present().then(authData => { let alert = this.alertCtrl.create({ title: '', message: 'Cad...
asked by 12.01.2017 / 21:22
0
answers

Searchbar Ionic 2

I was able to implement searchbar as IONIC 2 documentation. The problem is that I am bringing information from a remote database and I can not implement this database data in searchbar . It's a matter of passing the vari...
asked by 16.02.2017 / 20:23
1
answer

Angular2 ngFor help with loop

I have a file 'nvi.json' which looks like this: [ { "abbrev": "gn", "book": "Gênesis", "chapters": [ { "1": { "1": "...", "2": "..." } }, { "2": { "1": "...", "2": "..." } }, { "3": {...
asked by 22.11.2016 / 20:14