-
Notifications
You must be signed in to change notification settings - Fork 25.1k
[0.62.0-rc.1] Vibration.vibrate has unspecified nullability on iOS #27920
Copy link
Copy link
Closed
Labels
API: VibrationDXIssues concerning how the developer experience can be improved.Issues concerning how the developer experience can be improved.Platform: iOSiOS applications.iOS applications.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Description:
-
Vibration.vibrate() errors on iOS on 0.62.0-rc.1. Looks like something to do with TurboModules.
-
Error: Argument 0 (NSNumber) of Vibration.vibrate has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as 'nonnull' to ensure compatibility with Android.
React Native version:
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
Memory: 1014.98 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 13.6.0 - /usr/local/bin/node
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.11.0 => 16.11.0
react-native: 0.62.0-rc.1 => 0.62.0-rc.1
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
Vibration.vibrate(1);
Expected Results
Error-free vibration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
API: VibrationDXIssues concerning how the developer experience can be improved.Issues concerning how the developer experience can be improved.Platform: iOSiOS applications.iOS applications.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.