I am also looking for a way to access the ScreenTime API using React Native. In my research and experimentation, I found this package: https://github.com/kingstinct/react-native-device-activity but I get a strange error when I try to use it in the app (see attached screenshot). I haven't found any helpful documentation to resolve the error, so has anyone found any other packages that might work? Or has anyone else encountered this error before? I have not tried to manually access the API (i.e. without an npm package), but I would prefer to use a package if possible.
Topic:
Privacy & Security
SubTopic:
General
Tags: