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
0
votes
0 answers

IONIC 1 - download pdf in mobile not working:

I am working on a project based on ionic 1.x .By using 'jsPDF' , I have created a PDF file. The file is downloaded when testing in browser but doesn't work when tested in an android device. The code is as follows var doc = new…
wahid_abdul
  • 156
  • 2
  • 9
0
votes
1 answer

Ionic 3: Hide List/List Part in HTML on If condition

Ok so my app draws data by an input and pushes them into a list, this is the html code: Applicant Info: Applicant ID: {{id}} …
Omar Hussein
  • 1,057
  • 2
  • 13
  • 31
0
votes
0 answers

network type not getting in iOS using Ionic native

We are developing an ionic native mobile application. we need network type (wifi,2g,3g,4g).We are getting in android but unable to get in iOS.We tried those commands for network plugins $ ionic cordova plugin add…
Pavan Alapati
  • 635
  • 2
  • 8
  • 21
0
votes
0 answers

why maps cannot showing in device in ionic

My application cannot show google maps, it only show google icon i dnt know why this below my Config.xml
Indra suandi
  • 141
  • 1
  • 3
  • 15
0
votes
1 answer

Returned objects from ionic native - Sim

I am trying to fetch the device phone number of the mobile phone on which the ionic app is installed I am using (ionic cordova plugin add cordova-plugin-sim) I do get an object as response, What i need to find is what are the elements of the…
0
votes
1 answer

FileTransfer plugin, download not starting on iOS, no errors on callbacks

I’m trying to create an Ionic 3 App that downloads an image from internet and stores it in the device file system. On an Android device all is working fine, on iOS the call to FileTransferObject.download(…) seems to hang doing nothing; I get no…
0
votes
0 answers

Partially reading a file in ionic

How can I read only a certain number of bytes from a file in Ionic? I am using the Native File plugin but it doesn't seem to handle that. I tried all the file reading methods : readAsText(path, file) readAsDataURL(path,…
Sébastien
  • 11,860
  • 11
  • 58
  • 78
0
votes
0 answers

Cordova Inapp Browser Execute JS Function

I have a java script function in my html page which I've opened in an Inapp Browser in my ionic app. I want to execute this custom java script funtion using executeScript(). So far I have tried following but no luck. Is there any other way to do…
casper123
  • 1,736
  • 4
  • 21
  • 39
0
votes
2 answers

Ionic cordova bluetooth plugin is not working with - - prod flag build

My Bluetooth app is running well when I am building the app with ionic cordova build android command. BUT when I am building my app with -- prod flag i.e. ionic cordova build android --prod my app is not getting access to the BLUETOOTH SERIAL…
0
votes
1 answer

Stop loading radio stream in background after stop action

I'm working on an Internet Radio Stream Application with ionic-native-media and ionic-native-music-controls plugins. The problem is when i press stop button audio stops playing but in network tab inside chrome developer tools stream is still…
Marko Savic
  • 2,159
  • 2
  • 14
  • 27
0
votes
1 answer

why google map crashes after map canavs is loaded

i'm getting the below error on android device and my app crashes. here is my complete code: import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; import { Geolocation ,GeolocationOptions }…
arjun_web
  • 111
  • 2
  • 10
0
votes
1 answer

ionic native geofence iOS Compile error

Please help me out from this error: ionic Native + geofance + iOS ios compile error after install geofence plugin. ================== Compile error is =============== The following build commands failed: CompileSwift normal x86_64…
Spanchal
  • 465
  • 4
  • 16
0
votes
1 answer

Ionic 2 Geofence plugin not working in iOS

Ionic 2 Geofence plugin not working in iOS, though device log showing fence is registered and start tracking but transition not triggering on device, pls help
0
votes
0 answers

Dynamic dropdown not working properly in ionic 3

You can change here also ->https://stackblitz.com/edit/ionic-djze7u home.html {{item.name}}:
Somnath
  • 368
  • 2
  • 9
  • 22
0
votes
2 answers

Version mismatch for module @ionic-native/dialogs

I get the following error Error: Metadata version mismatch for module /www/projects/project/node_modules/@ionic-native/dialogs/index.d.ts, found version 4, expected 3 … when I run $ ionic cordova build browser --prod It’s working when I build…
Sašo Kovačič
  • 891
  • 1
  • 9
  • 21