awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

Client prefix not honored when passed programmatically #308

Closed rjuliano closed 4 years ago

rjuliano commented 4 years ago

Issue #, if available:

306

Description of changes: Client database prefix setting was not being honored when passed in programmatically. This PR resolves that issue by using checking if the prefix is set programmatically before trying to use one from the config file.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.