Which cordova plugin I can use in ionic platform to use mixpanel services?
i'm currently using this one: https://github.com/samzilverberg/cordova-mixpanel-plugin
it works for my needs.
Related
I have been searching all over and I have not found any good documentation in how can I create a custom ionic capacitor plug-in with an external SDK (Brother printer SDK). This SDK is located locally in my computer.
The Error I keep getting is the following.
No such module 'BRLMPrinterKit'
I'm building the plug in with
npm init #capacitor/plugin#latest
I follow the steps found in
How to embed third party framework on ionic capacitor custom plugin?
I was expecting to use the Brother printer SDK in the custom capacitor plug in. Any tip in how can I implement a custom plug in with any framework?
I don't know very well about ios plugins for ionic, but I recommend you to use this post to create the plugin step by step (I used it for android plugins):
https://devdactic.com/build-capacitor-plugin
I think you can use this other post to solve that specific issue: How to import framework into XCode project?
I know it's not the best answer, but I hope it helps.
I Need to update my Ionic Capacitor app(React).I tried the code-push with Cordova Plugin. But not working for me. Anyone know about the code-push technology with capacitor plugin? or How can we use the Cordova code-push in a capacitor app?. Please reply.
I am developing an android app using ionic, and instead of cordova I am using capacitor. When I try to run ionic cordova plugin add cordova-sqlite-storage command, it gives me warning [WARN] About to integrate your app with Cordova. Are you sure you want to continue?. Please refer the warning image.
I am not sure, should I press yes or no. I want to use capacitor.
You should continue to use the Cordova plugin. The problem is how you're adding it. Don't use the ionic cordova CLI command (as in don't ever use it in a Capacitor app). Instead, use npm install cordova-sqlite-storage and then update your Capacitor platform with npx cap sync or ionic cap sync.
I think you need to use capacitor-sqlite plugin for your application.
npm install --save capacitor-sqlite#latest
Here you can see the list of plugins that are available with a capacitor.
Capacitor Community Plugins
If you don't have complex queries in your application and simple storage only then you can use storage API.
Hope this will help you.
I'm new to Ionic, and just installed it and i also installed Cordova on my Ubuntu 18.04 machine, then i used the command to create an app using these commands
npm install -g ionic
npm install -g cordova
then i used the command to create an app using these
ionic start ionic4Tut --type=angular
but I'm not getting the question about integrating cordova to the project as shown in all the tutorials,
Integrate your new app with Cordova to target native iOS and Android? (y/N)
anyone know way is that?
I was having the same problem and what I did was after creating the project using
$ionic start projName --type=angular
I will cd to my project folder and run
$ionic cordova platform
that will solve your problem.
Cordova is what the Ionic framework uses to target native functionality for mobile devices. It does this because Ionic is primarily a mobile app framework. If you don't want to integrate it and want to use nothing but the development framework, you may as well use Angular on it's own.
Reference: Cordova, Angular, Ionic
enter image description hereHow to display notification like any.do using ionic-framework for android platform?
Using cordova plugins or android native code
You can use Cordova plugins for the purpose.
See for example: https://github.com/katzer/cordova-plugin-local-notifications