lxy 1 년 전
부모
커밋
a6471daf5b
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 4
      LenzCameraNativeModuleForRN/Classes/inner/DB/LenzDataManager.m
  2. 1 1
      LenzSDK.podspec

+ 4 - 4
LenzCameraNativeModuleForRN/Classes/inner/DB/LenzDataManager.m

@@ -77,25 +77,25 @@ NSString *const LenFileDirectoryAiPanoramaPath = @"/aiPanorama/";
 + (NSString *)singlePath {
     NSTimeInterval timeInterval = [[NSDate date] timeIntervalSince1970];
     NSString *key = [NSString stringWithFormat:@"%.0f", timeInterval];
-    return [[LenzDataManager singleDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg",key]];
+    return [[LenzDataManager singleDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg?pf=iOS&mode=single",key]];
 }
 
 + (NSString *)continuousPath {
     NSTimeInterval timeInterval = [[NSDate date] timeIntervalSince1970];
     NSString *key = [NSString stringWithFormat:@"%.0f", timeInterval];
-    return [[LenzDataManager continuousDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg",key]];
+    return [[LenzDataManager continuousDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg?pf=iOS&mode=continuous",key]];
 }
 
 + (NSString *)panoramPath {
     NSTimeInterval timeInterval = [[NSDate date] timeIntervalSince1970];
     NSString *key = [NSString stringWithFormat:@"%.0f", timeInterval];
-    return [[LenzDataManager panoramsDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg",key]];
+    return [[LenzDataManager panoramsDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg?pf=iOS&mode=panorama",key]];
 }
 
 + (NSString *)aiPanoramPath {
     NSTimeInterval timeInterval = [[NSDate date] timeIntervalSince1970];
     NSString *key = [NSString stringWithFormat:@"%.0f", timeInterval];
-    return [[LenzDataManager aiPanoramsDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg",key]];
+    return [[LenzDataManager aiPanoramsDirectory] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.jpg?pf=iOS&mode=panoramaPlus",key]];
 }
 
 + (NSString *)moviePath {

+ 1 - 1
LenzSDK.podspec

@@ -8,7 +8,7 @@
 
 Pod::Spec.new do |s|
   s.name             = 'LenzSDK'
-  s.version          = '2.2.0'
+  s.version          = '2.2.5'
   s.summary          = 'A short description of LenzSDK.'
 
 # This description is used to generate tags and improve search results.