Questions tagged [ionic-native]

The tag specific for ionic-native, a replacement for using ngCordova and supports ionic 1, 2, 3 and 4, and since ngCordova tag is existing this tag must exist as well, the ngCordova is such a different tag and not related to ionic-native, so it is helpful to avoid any conflict between these two tags.

Ionic Native is a curated set of ES5/ES6/TypeScript wrappers for Cordova/PhoneGap plugins that make adding any native functionality you need to your Ionic, Cordova, or Web View mobile app easy.

Ionic Native wraps plugin callbacks in a Promise or an Observable, providing a common interface for all plugins and ensuring that native events trigger change detection in Angular 2.

For Ionic v1 (AngularJS, Angular 1.x) support, please use version 2 of Ionic Native. See the 2.x README for usage information.

1203 questions
9
votes
2 answers

Ionic 3 Android app's status bar Text color to Dark or Black

I need to change the Status bar text color to dark (or black).But it is not supported on Cordova plugin.But I have seen where there is a method on Android native device as shown below.Can we do the same on Ionic 3 app too? Refernce:
Sampath
  • 63,341
  • 64
  • 307
  • 441
8
votes
1 answer

ionic-native angular example code to vuejs

With the Ionic Native there is the possibility to use iBeacons via a native-plugin: https://ionicframework.com/docs/native/ibeacon The example code is written for people that use Ionic with AngularJS, but I'm using VueJS and I cannot figure out how…
user1469734
  • 851
  • 14
  • 50
  • 81
8
votes
1 answer

Ionic- Angular vs Ionic - React

1.Which one is more easy to develop a Hybrid app , Ionic - Angular or Ionic - React? 2.Which one gives more performance? 3.Will all plugins support in both Ionic-React and Ionic- Angular? It would be great if anyone share valuable comments and…
Kevin Jose
  • 856
  • 8
  • 22
8
votes
1 answer

Ionic4 watchPosition and getCurrentPosition of Geolocation not accurate with Ionic/Capacitor

I'm using Capacitor for building my Ionic app. I the app I wanna show the current position on a Map via GPS of course. The following code works and gives me the correct Marker on the Map as I want to, but.. It's far from accurate. async…
user1469734
  • 851
  • 14
  • 50
  • 81
8
votes
2 answers

Ionic 4 native plugin geolocation gives me "Module not found: Error: Can't resolve 'rxjs/Observable'"

I'm trying to use ionic native plugin geolocation in ionic 4 but I got a this error: Failed to compile. ./node_modules/@ionic-native/geolocation/index.js Module not found: Error: Can't resolve 'rxjs/Observable' in …
rami bin tahin
  • 1,897
  • 2
  • 10
  • 16
8
votes
2 answers

Change Splash Screen from Ionic Browser

I am having the following splash screen when starting my app: I've only run ionic cordova platform add browser ionic cordova build browser my config.xml
spaceman
  • 659
  • 2
  • 11
  • 29
8
votes
2 answers

How to use angular 6 in ionic 3?

I have an Ionic 3 app on Angular 5.2. I am trying to update to angular 6. I followed the upgrade guide already for the HttpClientand NgModule. The problem I have now is with the ionic-native. I installed ionic-native V5 which is using rxjs v6…
Amr Eladawy
  • 4,193
  • 7
  • 34
  • 52
8
votes
9 answers

Ionic Native GooglePlus login fails without any error

I followed instructions from https://ionicframework.com/docs/native/google-plus/. I've created Android Client in https://console.cloud.google.com/apis/credentials/oauthclient using correct SHA-1 (re-checked using keytool -list -printcert -jarfile…
heroin
  • 2,148
  • 1
  • 23
  • 32
8
votes
1 answer

Ionic Pro iOS package/build fails - "ERROR: Job failed: exit status 1"

Thank you for attempting to help resolve this issue. I'm using the paid Ionic Pro subscription for cloud builds and packaging. All has been fine up until two days ago when iOS builds suddenly stopped working. To be clear, the exact same commit that…
Andreas
  • 81
  • 3
8
votes
1 answer

Ionic 2 fileTransfer.download not reacting on iOS

I've developed an Ionic 2 App on Android and am now trying to bring it to work on iOS. The App downloads alot of files on initial login and I do that with the Ionic-Native Transfer plugin. On Android everything works fine, but on iOS the App seems…
Jonas Ostergaard
  • 319
  • 1
  • 12
7
votes
3 answers

ionic 3 upload image from camera NOT USING file, file-transfer, file-upload plugins

I would like to upload an image to my back-end using FormData, but as Ionic DEVAPP and Ionic VIEW does not support file, file-transfer and file-upload plugins, I need to do it using only Angular Http or HttpClient. When using…
JoeCool
  • 907
  • 1
  • 11
  • 25
7
votes
3 answers

no provider for BarcodeScanner

The code is as follows: import { Component } from '@angular/core'; import { NavController, Platform } from 'ionic-angular'; import { TranslateService } from '@ngx-translate/core'; import { BarcodeScanner } from…
7
votes
4 answers

Ionic Native Geolocation not working on Android

I have the following code using Ionic Native Geolocation: import { Geolocation } from 'ionic-native'; this.platform.ready().then(() => { alert('loadMap about to getCurrentPosition'); …
Richard
  • 8,193
  • 28
  • 107
  • 228
6
votes
3 answers

Ionic and MSAL Authentication

I have an Ionic app that needs to authenticate in Azure, so I installed MSAL following this tutorial: https://learn.microsoft.com/en-us/graph/tutorials/angular It works like a charm with "ionic serve" but when I run it in the device, it crashes when…
6
votes
4 answers

Android Error - Access denied unable to save cropped image

I have an Ionic 5/Angular app that uses the Ionic Native Camera plugin to take pictures and crop the images. The functionality worked fine until I updated to Android 11 (using note 10 plus). After the update, the following error is thrown when…
De Wet van As
  • 904
  • 8
  • 27
1
2
3
80 81