Skip to content

Conversation

douglowder
Copy link
Contributor

Summary

It is not necessary for Apple TV to do a logbox warning about async storage every time the app is reloaded.

This change just places the warning in a dispatch_once() so that it occurs only when the app is started.

Test Plan

Tested using the app at https://github.com/douglowder/IgniteTVTest, which has the patch provided in this PR.

Copy link
Member

@tido64 tido64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good to me. Before we merge though, I just want to verify with @krizzu that we can still publish new versions in the current repo state.

@krizzu
Copy link
Member

krizzu commented Nov 1, 2023

Should be good to go

@tido64 tido64 merged commit c770d4d into react-native-async-storage:main Nov 1, 2023
@AsyncStorageBot
Copy link
Collaborator

🎉 This PR is included in version 1.19.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@douglowder
Copy link
Contributor Author

Thanks very much @tido64 @krizzu !

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.

4 participants