I am very much confused on building an ionic 4 app that is based on capacitor. I am also using few cordova plugins and syncing them using an npx cap sync. Is it an ideal way to do so? Currently I am trying to use the background-mode plugin in my app. For that I came across both these options:
https://ionicframework.com/docs/native/background-mode
https://capacitor.ionicframework.com/docs/apis/background-task/
I was thinking of going ahead with the cordova plugin, but I am still not sure how to decide which plugin to use in my project.
App details :
Ionic:
Ionic CLI : 5.2.4 (C:\Users\user\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.0.0
Capacitor:
Capacitor CLI : 1.4.0
@capacitor/core : 1.1.1
Cordova:
Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 9 other plugins)
Utility:
cordova-res : not installed
native-run : 0.3.0
System:
NodeJS : v10.16.2 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10
Can anyone guide me on this?