Closed AdlerJS closed 2 years ago
This issue may need more information before it can be addressed. In particular, it will need a reliable Code Reproduction that demonstrates the issue.
Please see the Contributing Guide for how to create a Code Reproduction.
Thanks! Ionitron π
Turns out this was an error in our custom build pipeline process and not in the plugin itself. Closing issue.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
Android
Current Behavior
Currently my Capacitor application will compile and work as normal. However, when trying to add the @capacitor/push-notifications plugin the following error appears
Removing the plugin and running npx cap sync results in a successful build.
Expected Behavior
npm installing @capacitor/push-notifications and running npx cap sync should result in a successful android build and the plugin should function like other capacitor plugins in this instance.
Other Technical Details
npm --version
output: 6.14.12node --version
output: v12.22.1pod --version
output (iOS issues only): N/AAdditional Context
Following this thread: https://forum.ionicframework.com/t/ionic-capacitor-pushnotifications-plugin-is-not-implemented-on-android/214972/4 I was able to resolve the push notification build issue, however, this forces us to manually add / manage all plugins in the MainActivity by implementing the suggested solution. For future maintenance of the project I would like to avoid this if possible.