Skip to content
New issue

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

feat: Upgrade AppSyncRealTimeClient 1.7.0 for Starscream 4 #518

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

lawmicha
Copy link
Contributor

@lawmicha lawmicha commented Feb 16, 2022

Issue #, if available:

Description of changes:
Setting the lowest version of AppSyncRealTimeClient to 1.7. When AppSync SDK is released and installed, it will pick up the starscream 4.0.4. Developers could explicitly upgrade AppSyncRT as well using older versions of AppSync SDK, however this way, developers only need to manage the AppSync SDK dependency if they do need to downgrade from starscream 4.0.4.

This PR sets it to 1.7 as the minimum, then will be released without any other changes. Although it is picking up AppSyncRT 1.8, the additive API in 1.8 is not used and can be pulled in as a non-breaking change to this SDK. There is a behavior change in the logging output, such that the default is .error so if pulling in 1.8 from AppSync SDK and need more verbose logs from AppSyncRTClient, the following can be used:

AppSyncRealTimeClient.logLevel = .verbose

Integration tests are passing.

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

@lawmicha lawmicha marked this pull request as ready for review February 16, 2022 19:25
@lawmicha lawmicha merged commit 84db067 into main Feb 21, 2022
@lawmicha lawmicha deleted the feat/appsyncrt-1.7 branch February 21, 2022 18:10
karim-alweheshy pushed a commit to chocoapp/aws-mobile-appsync-sdk-ios that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants