Skip to content
Permalink
Browse files
  • Loading branch information
zalun committed May 20, 2014
2 parents cb3612c + 1ac2200 commit 48af4c4d9f5d9e11304be58e0f509c57bff409f1
Show file tree
Hide file tree
Showing 34 changed files with 301 additions and 4,776 deletions.
@@ -0,0 +1,16 @@
# Contributing to Apache Cordova

Anyone can contribute to Cordova. And we need your contributions.

There are multiple ways to contribute: report bugs, improve the docs, and
contribute code.

For instructions on this, start with the
[contribution overview](http://cordova.apache.org/#contribute).

The details are explained there, but the important items are:
- Sign and submit an Apache ICLA (Contributor License Agreement).
- Have a Jira issue open that corresponds to your contribution.
- Run the tests so your patch doesn't break existing functionality.

We look forward to your contributions!
5 NOTICE
@@ -0,0 +1,5 @@
Apache Cordova
Copyright 2012 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
@@ -47,3 +47,15 @@
* CB-5658 Add doc/index.md for Geolocation plugin
* windows8: adds missing reference to PositionError (w/o it the app crashes)
* Removing incorrectly added closing comments for wp7 platform in plugin.xml

### 0.3.6 (Feb 05, 2014)
* add ubuntu platform support
* CB-5326 adding FFOS permission and updating supported platforms
* CB-5729 [BlackBerry10] Update GeolocationProxy to return collapsed object

### 0.3.7 (Apr 17, 2014)
* CB-6422: [windows8] use cordova/exec/proxy
* CB-6212: [iOS] fix warnings compiled under arm64 64-bit
* CB-5977: [android] Removing the Android Geolocation Code. Mission Accomplished.
* CB-6460: Update license headers
* Add NOTICE file
@@ -49,11 +49,22 @@ see the Privacy Guide.

cordova plugin add org.apache.cordova.geolocation

### Firefox OS Quirks

Create __www/manifest.webapp__ as described in
[Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest).
Add permisions:

"permissions": {
"geolocation": { "description": "Used to position the map to your current position" }
}

## Supported Platforms

- Amazon Fire OS
- Android
- BlackBerry 10
- Firefox OS
- iOS
- Tizen
- Windows Phone 7 and 8
@@ -1,10 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="org.apache.cordova.geolocation"
version="0.3.5">
version="0.3.8-dev">

<name>Geolocation</name>
<description>Cordova Geolocation Plugin</description>
@@ -16,38 +34,11 @@ xmlns:android="http://schemas.android.com/apk/res/android"
<!-- android -->
<platform name="android">

<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="Coordinates" />
</js-module>

<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>

<js-module src="www/Position.js" name="Position">
<clobbers target="Position" />
</js-module>

<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>

<config-file target="res/xml/config.xml" parent="/*">
<feature name="Geolocation">
<param name="android-package" value="org.apache.cordova.geolocation.GeoBroker"/>
</feature>
</config-file>

<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
</config-file>

<source-file src="src/android/GeoBroker.java" target-dir="src/org/apache/cordova/geolocation" />
<source-file src="src/android/GPSListener.java" target-dir="src/org/apache/cordova/geolocation" />
<source-file src="src/android/NetworkListener.java" target-dir="src/org/apache/cordova/geolocation" />
<source-file src="src/android/CordovaLocationListener.java" target-dir="src/org/apache/cordova/geolocation" />

</platform>

<!-- amazon-fireos -->
@@ -148,6 +139,33 @@ xmlns:android="http://schemas.android.com/apk/res/android"

</platform>

<!-- ubuntu -->
<platform name="ubuntu">
<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="Coordinates" />
</js-module>

<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>

<js-module src="www/Position.js" name="Position">
<clobbers target="Position" />
</js-module>

<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>

<source-file src="src/ubuntu/geolocation.cpp" />
<header-file src="src/ubuntu/geolocation.h" />
<config-file target="config.xml" parent="/*">
<feature name="Geolocation">
<param policy_group="location" policy_version="1" />
</feature>
</config-file>
</platform>

<!-- wp7 -->
<platform name="wp7">

0 comments on commit 48af4c4

Please sign in to comment.