wix / react-native-notifications

React Native Notifications
MIT License
3.22k stars 763 forks source link

Feature request: add support for iOS simulator push notifications #1035

Open jkoutavas opened 3 months ago

jkoutavas commented 3 months ago

Since the release of iOS 16, Xcode 14+ simulators now support remote notifications when ran on Apple Silicon. (ref: Xcode 14 Release Notes)

Using the latest version of react-native-notifications, v5.1.0, isRegisteredForRemoteNotifications() returns false on my iOS 17.2 simulator, running on Xcode 15.2 on my M1 Mac. How difficult would it be to add this support for this?

amerytcl97 commented 3 months ago

Hi, I tested this on the simulator and it is working(background/foreground). I don't think the dev needs to implement it.

Xcode 15.3, iOS 17.4 (iPhone 15 Pro), M3 Mac. Using Amazon SNS

Sayah-Sel commented 1 month ago

I can not have the notifications working on iOS simulator on my side (Xcode 14, iOS 16).

Could you detail on your working setup please?

Especially in term of signing settings in xcode & does the usual few lines of codes in the App.js file to register and get device token works in this case?

SuhitAgarwal commented 1 month ago

@Sayah-Sel update your XCode and iOS simulator to the latest versions