Questions tagged as 'ionic2'

0
answers

Application does not install. Ionic 2 and One Signal

Good morning. I am generating the apk via --prod --release, I can generate the apk, I can sign but when I put in a real app the app does not install. This started to happen when I started using the one signal. In the run android command the appl...
asked by 29.10.2017 / 13:18
1
answer

ERROR Error: Uncaught (in promise): TypeError: Can not read property 'src' of null

I want to get the "src" of an html image but it shows this error. I'm trying to do it as follows import { NavController, NavParams } from 'ionic-angular'; import { Component } from '@angular/core'; @Component({ selector: 'page-som...
asked by 22.10.2017 / 17:01
1
answer

Error while running the "npm run prod" command in Git Bash to give Build in an Ionic 2 project

I'm having a project ready for publishing, which was created with Ionic 2 using the Google Firebase API, but when I try to build the project for production, with the following command in Git Bash: "npm run prod" is displayed an error I could not...
asked by 20.10.2017 / 20:32
0
answers

cordova-plugin-file - Download file outside APP folder - Ionic 2/3

I would like a help, I need to save files that the user downloads from the app on the device, but out of the app folder. All paths of the plugin file. Example: cordova.file.dataDirectory It does not answer me, I would like to know if you have...
asked by 13.10.2017 / 20:28
1
answer

Plugin Location Accuracy Ionic 2

I'm using an API Location Accurancy Ionic v2 follows the code: cordova.plugins.locationAccuracy.canRequest(function(canRequest){ if(canRequest){ cordova.plugins.locationAccuracy.request(function (success){ consol...
asked by 01.10.2017 / 23:14
1
answer

Ionic 3 Prevent app exit

I made an application using Ionic 3. When it is in the main screen and in case the user clicks the button back the application terminates. I wanted to put a "prevent appexit" that verifies that the user is on the main screen and does not let...
asked by 21.09.2017 / 16:21
1
answer

Data typing

Alright? Putting into practice what I learned in angular / ionic, I came across some doubts: 1- I made an ion-select with list of states coming from the firebase. When I typed the States model, I'm in doubt if in the model I do export i...
asked by 21.09.2017 / 14:51
0
answers

Store photo profile with ionic storage in a registration APP

I'm new to web programming and ionic 3 and I need a help, I created an app to make a simple registration and save in internal storage, but wanted to save the photo of the person's profile, how to select the photo that is in the device , copy to...
asked by 19.09.2017 / 18:18
0
answers

Store offline image on ionic storage

Hello, I created an application with a simple user registry and storing in ionic storage, but I would like to know how to store an image to be the user's profile photo My Provider looks like this: import { Injectable } from '@angular/core';...
asked by 16.09.2017 / 04:32
1
answer

queries on Ionic 3 using AngularFire2

I'm trying to perform a search with ionic 3 + AngularFire2. I have a list with all the data of the firebase, however I can not make a filter of this data, it does not return anything to me. file.ts import { AngularFireDatabase, FirebaseList...
asked by 28.08.2017 / 19:07