Questions tagged as 'ionic'

0
answers

Ionic 2 network.type = null

I'm developing an application in ionic 2 ts, but when I try to check if it's connected to the internet it returns me null. My code import { Network } from '@ionic-native/network'; @Component({ selector: 'page-home', templateUrl:...
asked by 02.06.2017 / 14:41
0
answers

Error while doing npm install in my ionic project

When I give the command npm install in the project it shows me this error, what can be? bash-3.2$ npm install npm ERR! code ETARGET npm ERR! notarget No compatible version found: @angular/[email protected] npm ERR! notarget Valid install ta...
asked by 22.05.2017 / 15:05
1
answer

What is the best way to update the token using the refresh_token in the angle?

I am developing an App (ionic v1) which, when communicating with the server (implemented with OAuth), returns a token and a refresh_token . What would be the best way to intercept a request, understand that it returned a 401 (invalid token...
asked by 14.05.2017 / 16:35
1
answer

How to turn off the initialization of the ionic menu?

I would like to know how I turn off the Ionic menu startup on a given page, since I do not want the services of it to be enabled as well.     
asked by 12.05.2017 / 14:06
0
answers

How to apply CSS class only in selected item or clean CSS class applied in ion-radio

I'm new to angular / ionic development and I'm developing an application that needs to select an item from a radio and apply a CSS class only to the selected item. In the way it is implemented I am able to apply the classes in the item...
asked by 10.05.2017 / 21:42
1
answer

The oauth_consumer_key parameter is missing

I did the local installation of wordpress I have my api running locally. I'mhavingtheerror:polyfills.js:3GEThttp://localhost/wordpress/wc-api/v3/products?page=2&oauth_nonce=8eGbEK9Mr8…rsion=1.0&oauth_signature=gV6ZTiZ5kWpcHTgaIfSrDXJ...
asked by 11.05.2017 / 02:47
1
answer

How can I set Ionic ranges with a predetermined initial value?

I set a Range to set hour and minutes. As I show in the view, but despite setting the value in the system the range always starts in the middle and without value. How can I set my ranges to be there at the beginning, with the value I want?...
asked by 30.04.2017 / 23:59
1
answer

background image is not appearing in the ionic viewe nor in the compiled app

Background image is not appearing in the ionic viewe or compiled app. When I put it to appear right in hmtl like this: style="background-image:url(../img/santa-filomena3.jpg); background-size: cover; background-position: center;" Th...
asked by 10.04.2017 / 20:46
1
answer

Ionic1 + input [type = file] does not work; How does it work?

In my project, there is an input of type file that in chrome works correctly, in Ios did not test and in Android the input does not work. Is there a Cordova plugin that will make the input file work or some javascript solution that works?   ...
asked by 18.04.2017 / 22:12
0
answers

I emulated my IONIC 2 project on android and it's ERROR

I emulated my IONIC 2 project on android and the white screen appeared and the following ERROR appeared: EXCEPTION: Error in ./MyApp class MyApp - inline template:16:2 caused by: Connection is not defined What can it be? below is the code...
asked by 30.03.2017 / 19:32