Closed nowitz closed 1 year ago
For being able to test push notifications on an iOS 16 simulator you need to update to macOS 13 (which is not final yet, but you can install the betas). The computer also need an Apple Silicon or T2 processor for push notifications to work.
I've tested and it's working fine on my iPadOS 16 iPad, so closing.
Also, as you want to use Firebase, Firebase might need an update in the future, it's not clear if it supports simulators at the moment, see linked issue https://github.com/firebase/firebase-ios-sdk/issues/9968
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 the plugin, please create a new issue and ensure the template is fully filled out.
Bug Report
Plugin(s)
@capacitor/push-notifications v4.1.0
Capacitor Version
Platform(s)
Emulator iPhone 14Pro - iOS 16
Current Behavior
On Android is everything OK.
On iOS never get token from listener (PushNotifications.addListener('registration', token => ....) I see in the log but no error message:
Expected Behavior
Registration listener return token.
Code Reproduction
I followed the instructions: https://capacitorjs.com/docs/guides/push-notifications-firebase and have all certificate![image](https://user-images.githubusercontent.com/12040747/191837495-bf08756b-2cc9-47c4-afd1-9279357a1fcc.png)
Other Technical Details