Questions tagged [aws-amplify-sdk-android]

53 questions
10
votes
1 answer

Gradle - Android - In App Review causes compile error - Amplify old dependency

I am trying to integrate In App Review and I get this compile error: Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules jetified-core-1.9.1-runtime (com.google.android.play:core:1.9.1) and…
Uriel Frankel
  • 14,304
  • 8
  • 47
  • 69
10
votes
3 answers

AWS Amplify Auth Errors

I'm using the Android Amplify library. I am having trouble finding out what kind of error would be passed back from the Amplify.Auth.signIn() function. I'm not finding the documentation for this anywhere. Right now I am just kind of guessing as…
8
votes
0 answers

Amplify Auth and Android: how to get guest session token?

I have an Android app using Amplify Auth. I am able to use guest access and secret keys, but not the session token. Postman requires a session token when using temporary credentials. As per the Amplify documentation, I use this code to get the…
8
votes
1 answer

AWS Amplify GraphQL Unknown Directive in Android Studio

I have been experimenting with AWS Amplify to generate a GraphQL API and backend. I can create a working backend using the guided schema creation. I chose the Todo example. I can call it from an app built in Android Studio. Queries and mutations…
6
votes
3 answers

AWS Amplify: AmplifyException 'You are not authorized to make this call.'

I have integrated aws amplify into and android app by following https://docs.amplify.aws/lib/q/platform/android in my mac book pro. Now I check-out the same project into another machine mac mini. and trying to run. I am getting this error, not sure…
6
votes
0 answers

Cannot Successfully Generate Model files Using Amplify for Android

Expected Results Java classes for the models in schema.graphql are created. Actual Results I get this message: Error: No AppSync API configured. Please add an API What I have tried As suggested in the Amplify API documentation, have tried to…
5
votes
1 answer

Mocking AWS Amplify Auth APIs for Android

My Android application uses AWS Cognito and Amplify Auth SDK for authentication and I'm trying to write JUnit test cases for login/signup flows. I'm using Mockito framework to mock the classes. I started with login, my login model looks like…
Kishore
  • 952
  • 2
  • 11
  • 31
5
votes
1 answer

Will AWS Mobile SDK libraries go away due to Amplify?

Currently, the company I work for uses AWS libraries in multiple Android apps, AWS libraries…
4
votes
2 answers

Android-Amplify: Uploading/downloading file to/from AWS S3 using Amplify

I want to develop a simple android app to upload an image file to an already created S3 bucket in AWS. If I google, All the latest AWS documentations are redirecting me to use Amplify framework. I don't understand the documentation of uploading a…
4
votes
1 answer

Full offline option using AWS DataStore and then allow an optional activation for the the cloud sync features in Android

I've started a project using AwsAppsync. The app is going to be offline first. And we want to offer the option to sync in the cloud as an extra option later if the customer wants it. So, I configured my project like this: In build.gradle added the…
Mariano L
  • 1,809
  • 4
  • 29
  • 51
3
votes
2 answers

accessing aws private bucket in android without cognito

I am new to using aws and I am having some troubles. I have a set of videos that are present in multiple folders in an aws s3 bucket . I am creating an android app which would be reading the videos of bucket ,display them as list and allow the users…
3
votes
0 answers

Using custom Appsync queries with the Amplify-Android sdk

I have a custom query in my schema with its own pipeline resolver set up: type Query { getMomentAppendView(mid: ID!): Moment } I am unsure what codegen labels it as in the Amplify framework. In the tutorials I only see how to get the pre-made…
chrisdottel
  • 1,053
  • 1
  • 12
  • 21
3
votes
3 answers

How to send SMS programmatically using Amazon Amplify SDK for my Android app users?

I want to send a welcome message (SMS) to phone number of my app's user when they will sign up using their phone number. I couldn't find official documentation for this particular task.
Ssubrat Rrudra
  • 870
  • 8
  • 20
3
votes
1 answer

AWS facial rekognition within an Android app

I'am trying to make an Android application which can send images taken by a camera on an Android tablet to AWS Rekognition. It's the intention that pictures will be directly send to the AWS Rekognition service without the need of an S3 bucket. The…
2
votes
0 answers

Set session in Amplify Auth Android using AccessToken and RefreshToken

We do a custom authentication against Cognito and we get the AccessToken and RefreshToken in the client. How can we pass these tokens to Amplify Auth Android SDK to set the session there? Similar to this question, but for Android:…
1
2 3 4