You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/01 15:24:44 UTC

[GitHub] janpio commented on a change in pull request #306: ImagePicker returning same image

janpio commented on a change in pull request #306: ImagePicker returning same image
URL: https://github.com/apache/cordova-plugin-camera/pull/306#discussion_r214516385
 
 

 ##########
 File path: src/ios/CDVCamera.m
 ##########
 @@ -396,13 +396,16 @@ - (NSString*)tempFilePath:(NSString*)extension
     NSString* docsPath = [NSTemporaryDirectory()stringByStandardizingPath];
     NSFileManager* fileMgr = [[NSFileManager alloc] init]; // recommended by Apple (vs [NSFileManager defaultManager]) to be threadsafe
     NSString* filePath;
-
+    
     // generate unique file name
-    int i = 1;
+    //int i = 1; 
+	NSTimeInterval timeStamp = [[NSDate date] timeIntervalSince1970];
 
 Review comment:
   Could you fix the indentation of this and the next 2 lines please?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org