# react-native-file-receive **Repository Path**: heheee/react-native-file-receive ## Basic Information - **Project Name**: react-native-file-receive - **Description**: 接受其他app的文件 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-03 - **Last Updated**: 2021-09-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-native-amap-geolocation [![npm version][version-badge]][npm] [![build status][build-badge]][build] React Native 高德地图定位模块,支持 Android + iOS,提供尽可能完善的原生接口, 同时提供符合 Web 标准的 Geolocation API。 ## 用法 ```javascript import { PermissionsAndroid } from "react-native"; import { init, Geolocation } from "react-native-amap-geolocation"; await PermissionsAndroid.requestMultiple([ PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION, PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION, ]); await init({ ios: "9bd6c82e77583020a73ef1af59d0c759", android: "043b24fe18785f33c491705ffe5b6935" }); Geolocation.getCurrentPosition(({ coords }) => { console.log(coords); }); ``` ## 文档 - [使用指南](https://qiuxiang.github.io/react-native-amap-geolocation) - [接口文档](https://qiuxiang.github.io/react-native-amap-geolocation/api/globals.html) [npm]: https://www.npmjs.com/package/react-native-amap-geolocation [version-badge]: https://badge.fury.io/js/react-native-amap-geolocation.svg [build-badge]: https://travis-ci.org/qiuxiang/react-native-amap-geolocation.svg?branch=master [build]: https://travis-ci.org/qiuxiang/react-native-amap-geolocation