All native plugins store locally

Can we store all the native plugins repo locally inside the project rather than installing them from a GitHub repo?

Will it affect the specific platform build size or performance?

Of course you can. You can add them to a Folder plugins and install them via ionic cordova plugin add ./plugins/blabla. This should not have any affect on build size as these Folder not gets included to the Final apk/ipa.

But i don’t know why you should do this?

Thanks for your reply
On Ionic Appflow I’m getting a build error when trying to do some App-Store test builds. Same error when testing development builds. Android and iOS.

I guess this is a temporary problem with Ionic Appflow / the build server / build server settings.

Error: npm: Command failed with exit code 1 Error output:
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t GitHub - katzer/cordova-plugin-badge: Access and modify badge numbers
npm ERR!
npm ERR! fatal: unable to access ‘GitHub - katzer/cordova-plugin-badge: Access and modify badge numbers’: The requested URL returned error: 504
npm ERR!
npm ERR! exited with error code: 128

It appears the git repo for the plugin is inaccessible from the Ionic build server.