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

Record Video With Overlay Image in Ionic

I am developing an hybrid app with ionic 3. I require to record video with overlay image on top like snapchat, instagram etc. There's a plugin for it Here But in documentation it adds overlay only for iOS currently(i want for both iOS and Android)…
Asad35Waheed
  • 121
  • 11
5
votes
2 answers

Ionic checkFile(path,filename) NOT_FOUND_ERR

File Path - file:///data/data/io.ionic.starter/data.json I wish to check if 'data.json' exists in the mentioned path. But I recieve an error - {"code":1,"message":"NOT_FOUND_ERR"} Currently the file isn't present in the path so I am expecting the…
sanedroid
  • 1,036
  • 4
  • 16
  • 27
5
votes
1 answer

How to Store Array Data Using Ionic Native Storage?

I'm planning to use ionic native storage to store some translation history, whenever there's a word being translated. The translation action (date, translate word) will be store in the ionic native storage, and when I open history page, a list of…
Rong Zhao
  • 99
  • 1
  • 1
  • 5
4
votes
1 answer

Local module descriptor class for com.google.android.gms.googlecertificates not found

I am developing a mobile application using google maps with ionic capacitor. I created key in google maps API. I activated the Maps JavaScript API and Maps SDK for Android APIs. I added a billing method. I can see the map on the browser with the key…
4
votes
1 answer

Custom capacitor plugin fails with pod dependency

I'm writing my own capacitor plugin based on https://capacitorjs.com/docs/ios/custom-code https://devdactic.com/build-capacitor-plugin/ but adding it to my main project with npm install ../MyPlugin fails npx cap sync with ✖ Updating iOS native…
El Dude
  • 5,328
  • 11
  • 54
  • 101
4
votes
3 answers

Ionic Allow location all the time API level 29

I'm trying to use API level 29 on my ionic app, and I require the app to ask the user for "Allow all the time" location. I've added all the suggested modifications. My AndroidManifest.xml:
4
votes
0 answers

Request timeout using cordova-plugin-advanced-http

I am using the advanced plugin to make calls to a legacy api that can’t implement a cors policy. My problem is that even if i set a timeout the request doesn’t seem to respect that number and throws lots of errors of connection timeout after 10000ms…
Ruben Miquelino
  • 977
  • 9
  • 13
4
votes
2 answers

Does Ionic 5 has swipe events?

I have an Ionic page on which I'd like to be redirected to a custom page when swiping left. Just redirecting me back isn't good enough, since I can have that page open from a deep link, meaning I have no back on my window's history. I saw that…
Adam Genshaft
  • 756
  • 10
  • 22
4
votes
1 answer

IONIC 4+ Capacitor: How to install a cordova plugin (Stepcounter) from github without ionic native?

I want to add a Cordova plugin which is available on GitHub to my IONIC 5+ Capacitor (Angular) project. Also, I don't know how to install and integrate this plugin, because the official manual says that after the step npm install…
G-EA
  • 337
  • 7
  • 17
4
votes
3 answers

Scheduling a native alarm/timer

I'm using Ionic Framework to build an Android/iPhone cookbook app with Angular. One of the features should be alarms/timers for each ingredient/step. Ionic is based on a wrapper around Apache Cordova, I guess. So I've tried using a Cordova plugin,…
RJB
  • 2,063
  • 5
  • 29
  • 34
4
votes
1 answer

Cannot read property 'subscribe' of undefined on Ionic 4 , Angular 8

I'm using Ionic 4 and Angular 8 for my project. My project needs to integrate with a payment gateway service. I'm using Ionic 4 InAppBrowser plugin to open payment gateway site. This is my implementation: const browserRef =…
Redplane
  • 2,971
  • 4
  • 30
  • 59
4
votes
1 answer

ionic 4 deal with modal when users click phone back button

What should happen when users click over back button of phone? In case when modal opens. Registered a back button: // To prevent interference with ionic's own backbutton handling // you can subscribe with a low priority…
Ankit Maheshwari
  • 1,620
  • 6
  • 28
  • 55
4
votes
3 answers
4
votes
0 answers

FCM notification click action in ionic and angular fire messaging

I'm using Ionic 4 and AngularFire2 Messaging for Firebase Cloud Messaging notifications. I'm trying to tell FCM what to do when the notification is clicked (or tapped) by the user. That should be done by the click_action for android and link for…
bergben
  • 1,385
  • 1
  • 16
  • 35
4
votes
3 answers

Cordova plugins not working with Capacitor

I’m not sure how to get Cordova plugins working with Ionic 4 + Capacitor in Android Emulator. I am following this example (https://ionicacademy.com/create-pdf-files-ionic-pdfmake/) but I am going to add some Capacitor plugins to it in order to use…
MadMac
  • 4,048
  • 6
  • 32
  • 69