I am using the react-native-device-activity library to request authorization for the device's activity data with ReactNativeDeviceActivity.requestAuthorization()
, but I am receiving the error message "Possible Unhandled Promise Rejection (id: 0): Error: Couldn’t communicate with a helper application." when attempting to request authorization.
Steps to Reproduce
Install and link the react-native-device-activity library.
Request authorization for the device's activity data using the requestAuthorization() function provided by the library.
Wait for the permission response.
Environment
React Native version: 0.72.3
Platform: iPhone 8 Plus real device
I am using the react-native-device-activity library to request authorization for the device's activity data with ReactNativeDeviceActivity.requestAuthorization() , but I am receiving the error message "Possible Unhandled Promise Rejection (id: 0): Error: Couldn’t communicate with a helper application." when attempting to request authorization.
Steps to Reproduce
Environment React Native version: 0.72.3 Platform: iPhone 8 Plus real device