File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 17
17
<key >CFBundlePackageType </key >
18
18
<string >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string >
19
19
<key >CFBundleShortVersionString </key >
20
- <string >0.11.4 </string >
20
+ <string >0.11.5 </string >
21
21
<key >CFBundleVersion </key >
22
22
<string >$(CURRENT_PROJECT_VERSION) </string >
23
23
<key >ITSAppUsesNonExemptEncryption </key >
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ class ProtectEarthTreeService: TreeService {
72
72
73
73
var latitude = " 0 "
74
74
var longitude = " 0 "
75
+ var uploadKey = " \( Secrets . awsBucketPrefix) / \( tree. treeId) .jpg "
75
76
76
77
if ( coordinates. count == 2 ) {
77
78
latitude = coordinates [ 0 ]
@@ -98,15 +99,15 @@ class ProtectEarthTreeService: TreeService {
98
99
99
100
transferUtility. uploadData ( data,
100
101
bucket: Secrets . awsBucketName,
101
- key: " \( Secrets . awsBucketPrefix ) / \( tree . treeId ) " ,
102
+ key: uploadKey ,
102
103
contentType: " image/jpeg " ,
103
104
expression: expression,
104
105
completionHandler: completionHolder. completionHandler
105
106
)
106
107
. continueWith { ( task) -> AnyObject ? in
107
108
// stuff we want to do once the task is *STARTED*
108
109
Rollbar . infoMessage ( " S3 upload started " , data: [
109
- " bucket-path " : " \( Secrets . awsBucketPrefix ) / \( tree . treeId ) " ,
110
+ " bucket-path " : uploadKey ,
110
111
" x-amz-meta-datetaken " : tree. createDate? . ISO8601Format ( ) ,
111
112
" x-amz-meta-supervisor " : tree. supervisor,
112
113
" x-amz-meta-latitude " : latitude,
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >0.11.4 </string >
18
+ <string >0.11.5 </string >
19
19
<key >CFBundleVersion </key >
20
20
<string >1 </string >
21
21
</dict >
You can’t perform that action at this time.
0 commit comments