Questions tagged as 'ionic'

0
answers

Ionic Directive for numeric masks is not accessed from other pages

I created a project with Ionic with two pages: Login and registration. The structure is this Inboth,ItriedtoaddadirectivethatcreatesamaskforCNPJ.Followthepolicycodeimport{Directive,HostListener,Input}from'@angular/core';import{NG_VALUE_AC...
asked by 30.12.2018 / 02:22
0
answers

IOS emulator in Webview (iframe) losing asp.net session

I have a problem with my project in Ionic, below follow the versions.    Ionic: 4.1.2   ASP.NET: 2.1.502 A little bit about my project ... It has a route in the application where it generates a Webview (iframe) where in tha...
asked by 17.12.2018 / 20:26
1
answer

How to organize enum in an Ionic project 3

I have a static message group for validating form fields. These messages are present throughout the application and so I would like to use some way to make them dynamic and organized within the framework. Today I have the group organized insi...
asked by 03.01.2019 / 19:03
0
answers

webpackjsonp is not defined

The funniest thing is that this error happens in only one cell phone, but it happens right on my test phone, I already opened my app on other phones and the application worked perfectly, I've been looking for a solution to this problem for a lon...
asked by 03.01.2019 / 20:45
0
answers

How to organize forms messages in Ionic 3 project?

I'm having a question regarding the best way to organize my error messages within Ionic 3 using Angular 6. I created an array of messages inside my recovery-passwrod.ts: validation_messages = { 'cpf': [ { type: 'required', message: 'O C...
asked by 25.12.2018 / 20:56
0
answers

Call another Ionic v1 App and receive call data

I'm using the plugin "cordova plugin startapp", according to the documentation added to the project (README) I was able to call another package / app (ionic v1), but I'm having problems receiving the sent message on call. My call went like th...
asked by 12.12.2018 / 20:16
0
answers

Template parse errors: 'ion-text-avatar' is not a known element: 1

After putting lazy loading into the IONIC 3 project, following this tutorial, I came across an error in the directivs. What happens, I have the TextAvatarDirective directive that is imported into two pages, its modules: import { NgModule } f...
asked by 10.12.2018 / 14:37
1
answer

Remember Login with Storage Ionic

Good morning everyone! I'm trying to remember the user's data when I sign in with Facebook, so I do not need to log in again every time. On my login page you are: loginWithFB(userData) { this.fb.login(['email', 'public_profile']).then((re...
asked by 14.12.2018 / 14:34
0
answers

Passing a JSON via POST to ASP.NET API with IONIC 3

I need to make a post request with Ionic 3, but I have no positive result. By Postman I can do more with Ionic, but the API is ASP.NET and does not accept 'OPTIONS' so it would have to be a different method. Code: postRequest(){...
asked by 14.12.2018 / 20:45
0
answers

Error opening file with JSON format

I'm trying to import an ionic JSON, but% w / o% w / w% shows the following error:    console.log: {"status": 9, "message": "Activity not found: No Activity found to handle Intent {act = android.intent.action.VIEW dat = file: /// storage / emu...
asked by 05.12.2018 / 18:50