We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My current app has 2 different user pools for production and development. Is there any way to configure awsconfiguration.json seperately? Thank you!
The text was updated successfully, but these errors were encountered:
See the README here: https://github.com/awslabs/aws-mobile-appsync-sdk-android
You can override the Default configuration by using the AWSConfiguration#setConfiguration() method. { "AppSync": { "Default": { "ApiUrl": "YOUR-GRAPHQL-ENDPOINT", "Region": "us-east-1", "ApiKey": "YOUR-API-KEY", "AuthMode": "API_KEY" }, "Custom": { "ApiUrl": "YOUR-GRAPHQL-ENDPOINT", "Region": "us-east-2", "ApiKey": "YOUR-API-KEY", "AuthMode": "API_KEY" } } } AWSConfiguration awsConfig = new AWSConfiguration(context); awsConfig.setConfiguration("Custom"); AWSAppSyncClient client = AWSAppSyncClient.builder() .context(context) .awsConfiguration(awsConfig) .build();
Sorry, something went wrong.
No branches or pull requests
My current app has 2 different user pools for production and development. Is there any way to configure awsconfiguration.json seperately? Thank you!
The text was updated successfully, but these errors were encountered: