harikvpy/ionic-mono

Question about third party plugins and community plugins

paulmartinjoy opened this issue · 1 comments

In the capacitor.config.ts, you have added

import { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
appId: 'com.smallpearl.appone',
appName: 'Monorepo AppOne',
webDir: '../../dist/apps/app-one',
bundledWebRuntime: false,
includePlugins: [
   "@capacitor/app",
   "@capacitor/camera",
   "@capacitor/core",
   "@capacitor/haptics",
   "@capacitor/keyboard",
   "@capacitor/status-bar"
]
};

export default config;

Should i add the commuity plugins or other third party packages such as for eg: @capacitor-community/firebase-analytics if i am using it in the ionic app ?

Apologies for the late reply. Yes you should. These are the plugins whose native code (Swift/Java) would get bundled into the respective native project when you run ./runcap sync.