mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
a02c238464
Summary: I was following the Native Modules guide for iOS, when I noticed this error in the example code: > Argument 2 (NSNumber) of CalendarManager.addEvent has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as `nonnull` to ensure compatibility with Android. Marking the parameter NSNumber type as `nonnull` fixes the error in the example. Closes https://github.com/facebook/react-native/pull/9705 Differential Revision: D3804661 Pulled By: JoelMarcey fbshipit-source-id: 92ec8a08ff2a179e4a8935de4cecd7b8d993469b