How can I listen to "location services enabled" changes?

SDK Version: 43
Platforms: Android and iOS

I currently use Location.hasServicesEnabledAsync() to get whether location services are enabled, but I would like to subscribe to this change. What would be the easiest way to achieve it? Do I have to write native code for it? I was thinking of adding this feature to an expo-location fork, but that seems too complicated for me.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.