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
1 answer

setContent to InfoWindow of Google maps in ionic native

I would like to be able to have button in InfoWindow. I have tried to use title instead of content as below: map.addEventListener(GoogleMapsEvent.MAP_CLICK).subscribe((e) => { let markerOptions: MarkerOptions = { position: e, …
limmouyleng
  • 127
  • 1
  • 3
  • 15
0
votes
0 answers

After migrating to ionic v3.0.1 ionic native google-maps call to external.launchNavigation not working anymore

I have just migrate my application from ionic v2.0.0 to v3.0.1 and I have a issue with the ionic native Google maps plugin. Almost everything is working except the following code: if (this.destination != null) { …
Darwiin
  • 3
  • 6
0
votes
1 answer

Beginner level query Ionic native code push

I am trying to use Microsoft Code Push with Ionic native. I have set up as per tutorial. I installed cordov aplugin + npm ionic native. My config.xml is
raju
  • 6,448
  • 24
  • 80
  • 163
0
votes
0 answers

Ionic Native File Plugin - Checking Directory's Existence Not Working

im trying out some ionic native plugins, so far everything has been great excpet for the file plugin. I've been trying to create directory in the externalDataDirectory path provided by the file plugin. What am trying to do is check if the directory…
Ralph Marvin
  • 149
  • 2
  • 8
0
votes
1 answer

How to open a database already populated with ionic 3 and sqlite

I need to use a ready sqlite bank that I already have and open it within my project. In the documentation the 'location' of sqlite is always set to: default, so I'm not sure where to save my .sqlite file, or how to open that database, 'openDatabase'…
Marylís
  • 11
  • 5
0
votes
1 answer

Nav Controller pop. Toolbar button disappears then reappears with direction backwards. Ionic 2

I have a button in my ionic 2 footer. It slides ok with push but not with pop and a back transition. It disappears then reappears and doesn't look great. How can I get it to slide like the forward transition does?
Michael Coyne
  • 164
  • 2
  • 11
0
votes
1 answer

NPM package different versions dependency

I am a bit confused about NPM package versions I have ionic2 app and in my packages.json i have dependency to rxjs@5.1.1 also I have latest ionic-native which has dependency to rxjs@5.0.1. Now the problem is that I wrote extension to Observable to…
Vova Bilyachat
  • 18,765
  • 4
  • 55
  • 80
0
votes
1 answer

ionic media plugin - pass onStatusUpdate to mediaObject?

I'm trying to use ionic native's media plugin like this: record(){ ... return this.media.create(src,onStatusUpdate).then((mediaObj) => { mediaObj.startRecord(); return mediaObj; }); } And I use the mediaObj returned from…
Arfons
  • 96
  • 9
0
votes
0 answers

What version of ionic-native works with Ionic v1?

In my Ionic v1 project, I upgraded from ionic-native@2.2.16 to ionic-native@2.9.0 and now I get an empty object error when I call $cordovaFile.readAsText. Also, $cordovaGeolocation.getCurrentPosition never returns. Does anyone know what version of…
Wayne Bloss
  • 5,370
  • 7
  • 50
  • 81
0
votes
3 answers

how to notify user about the state of network connectivity in ionic2

according to my application , I have to notify user whenever he gets disconnected from a network .so in a provider i used two function , one returns true on online state and the other returns true on offline state. In app.component.ts am checking…
Lisa
  • 655
  • 3
  • 10
  • 34
0
votes
1 answer

When I LEFT JOIN 2 table, how do I return 0 if the value is NULL?

I'm trying to set 0 to any null value in a LEFT JOIN, using coalesce() or ifnull(), in SQLite. I know this question have been asked a lot, however, I'm stuck. BUDGET amount category 2 food 2 book 2 movie EXPENSE amount…
Ahmad Zul
  • 45
  • 10
0
votes
1 answer

Ionic serve gives typescript errors when updating to ionic-native v3

I get Typescript errors for every item from the native imports, when running ionic serve. This is after I updated to ionic-native v3. All the items from the new @ionic-native are not recognised by Typescript. I updated typescript to different v2…
Jeroen
  • 63
  • 6
0
votes
2 answers

Issues with Ionic Native in multi-platoform app

I'm creating an app with Ionic 2 that runs as a website in a browser and as an app on iOS and Android. It uses the SQLite plugin when on mobile devices. The issue I'm having is the SQLite plugin has to import ionic-native stuff, which when running…
Jake
  • 383
  • 6
  • 26
0
votes
1 answer

Ionic Deep Links route url

What should be the specified route if my url is https://test.fa.dk/avpi/p1/suite/applink/des212321 I use a $cordovaDeepLinks.route('avpi.p1.suite.applink') It does not work . Can anyone please correct the route ?
user581157
  • 1,327
  • 4
  • 26
  • 64
0
votes
3 answers

ionic2: network connectivity check during splash screen

I've been trying hard to figure out how to check for network connectivity while the splashscreen is being displayed.I've searched for the code in many places but most of those articles are outdated. I followed the tutorial that's mentioned…