Closed ashin-kk closed 1 year ago
yeah, that's what register method returns https://capacitorjs.com/docs/apis/push-notifications#register
for getting the push token you have to add a listener for registration https://capacitorjs.com/docs/apis/push-notifications#addlistenerregistration
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
// PERMISSION CHECKING & REGISTER
// RESULT IN LOG
Expected Behavior
Code Reproduction
Other Technical Details
I followed as mentioned on the official plugin page. Added google-services.json file as well. Don't know what's missing. Please guide. I am just a beginner in capacitor.
npm --version
output: 9.6.1node --version
output: v18.15.0pod --version
output (iOS issues only): NAAdditional Context