react-native-open-setting-location
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

react-native-open-setting-location

This package for opened setting GPS in android

Installation

npm install react-native-open-setting-location

Usage

import React from "react";
import { View, Button } from "react-native";
import { openLocationService } from 'react-native-open-setting-location';

export default function App() {

  return (
    <View>
        <Button
            title="Open Location Setting"
            onPress={() => openLocationService()}
        />
    </View>
  );
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-open-setting-location

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

300 kB

Total Files

105

Last publish

Collaborators

  • deriifirgiawan