Skip to content

AureliusPatiens/weex-nat-geolocation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nat-geolocation

Installation

weexpack plugin add nat-geolocation
npm install natjs --save

Usage

Use in weex file (.we)

<script>
import 'Nat' from 'natjs'

// get
Nat.geolocation.get((err, ret) => {
    console.log(ret)
})

// watch
Nat.geolocation.watch((err, ret) => {
    console.log(ret)
})

// clearWatch
Nat.geolocation.clearWatch()

</script>

See the Nat Documentation for more details.

Releases

No releases published

Packages

No packages published

Languages

  • Java 74.0%
  • Objective-C 26.0%