01b0649 breaks the expectation that the callback will be called (with undefined or more) so it's an undocumented breaking API change.
Example code that this change breaks:
const updateValues = useCallback(() => {
Adjust.getAdid((id) => {
setAdid(id ?? '');
});
Adjust.getIdfa((id) => {
setIdfa(id ?? '');
});
Adjust.getGoogleAdId((id) => {
setGpsAdid(id ?? '');
});
}, []);
useEffect(() => {
updateValues();
}, [updateValues]);
.....
if (adid === undefined || gpsAdid === undefined || idfa === undefined) {
return null;
}
....
return meaningful content
Not asking for revert of anything but please be mindful of changes and document them 🤗
01b0649 breaks the expectation that the callback will be called (with undefined or more) so it's an undocumented breaking API change.
Example code that this change breaks:
Not asking for revert of anything but please be mindful of changes and document them 🤗