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/03 05:16:08 UTC

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

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

 ##########
 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:
   Hi @janpio, I see you already fixed indention and commit in `klodha:klodha-camera-ios-patch`. So is there any further change required from my side? 
   
   

----------------------------------------------------------------
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