Skip to content

fix: offline support saving cyclic structure#2469

Merged
santhoshvai merged 2 commits intodevelopfrom
fix-offline-cyclic-structure
Apr 1, 2024
Merged

fix: offline support saving cyclic structure#2469
santhoshvai merged 2 commits intodevelopfrom
fix-offline-cyclic-structure

Conversation

@santhoshvai
Copy link
Copy Markdown
Member

due to #2422 we supported adding any custom fields to the message

but if an integrator adds <TouchableOpacity onPress={sendMessage}> it will unintentionally add any touchable event params to the signature. And this creates a bug with offline support as it has cyclic structure.

This was pointed out here

In this PR we change the signature of the method so that this cannot happen anymore

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

removing all the ignored logs..

had it not been there we can catch these kind of bugs

@santhoshvai santhoshvai merged commit 792b4c9 into develop Apr 1, 2024
@santhoshvai santhoshvai deleted the fix-offline-cyclic-structure branch April 1, 2024 07:22
@github-actions github-actions Bot mentioned this pull request Apr 1, 2024
@stream-ci-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.27.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants