Skip to content

Commit 26c4e9f

Browse files
author
Olle Fredriksson
committedMar 2, 2016
AmazonS3: Download SDK with stuff
1 parent 9967be6 commit 26c4e9f

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed
 

‎Samples/AmazonS3/AWS.stuff

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
if ANDROID {
2+
aws-android-sdk-2.2.13: "http://sdk-for-android.amazonwebservices.com/aws-android-sdk-2.2.13.zip"
3+
}
4+
if iOS {
5+
aws-ios-sdk-2.3.5: "http://sdk-for-ios.amazonwebservices.com/aws-ios-sdk-2.3.5.zip"
6+
}
7+

‎Samples/AmazonS3/AmazonS3.cpp.uxl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Extensions Backend="CPlusPlus">
22
<Type Name="AmazonS3" Condition="Android">
3-
<CopyFile Name="aws-android-sdk-2.2.13/lib/aws-android-sdk-core-2.2.13.jar"
3+
<CopyFile Name="aws-android-sdk-2.2.13/aws-android-sdk-2.2.13/lib/aws-android-sdk-core-2.2.13.jar"
44
TargetName="@(Java.LibsDirectory)/aws-android-sdk-core-2.2.13.jar" />
5-
<CopyFile Name="aws-android-sdk-2.2.13/lib/aws-android-sdk-s3-2.2.13.jar"
5+
<CopyFile Name="aws-android-sdk-2.2.13/aws-android-sdk-2.2.13/lib/aws-android-sdk-s3-2.2.13.jar"
66
TargetName="@(Java.LibsDirectory)/aws-android-sdk-s3-2.2.13.jar" />
77
<Require AndroidManifest.ApplicationElement>
88
<![CDATA[

‎Samples/AmazonS3/README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ iOS.
66

77
## Setup
88

9-
For this sample to work you will need to get the AWS SDK for both iOS and
10-
Android. These should be placed in the same directory as this project. The
11-
sample has been tested with `aws-ios-sdk-2.3.5` and `aws-android-sdk-2.2.13`.
9+
This sample will automatically download the AWS SDK for the platform it's built
10+
on.
1211

13-
You will additionally need to configure S3 by following [Amazon's getting started guide](http://docs.aws.amazon.com/mobile/sdkforios/developerguide/s3transfermanager.html).
12+
You will need to configure S3 by following [Amazon's getting started guide](http://docs.aws.amazon.com/mobile/sdkforios/developerguide/s3transfermanager.html).
1413

1514
Once you have done that, you can fill in the details of your configuration in
1615
`MainView.uno`, where it says `<MY-POOLID>`, `<MY-BUCKET>`, and `<MY-FILEKEY>`.

0 commit comments

Comments
 (0)