Skip to content

Conversation

@matus-tomlein
Copy link
Contributor

@matus-tomlein matus-tomlein commented Apr 3, 2025

This release avoids the error ResiezObserver loop completed with undelivered notifications being generated under certain circumstances.

It also makes it possible to provide a custom event store implementation in the React Native tracker and use a different provider than @react-native-async-storage/async-storage.

Finally, the release adds a configurable default label ((empty)) for automatic button click tracking to prevent validation failures for buttons that are missing a label. It also fixes disabling button click tracking for specific trackers.

NOTE: The @react-native-async-storage/async-storage dependency has been moved to peer dependencies for the React Native tracker. We expect that users already had this dependency listed under the app dependencies due to it providing native bindings that needed to be installed separately. Make sure your app has this dependency when upgrading the tracker.

Enhancements

Bug fixes

@xavi-999
Copy link

xavi-999 commented Apr 3, 2025

Hey @matus-tomlein, thanks for the MMKV support on this release!
Does the @react-native-async-storage/async-storage dependency still need to be installed if the client is using a custom event store such as MMKV?

@valeriobelli
Copy link
Contributor

Hey @matus-tomlein, thanks for the MMKV support on this release! Does the @react-native-async-storage/async-storage dependency still need to be installed if the client is using a custom event store such as MMKV?

Hey @xavi-999 👋🏽
Yes, it will still be needed to satisfy the peer dependency requirement. AsyncStorage will be required during bundling, given it is declared in the import graph.

As far as I know, the complete removal of AsyncStorage might be scheduled for v5, but @matus-tomlein can answer better here.

@xavi-999
Copy link

xavi-999 commented Apr 4, 2025

Hey @xavi-999 👋🏽
Yes, it will still be needed to satisfy the peer dependency requirement. AsyncStorage will be required during bundling, given it is declared in the import graph.

As far as I know, the complete removal of AsyncStorage might be scheduled for v5, but @matus-tomlein can answer better here.

Hey :)

Makes sense, I will be waiting for v5 then. Great job by the way @valeriobelli. Regards

@matus-tomlein matus-tomlein merged commit 5723413 into master Apr 4, 2025
0 of 2 checks passed
@matus-tomlein matus-tomlein deleted the release/4.5.0 branch April 4, 2025 09:18
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.

disableButtonClickTracking disables tracking of buttons for all trackers

7 participants