Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cordova-background-geolocation
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Aksimaya
cordova-background-geolocation
Commits
dbbd0b7d
Commit
dbbd0b7d
authored
Jul 11, 2015
by
Chris Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename
parent
c6327323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
BGG.js
www/BGG.js
+20
-20
No files found.
www/B
ackgroundGeoLocation
.js
→
www/B
GG
.js
View file @
dbbd0b7d
...
...
@@ -40,7 +40,7 @@ module.exports = {
}
exec
(
mySuccess
,
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
configure
'
,
[
config
]
);
...
...
@@ -48,14 +48,14 @@ module.exports = {
start
:
function
(
success
,
failure
,
config
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
start
'
,
[]);
},
stop
:
function
(
success
,
failure
,
config
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
stop
'
,
[]);
},
...
...
@@ -65,7 +65,7 @@ module.exports = {
}
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
finish
'
,
[
taskId
]);
},
...
...
@@ -75,14 +75,14 @@ module.exports = {
}
exec
(
function
()
{},
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
error
'
,
[
taskId
,
message
]);
},
changePace
:
function
(
isMoving
,
success
,
failure
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
changePace
'
,
[
isMoving
]);
},
...
...
@@ -96,7 +96,7 @@ module.exports = {
this
.
_apply
(
this
.
config
,
config
);
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
setConfig
'
,
[
config
]);
},
...
...
@@ -106,7 +106,7 @@ module.exports = {
getStationaryLocation
:
function
(
success
,
failure
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
getStationaryLocation
'
,
[]);
},
...
...
@@ -133,7 +133,7 @@ module.exports = {
};
exec
(
callback
,
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
addStationaryRegionListener
'
,
[]);
},
...
...
@@ -162,7 +162,7 @@ module.exports = {
};
exec
(
callback
,
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
addMotionChangeListener
'
,
[]);
},
...
...
@@ -180,7 +180,7 @@ module.exports = {
}
exec
(
mySuccess
,
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
getLocations
'
,
[]);
},
...
...
@@ -202,7 +202,7 @@ module.exports = {
}
exec
(
mySuccess
,
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
sync
'
,
[]);
},
...
...
@@ -212,7 +212,7 @@ module.exports = {
getOdometer
:
function
(
success
,
failure
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
getOdometer
'
,
[]);
},
...
...
@@ -222,7 +222,7 @@ module.exports = {
resetOdometer
:
function
(
success
,
failure
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
resetOdometer
'
,
[]);
},
...
...
@@ -245,7 +245,7 @@ module.exports = {
}
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
addGeofence
'
,
[
config
]);
},
...
...
@@ -259,7 +259,7 @@ module.exports = {
}
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
removeGeofence
'
,
[
identifier
]);
},
...
...
@@ -278,7 +278,7 @@ module.exports = {
};
exec
(
mySuccess
,
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
onGeofence
'
,
[]);
},
...
...
@@ -288,7 +288,7 @@ module.exports = {
getGeofences
:
function
(
success
,
failure
)
{
exec
(
success
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
getGeofences
'
,
[]);
},
...
...
@@ -313,7 +313,7 @@ module.exports = {
}
exec
(
mySuccess
||
function
()
{},
failure
||
function
()
{},
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
getCurrentPosition
'
,
[]);
},
...
...
@@ -327,7 +327,7 @@ module.exports = {
var
failure
=
function
()
{};
exec
(
success
,
failure
,
'
BackgroundGeo
L
ocation
'
,
'
BackgroundGeo
l
ocation
'
,
'
playSound
'
,
[
soundId
]);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment