Questions tagged [aws-amplify-sdk-android]

53 questions
2
votes
1 answer

How to configure multiple S3 buckets in android using the amplify framework

I am developing a android app using AWS as a cloud backend. There is a need where I need to access two different S3 buckets in my android app. AS per the official document AWS recommends to use Amplify framework for android AWS integration. But I…
2
votes
0 answers

AWS Amplify native app client secret required to proceed but causes exception for having it?

I am attempting to import authorization from an existing backend for multiple frontends (in this case both an Android and iOS app; this error is starting from the Android side of things though) however when following the guides out there, I get…
maezred
  • 21
  • 2
2
votes
1 answer

Amplify API Reference

I am having a really difficult time navigating the API reference. The old AWS SDK for java used to have all used classes labeled with their proper parameters, errors thrown, and return values. I am not finding this with Amplify. Currently I am…
chrisdottel
  • 1,053
  • 1
  • 12
  • 21
2
votes
1 answer

Authenticating a REST API with Cognito using AWS Amplify & Android

I am currently trying to configure a REST API I added using AWS Amplify. I have already configured user authentication in which users can sign-up and sign-in by following the steps outlined in the authentication docs. I then added a REST API using…
1
vote
0 answers

Amplify Storage Exception: Failed to fetch identity ID in Android

I have followed the docs and imported the S3 bucket successfully in Android Project, but I'm not able to upload or download from the bucket. I even removed the storage and auth using amplify cli, added new storage with auth and guest having all the…
1
vote
0 answers

Android Studio - Navigation Editor not showing previews after using amplify sdk

Suddenly the preview of the navigation graph just dissapear. After a deep research I figure out this problem was triggered right after adding the amplify dependency. To reproduce this bug, follow the following steps: Clone the repository…
1
vote
2 answers

RN None of these files exist: * aws-exports

I initialized a new react native project with Amplify. npm install -g @aws-amplify/cli amplify configure npm install -g expo-cli expo init RNAmplify cd RNAmplify amplify init npm install aws-amplify aws-amplify-react-native…
1
vote
0 answers

Is there a way to configure amplify CLI with out AdministratorAccess will it work (for a android project)?

I am working on a POC where I am trying to use AWS resources like S3, pinpoint, etc in a mobile Android project. As per AWS latest recommendation i am using Amplify CLI framework in my Android project to integrate Android with my AWS services. For…
1
vote
1 answer

Android Amplify- DataStoreChannelEventName RECEIVED_FROM_CLOUD no longer supported

So I updated my amplify library to the latest version and the RECEIVED_FROM_CLOUD datastore event has been removed. Is there a replacement that can be used that does the same thing?
1
vote
1 answer

Login from Android with Amplify and Login with Amazon

I use Amplify on Android with the option Login with Amazon. Unfortunately I get an: AmplifyException {message=Sign in with web UI failed, cause=com.amazonaws.mobileconnectors.cognitoauth.exceptions.AuthServiceException: invalid_request,…
1
vote
2 answers

error: cannot find symbol com: amplifyframework.util.Immutable

I am attaching to AWS Amplify and using this link https://aws-amplify.github.io/docs/android/start But after adding all dependencies i am getting below error: 14:12:02.093 [ERROR] [system.err]…
1
vote
0 answers

amplify push causing error : An error occurred during the push operation \app\src\main\res\raw contains invalid WIN32 path characters

I'm trying to integrate AWS authentication in my android application, I'm using AWS amplify. While trying to use amplify push command i received following error. An error occurred during the push operation: app\src\main\res\raw contains invalid…
Omkar C.
  • 755
  • 8
  • 21
1
vote
2 answers

How to get a List of items for a RecyclerView?

I'm getting started with the Amplify Framework and I'm following Building an Android app with AWS Amplify – Part 1 from the AWS blog. The code being used there appears to be outdated (2018) since there's nothing like that in the Amplify…
Zero
  • 717
  • 6
  • 21
1
vote
1 answer

Android: AWS Amplify User State is not getting update

I have just started learning AWS Amplify and I am integrating it to my android project to authenticate users. I have successfully logged-in but UserState is still SIGNED_OUT. AWSMobileClient.getInstance().signIn(userName, password, null,…
Fazal Hussain
  • 1,129
  • 12
  • 28
1
vote
1 answer

Amplify Android - The client issued a subsequent call to `Amplify.configure` after the first had already succeeded

I created a function to upload an image to AWS S3 bucket. The function is called when a button is pressed. This works for first instance after a new Gradle build. But when I try to call the function again, I get the…
ConfusedPanda
  • 33
  • 1
  • 5