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
b8362a8b
Commit
b8362a8b
authored
Apr 09, 2015
by
Chris Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update BootReceiver.java
spacing
parent
d16f28c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
BootReceiver.java
src/android/BootReceiver.java
+8
-8
No files found.
src/android/BootReceiver.java
View file @
b8362a8b
...
...
@@ -17,14 +17,14 @@ public class BootReceiver extends BroadcastReceiver {
* Background Geolocation Configuration params.
* If you're auto-running the service on BOOT, you need to manually configure the params here since the foreground app will not have been booted.
*/
private
float
distanceFilter
=
50
;
private
Integer
desiredAccuracy
=
0
;
private
Integer
locationUpdateInterval
=
5000
;
private
Integer
activityRecognitionInterval
=
10000
;
private
long
stopTimeout
=
0
;
private
float
distanceFilter
=
50
;
private
Integer
desiredAccuracy
=
0
;
private
Integer
locationUpdateInterval
=
5000
;
private
Integer
activityRecognitionInterval
=
10000
;
private
long
stopTimeout
=
0
;
private
boolean
debug
=
true
;
private
boolean
stopOnTerminate
=
false
;
private
boolean
forceReload
=
false
;
private
boolean
stopOnTerminate
=
false
;
private
boolean
forceReload
=
false
;
private
String
url
=
"http://posttestserver.com/post.php?dir=cordova-background-geolocation"
;
private
String
params
=
"{'foo':'bar'}"
;
private
String
headers
=
"{'X-FOO':'BAR'}"
;
...
...
@@ -52,4 +52,4 @@ public class BootReceiver extends BroadcastReceiver {
context
.
startService
(
backgroundServiceIntent
);
}
}
\ No newline at end of file
}
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