We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DeviceEventEmitter has been deprecated
DeviceEventEmitter.addListener( RNSettings.AIRPLANE_MODE_EVENT, this._handleAirplaneModeEvent, );
Is there an alternative to those examples ?
Thanks
react-native info output:
react-native info
System: OS: macOS 10.15.5 CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz Memory: 130.45 MB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 12.22.1 - ~/.nvm/versions/node/v12.22.1/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.12 - ~/.nvm/versions/node/v12.22.1/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1 Android SDK: API Levels: 23, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.2 System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs ARM EABI v7a, android-26 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.0 AI-193.6911.18.40.6514223 Xcode: 12.2/12B45b - /usr/bin/xcodebuild Languages: Java: 1.8.0_252 - /usr/bin/javac Python: 2.7.16 - /usr/bin/python npmPackages: @react-native-community/cli: Not Found react: 17.0.1 => 17.0.1 react-native: 0.64.2 => 0.64.2 npmGlobalPackages: *react-native*: Not Found
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
DeviceEventEmitter has been deprecated
DeviceEventEmitter.addListener( RNSettings.AIRPLANE_MODE_EVENT, this._handleAirplaneModeEvent, );
Is there an alternative to those examples ?
Thanks
Project Files
Environment
Click To Expand
react-native info
output:The text was updated successfully, but these errors were encountered: