All Questions
Tagged with capacitor-plugin ionic5
11 questions
0
votes
0
answers
31
views
Issue with Push Notification Logo on Motorola Devices (Ionic 6, Capacitor 5, Firebase)
I'm developing an app using Angular 17 with Ionic 6 and Capacitor 5. I'm encountering an issue with the logo in push notifications sent from Firebase. While the logo displays correctly on some devices,...
1
vote
0
answers
44
views
Ionic iOS capacitor Project Local notification method not get called both "will present" and "DidRecieve"
In iOS capacitor project I have implemented local notification from native iOS side, import UserNotifications and also write below mentioned code On did finish launching for configure. When I write ...
1
vote
1
answer
1k
views
Issue with CapacitorHttp on iOS
I recently switched HTTP calls from the Cordova plugin to CapacitorHttp, and having sporadic issues with IOS (only).
Using the latest Ionic 7.2.2 and Capacitor 5.2.2. Running against a back-end web ...
1
vote
1
answer
455
views
How to extract referral code from installation URL in an Ionic app?
I have an Ionic (Angular) Capacitor app. I have links to my app in the Google Play Store and Apple App Store, and I need to retrieve a referral code for each user's app installation.
For example, when ...
1
vote
1
answer
1k
views
How to exclude certain ionic native plugins from a specific platform?
We are using the NFC Scanner plugin in our ionic 5 project on the Android platform: https://ionicframework.com/docs/native/nfc
How can we exclude this plugin from our iOS platform? Is there a built-in ...
0
votes
0
answers
153
views
Command CompileSwiftSources failed with a nonzero exit code in ionic 5
We are migrating from Ionic 4 to 5, when I upgrade my mac version to 12 and try building the application we are getting Command CompileSwiftSources failed with a nonzero exit code in two of the ...
2
votes
0
answers
372
views
How to unit test capacitor plugin function calls (Ionic 5)
I have a function that specifically uses a plugin called @capacitor/keyboard, so I want to know if it is possible to test the call to some function of the plugin. The problem I have is that the plugin ...
8
votes
0
answers
1k
views
No podspec found for `package` when adding iOS project to existing Ionic 5 project
I built a Capacitor plugin for Ionic and Capacitor and published it to NPM - call it test1. I then use it in my Ionic 5 project and successfully add a new Android project via:
ionic build
ionic cap ...
2
votes
2
answers
3k
views
ERROR: @capacitor-community/native-audio - Asset Path is missing [IONIC 5]
I have a problem when I want to preload a sound on my IONIC 5 app.
In my xcode the following error is displayed:
{"message":"Asset Path is missing - forward.mp3","...
0
votes
1
answer
595
views
ionic 5 (capacitor) gives NullInjectorError empty object Magnetometer can not access ionic-native functionality,
NullInjectorError: No provider for Magnetometer
My goal is to read sensordata, like magnetometer. Using Ionic 5, Angular, capacitor android.
You can find my project at https://github.com/kpproce/...
2
votes
1
answer
1k
views
Branch.io Deep linking not working on iOS 13+. It does not show pop-up to open application(Ionic 5, Capacitor)
I have added deep-linking integration in our app and using plugin capacitor-branch-deep-links. It is working till iOS 12.1 but in iOS 13+ it does not show a pop-up to open the application on a click ...