-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
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 contentNot asking for revert of anything but please be mindful of changes and document them 🤗
uerceg
Metadata
Metadata
Assignees
Labels
No labels