Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cordova-plugin-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-plugin-background-geolocation
Commits
e8858b6c
Commit
e8858b6c
authored
Feb 10, 2014
by
Chris Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated desiredAccuracy from region-monitoring
parent
5b774994
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CDVBackgroundGeoLocation.m
src/ios/CDVBackgroundGeoLocation.m
+2
-2
No files found.
src/ios/CDVBackgroundGeoLocation.m
View file @
e8858b6c
...
...
@@ -410,7 +410,7 @@
}
stationaryRegion
=
[[
CLCircularRegion
alloc
]
initWithCenter
:
coord
radius
:
stationaryRadius
identifier
:
@"BackgroundGeoLocation stationary region"
];
stationaryRegion
.
notifyOnExit
=
YES
;
[
locationManager
startMonitoringForRegion
:
stationaryRegion
desiredAccuracy
:
desiredAccuracy
];
[
locationManager
startMonitoringForRegion
:
stationaryRegion
];
}
// If you don't stopMonitorying when application terminates, the app will be awoken still when a
...
...
@@ -429,4 +429,4 @@
locationManager
.
delegate
=
nil
;
}
@end
\ No newline at end of file
@end
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