capacitor-community / privacy-screen

⚡️ Capacitor plugin that protects your app from displaying a screenshot in Recents screen/App Switcher.
MIT License
87 stars 23 forks source link

bug: npm publishes `ios/pods` folder #18

Closed robingenz closed 3 years ago

robingenz commented 3 years ago

Describe the bug The folder ios/pods is published when npm publish is executed. This leads to a large package size:

npm notice === Tarball Details === 
npm notice name:          @capacitor-community/privacy-screen     
npm notice version:       1.1.0                                   
npm notice package size:  6.4 MB                                  
npm notice unpacked size: 25.3 MB                                 
npm notice shasum:        bf60021aea13c1124ce548b855955e12e8cbd146
npm notice integrity:     sha512-SrD8p8l172PSh[...]XwSBVcR+TkbSA==
npm notice total files:   96                                      
npm notice 
+ @capacitor-community/privacy-screen@1.1.0

To Reproduce Steps to reproduce the behavior:

  1. npm install
  2. cd ios && pod install && cd ../
  3. npm publish

Expected behavior The pods folder should not be published.