Skip to content

Commit

Permalink
Merge pull request #161 from gmatozinho/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
gmatozinho authored Oct 31, 2016
2 parents bcae8c1 + cecf075 commit 0e80739
Show file tree
Hide file tree
Showing 87 changed files with 3,573 additions and 4,852 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ solution: MimAcher.sln

jdk:
- oraclejdk8

env:
global:
- EnableNuGetPackageRestore=true

addons:
apt:
packages:
Expand Down
1 change: 1 addition & 0 deletions Components/GeolocatorPlugin-1.0.3.info
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Name":"Geolocator Plugin","Id":2035,"Alias":"GeolocatorPlugin","Description":"# Geolocator Plugin details\r\n\r\nSimple cross platform plugin to get GPS location including heading, speed, and more.\r\n\r\n#### Features\r\n* Async GPS Location Detection\r\n* Heading\r\n* Speed\r\n* Listen for Changes\r\n\r\n\r\nWorks from any shared code or PCL project.\r\n\r\nFind more plugins at: http://www.github.com/xamarin/plugins","Version":"1.0.3","Summary":"Simple cross platform plugin to get GPS location including heading, speed, and more.","QuickStart":"# Getting Started with Geolocator Plugin\r\n\r\n### API Usage\r\n\r\nCall **CrossGeolocator.Current** from any project or PCL to gain access to APIs.\r\n\r\n```\r\nvar locator = CrossGeolocator.Current;\r\nlocator.DesiredAccuracy = 50;\r\n\r\nvar position = await locator.GetPositionAsync (timeoutMilliseconds: 10000);\r\n\r\nConsole.WriteLine (\"Position Status: {0}\", position.Timestamp);\r\nConsole.WriteLine (\"Position Latitude: {0}\", position.Latitude);\r\nConsole.WriteLine (\"Position Longitude: {0}\", position.Longitude);\r\n```\r\n\r\n### **IMPORTANT**\r\nAndroid:\r\n\r\nYou must request ACCESS_COARSE_LOCATION \u0026 ACCESS_FINE_LOCATION permission\r\n\r\niOS:\r\n\r\nIn iOS 8 you now have to call either RequestWhenInUseAuthorization or RequestAlwaysAuthorization on the location manager. Additionally you need to add either the concisely named NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription to your Info.plist. \r\nSee: http://motzcod.es/post/97662738237/scanning-for-ibeacons-in-ios-8\r\n\r\nWindows Phone:\r\n\r\nYou must set the ID_CAP_LOCATION permission.","Hash":"94480115a3947ef812df48cae11dbd94","TargetPlatforms":["ios","ios-unified","android"],"TrialHash":null}
Binary file added Components/GeolocatorPlugin-1.0.3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Components/GeolocatorPlugin-1.0.3/component/Details.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Geolocator Plugin details

Simple cross platform plugin to get GPS location including heading, speed, and more.

#### Features
* Async GPS Location Detection
* Heading
* Speed
* Listen for Changes


Works from any shared code or PCL project.

Find more plugins at: http://www.github.com/xamarin/plugins
30 changes: 30 additions & 0 deletions Components/GeolocatorPlugin-1.0.3/component/GettingStarted.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Getting Started with Geolocator Plugin

### API Usage

Call **CrossGeolocator.Current** from any project or PCL to gain access to APIs.

```
var locator = CrossGeolocator.Current;
locator.DesiredAccuracy = 50;
var position = await locator.GetPositionAsync (timeoutMilliseconds: 10000);
Console.WriteLine ("Position Status: {0}", position.Timestamp);
Console.WriteLine ("Position Latitude: {0}", position.Latitude);
Console.WriteLine ("Position Longitude: {0}", position.Longitude);
```

### **IMPORTANT**
Android:

You must request ACCESS_COARSE_LOCATION & ACCESS_FINE_LOCATION permission

iOS:

In iOS 8 you now have to call either RequestWhenInUseAuthorization or RequestAlwaysAuthorization on the location manager. Additionally you need to add either the concisely named NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription to your Info.plist.
See: http://motzcod.es/post/97662738237/scanning-for-ibeacons-in-ios-8

Windows Phone:

You must set the ID_CAP_LOCATION permission.
23 changes: 23 additions & 0 deletions Components/GeolocatorPlugin-1.0.3/component/License.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Geolocator Plugin license


The MIT License (MIT)

Copyright (c) 2014 James Montemagno / Refractored LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 changes: 29 additions & 0 deletions Components/GeolocatorPlugin-1.0.3/component/Manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<component format="1" id="GeolocatorPlugin" is-shell="true">
<name>Geolocator Plugin</name>
<publisher>James Montemagno</publisher>
<publisher-url>http://www.github.com/jamesmontemagno/Xamarin.Plugins</publisher-url>
<version>1.0.3</version>
<summary>Simple cross platform plugin to get GPS location including heading, speed, and more.</summary>
<packages>
<package id="Xam.Plugin.Geolocator" version="1.0.3" framework="winphone-8.1" />
<package id="Xam.Plugin.Geolocator" version="1.0.3" framework="ios-unified" />
<package id="Xam.Plugin.Geolocator" version="1.0.3" framework="android" />
<package id="Xam.Plugin.Geolocator" version="1.0.3" framework="winphone-8.0" />
<package id="Xam.Plugin.Geolocator" version="1.0.3" framework="ios" />
</packages>
<samples>
<sample id="GeolocatorSample">
<name>Android Sample</name>
<summary>Android Sample</summary>
</sample>
<sample id="GeolocatorSample">
<name>WindowsPhone Sample</name>
<summary>WindowsPhone Sample</summary>
</sample>
<sample id="GeolocatorSample">
<name>iOS Sample</name>
<summary>iOS Sample</summary>
</sample>
</samples>
</component>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0e80739

Please sign in to comment.