Hello,
I'm trying to retrieve Adjust attributions using the callback API, but I'm running into a problem where:
The callback sometimes never resolves, causing the application to hang indefinitely.
Errors are not passed through, so the catch block is never triggered.
As a result, the Promise remains pending and the app gets stuck.
code example:
const adjustAttribution: AdjustAttribution = await new Promise<AdjustAttribution>((resolve, reject) => { Adjust.getAttribution((attr) => { if (attr) { resolve(attr); } else { reject(new Error("Adjust attribution is null")); } }); });
Versions:
"react-native-adjust": "5.4.4"
"react-native": "0.81.4"