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
b002aacc
Commit
b002aacc
authored
Oct 04, 2013
by
Chris Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate away from deprecated method willUpdateFromLocation to willUpdateLocations
parent
d589111e
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 @
b002aacc
...
...
@@ -85,7 +85,7 @@
}
}
-
(
void
)
locationManager
:(
CLLocationManager
*
)
manager
didUpdate
ToLocation
:(
CLLocation
*
)
newLocation
fromLocation
:(
CLLocation
*
)
oldLocation
-
(
void
)
locationManager
:(
CLLocationManager
*
)
manager
didUpdate
Locations
:(
CLLocation
*
)
newLocation
fromLocation
:(
CLLocation
*
)
oldLocation
{
NSLog
(
@"CDVBackgroundGeoLocation didUpdateLocation"
);
...
...
@@ -98,7 +98,7 @@
// The omitted code should determine whether to reject the location update for being too
// old, too close to the previous one, too inaccurate and so forth according to your own
// application design.
[
self
.
locationCache
addObject
:
newLocation
];
[
self
.
locationCache
addObject
sFromArray
:
locations
];
[
self
sync
];
}
...
...
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