mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-08-02 00:00:04 +08:00
chore(CDVCamera): refactor code when returning image after getting the location (#969)
- Renamed property `data` to `tempImageDataForLocationManager` since it is only used when getting location data for an image after capturing it - Renamed method `imagePickerControllerReturnImageResult` to `returnImageAfterLocationUpdate` since it is only called, when a location was fetched, or an error ocurred while fetching one.
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ typedef NSUInteger CDVMediaType;
|
||||
@property (strong) CDVUIImagePickerController* cdvUIImagePickerController;
|
||||
@property (strong) NSMutableDictionary *metadata;
|
||||
@property (strong, nonatomic) CLLocationManager *locationManager;
|
||||
@property (strong) NSData* data;
|
||||
@property (strong) NSData* tempImageDataForLocationManager;
|
||||
|
||||
- (void)takePicture:(CDVInvokedUrlCommand*)command;
|
||||
- (void)cleanup:(CDVInvokedUrlCommand*)command;
|
||||
|
||||
Reference in New Issue
Block a user