Questions tagged [aws-mobilehub]

Use this tag for questions related to AWS Mobile Hub, which provides an integrated console that helps you build, test, and monitor your mobile apps. Use the console to choose the features you want to include in your app. Mobile Hub then provisions and configures the necessary AWS services on your behalf and creates a working sample app for you.

Useful Links:

  1. AWS Mobile hub
  2. Documentation & Developer Guide
167 questions
18
votes
3 answers

AWS Amplify/CLI vs AWS mobile hub

I'm new with AWS mobile hub and today I just notice there is a new AWS Amplify/CL, now I'm super confused with these two libs. My understanding was AWS mobile cli is a tool that create aws backend service, and amplify js just client library that…
Yi Zhou
  • 803
  • 1
  • 8
  • 24
13
votes
4 answers

AWS Cognito/Amplify - have new user sign ups be automatically add to a user group

I am using AWS Amplify library to sign up and perform Auth for an AppSync project. This uses Cognito. However, when a new user signs up via Amplify/Cognito, the new user isn't assigned to any specific group in the cognito pool. I am using the…
6
votes
4 answers

AWS Amplify uses guest credentials, not authenticated creds, in API requests

I am using the AWS Amplify library with MobileHub. I have a Cognito User Pool connected, and an API Gateway (which communicates with Lambda functions). I'd like my users to sign before accessing resources, so I've enabled "mandatory sign-in" in…
haz
  • 2,034
  • 4
  • 28
  • 52
6
votes
1 answer

AWS node.js lambda request dynamodb but no response (no err, no return data)

I am playing the aws mobilehub with react-native and I was hoping that it can speed up the backend hosting for me. However, I cannot get its backend API working. After a long run with their docs, I pin down the problem between its lambda function…
idler1515
  • 150
  • 3
  • 11
5
votes
1 answer

iOS - AWS MobileHub sign in with developer authenticated provider

I'm trying to understand how to sign in with a developer authenticated identity using AWS mobilehub's iOS SDK as recently AWS changed this SDK and I cannot find any documentation on this. The sample app fails to shed any light on this. I have a REST…
Zigglzworth
  • 6,645
  • 9
  • 68
  • 107
4
votes
3 answers

Customize AWS amplify withAuthenticator UI on React Native

How do I customize default AWS with Authenticator UI? I want to either hide or remove Phone Number filed and add custom colors and padding. Also want to move the entire form to the bottom of the screen with React Native's keyboardAvoidingView. It…
Skate to Eat
  • 2,554
  • 5
  • 21
  • 53
4
votes
2 answers

AWS Cognito: "Unauthenticated access is not supported for this identity pool."

i am fighting with an issue "Unauthenticated access is not supported for this identity pool." from AWS Cognito in my Swift iOS Application. I previously used Firebase for authentication & storage and have decided to migrate to AWS Mobile Hud for…
4
votes
1 answer

AWS MobileHub : Rename Android / iOS sample project

I am a newbie on AWS Mobilehub. I like how it allows me to create project with AWS configured options. However when I try to build the app (ios/swift/android) it always uses my sample project as project name. And in most of configuration settings…
Infs
  • 151
  • 2
  • 5
4
votes
1 answer

account creation in aws from android mobile sdk

I am just moving away from parse to AWS. I just wanted to allow the users to register themselves as a user in AWS DB. I also wanted to implement custom login. As I as am completely new I have tried the following 1)Created an App in the Console by…
Lochana Ragupathy
  • 4,320
  • 2
  • 25
  • 36
3
votes
0 answers

Cognito - getInstance().getTokens() Error: Failed to federate the tokens

Works without an issue when calling AWSMobileClient.getInstance().getTokens().getIdToken().getClaim("sub"); Right after I login. AWSMobileClient.getInstance().signIn(username, password.... However when I resume activity(go to another app) and…
3
votes
1 answer

Is AWSmobile-cli discontinued?

When attempting to initilaise awsmobile cli, it says development is being discontinued, switch to AWS Amplify cli. AWS mobile was fantastic, in that it setup all the backend components i needed automatically. No need to use a templated project.…
chai86
  • 425
  • 2
  • 14
  • 34
3
votes
1 answer

AWS Cognito: How to keep an Android user logged in?

Currently each time the app is restarted the user has to log in. I would like the app to remember the user until they manually sign out. Below is what I thought would work, but its just bypassing the login activity completely. @Override protected…
Josh Field
  • 63
  • 8
3
votes
1 answer

AWS Mobile Hub Environments

I'm currently working through my first AWS Mobile Hub project, and it's going pretty well so far. However one thing which is unclear is how "production" deployments are managed. My Mobile Hub project is using features including: Sign In…
Mark McKim
  • 553
  • 1
  • 5
  • 9
3
votes
0 answers

Injecting DynamoDbMapper using Dagger - AwsMobileClient

I'm struggling to find a way to use dagger to inject a DynamoDB mapper into my Repository. I'm using AwsMobileClient which requires initialising in my "main activity" like so: AWSMobileClient.getInstance().initialize(application) { …
OliverDeLange
  • 643
  • 5
  • 19
3
votes
2 answers

How to add AppSync backend to AWS MobileHub project via console?

Although awsmobile-cli has a feature for enabling and configuring an AppSync backend like: awsmobile appsync enable awsmobile appsync configure It is prone to end up with a total irrelevant configuration: It creates DynamoDB tables in us-west-2…
vahdet
  • 6,357
  • 9
  • 51
  • 106
1
2 3
11 12