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
3f76b629
Commit
3f76b629
authored
Apr 23, 2015
by
Chris Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experimental extraction of core-features to separate library
parent
35eba74a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
817 additions
and
718 deletions
+817
-718
BackgroundGeolocation.h
src/ios/BackgroundGeolocation.h
+25
-0
BackgroundGeolocation.m
src/ios/BackgroundGeolocation.m
+777
-0
CDVBackgroundGeoLocation.h
src/ios/CDVBackgroundGeoLocation.h
+1
-9
CDVBackgroundGeoLocation.m
src/ios/CDVBackgroundGeoLocation.m
+14
-709
No files found.
src/ios/BackgroundGeolocation.h
0 → 100644
View file @
3f76b629
#import <CoreLocation/CoreLocation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <Cordova/CDVCommandDelegate.h>
@interface
BackgroundGeolocation
:
NSObject
<
CLLocationManagerDelegate
>
@property
(
nonatomic
,
strong
)
NSString
*
syncCallbackId
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
stationaryRegionListeners
;
@property
(
nonatomic
,
weak
)
id
<
CDVCommandDelegate
>
commandDelegate
;
-
(
void
)
configure
:(
CDVInvokedUrlCommand
*
)
config
;
-
(
void
)
start
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
stop
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
finish
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
onPaceChange
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
setConfig
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
addStationaryRegionListener
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
getStationaryLocation
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
onSuspend
:(
NSNotification
*
)
notification
;
-
(
void
)
onResume
:(
NSNotification
*
)
notification
;
-
(
void
)
onAppTerminate
;
@end
src/ios/BackgroundGeolocation.m
0 → 100644
View file @
3f76b629
This diff is collapsed.
Click to expand it.
src/ios/CDVBackgroundGeoLocation.h
View file @
3f76b629
...
...
@@ -5,13 +5,8 @@
//
#import <Cordova/CDVPlugin.h>
#import "CDVLocation.h"
#import <AudioToolbox/AudioToolbox.h>
@interface
CDVBackgroundGeoLocation
:
CDVPlugin
<
CLLocationManagerDelegate
>
@property
(
nonatomic
,
strong
)
NSString
*
syncCallbackId
;
@property
(
nonatomic
,
strong
)
NSMutableArray
*
stationaryRegionListeners
;
@interface
CDVBackgroundGeoLocation
:
CDVPlugin
-
(
void
)
configure
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
start
:(
CDVInvokedUrlCommand
*
)
command
;
...
...
@@ -21,9 +16,6 @@
-
(
void
)
setConfig
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
addStationaryRegionListener
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
getStationaryLocation
:(
CDVInvokedUrlCommand
*
)
command
;
-
(
void
)
onSuspend
:(
NSNotification
*
)
notification
;
-
(
void
)
onResume
:(
NSNotification
*
)
notification
;
-
(
void
)
onAppTerminate
;
@end
src/ios/CDVBackgroundGeoLocation.m
View file @
3f76b629
This diff is collapsed.
Click to expand it.
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