GeekyAnts / GeekyAnts/NativeBase
EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.
### CodeSandbox/Snack link
private project
### Steps to reproduce
1. Launch the app
2. Warning will appear
```
EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.
HybridProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:205845:24
ResponsiveQueryProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:134223:14
RNCSafeAreaProvider
SafeAreaProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:145976:24
NativeBaseConfigProviderProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:127219:27
NativeBaseProvider@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.****&modulesOnly=false&runModule=true:205734:33
```
### NativeBase Version
3.4.5
3.4.21
3.4.22
### Platform
- [X] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
This happened on react-native 0.68.2
It was mentioned on #5446 but seems like it got forgotten, #5446 had a different react-native version too, which was rn 0.69.6.
Contributor guide
Assessment
This issue has not been assessed yet.