Beckham Vinoth
Beckham Vinoth

Reputation: 65

Enable Phone settings using react-native

I want to turn on Location/GPS if location was turned off .Is this possible to achieve this using react-native ? .I searched this on many sites , they told me to do the changes in Java files , so that is not possible for my app . My app is created by Pure react-native codes so someone please guide/refer me on this .

Upvotes: 0

Views: 1510

Answers (1)

Mohamed Khalil
Mohamed Khalil

Reputation: 3136

you can try react-native-system-setting

It provides some system setting APIs for you. Support iOS and Android both.

Support

  • Volume ( with listener)
  • Brightness
  • Wifi switch
  • Location
  • Bluetooth

Upvotes: 1

Related Questions