Questions tagged as 'ionic'

1
answer

What is the difference between defining a model as an interface or as a class in IONIC?

I'm a beginner in programming and my input language is Java. Studying some projects with Ionic, I found one that used an interface to define a model, for example: export interface Pessoa { nome: string; idade: number; } I remember...
asked by 06.09.2018 / 04:47
0
answers

Error installing -g [email protected]

Below is the error log when I tried to install the ionic version 1.4.2. 10295 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "[email protected]" 10296 verbose node v8.11.4 1...
asked by 01.09.2018 / 19:24
0
answers

Ion-select not displaying options directly

I have a select of regions, what I want is to click on "All Regions", and already show the list of regions = south zone, north zone etc. . . These regions are coming from the database. The problem is: When I click on all the regions, an option a...
asked by 31.08.2018 / 15:41
0
answers

Failed to generate APK

So, I'm following this tutorial: link That teaches to configure the ionic with cord to generate apk's android I did everything correctly. But in the last step, where it should generate apk, it gives the following error and does not ge...
asked by 05.09.2018 / 22:10
0
answers

Problem with API query with Ionic

I need to do some queries with Ionic 3 on a server whose request must be POST to be returned a JSON. Right away on the first test of creating the query in the browser inspector I get the error: Failed to load URL:Response to preflight request...
asked by 11.09.2018 / 02:55
0
answers

Android emulator not starta

I'm doing a project Android with ionic and cordova but emulador is not working. I've looked at everything and can not find the error. emulador simply does not open. Note: I'm still learning. I cre...
asked by 10.09.2018 / 23:21
0
answers

Use filter or map in an observable firebase

I'm loading a list of firebase to display some items for selection via checkbox, true, or false. I'm trying to benefit from the filter or map command to only get the items that have propriedade selecionada == true , bu...
asked by 03.09.2018 / 16:39
0
answers

Error running ionic cordova run android --emulate

I do not know what it is. I have already given a reward without a right answer in an earlier question. I'm about to drop the project.    What I've done:       I had to format the PC, until then working well.    When I create a new, blank...
asked by 23.08.2018 / 16:47
1
answer

Keyboard bugging image on android [IONIC 2]

I have the following problem: As you can see in the image above, when I click to type in the login and password fields, this white background appears in the image. I imagine the problem is related to the android keyboard, since IOS work...
asked by 23.08.2018 / 03:55
0
answers

Ionic Development

I have an Ionic application developed in Windows 10 64-bit environment when viewing the project in Windows 8.1 32 bit error is presented.    The type 'IAsyncOperation < >' is defined in an assembly that is not referenced. You must add a...
asked by 23.08.2018 / 05:27