You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add AppState logic to track background and foreground app states. When you move the NFC chip close to the phone AppState will report background events even if the app is fully focused and active on the screen.
Expected Results
If the app is focused and the NFC chip is being held on the phone state should be active.
The text was updated successfully, but these errors were encountered:
Description
When the app is detecting NFC chip. AppState is falsely triggering background events.
It was already reported in 2018:
#14537 (comment)
React Native version:
System:
OS: macOS 11.5.1
CPU: (8) arm64 Apple M1
Memory: 108.52 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.3.0 - /opt/homebrew/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.15.1 - /opt/homebrew/bin/npm
Watchman: 2021.06.07.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.7660.26.42.7351085
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Expected Results
If the app is focused and the NFC chip is being held on the phone state should be active.
The text was updated successfully, but these errors were encountered: