insert-affiliate-react-native-sdk 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +2 -2
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -98,7 +98,7 @@ React.useEffect(() => {
|
|
|
98
98
|
const affiliateIdentifier = await returnInsertAffiliateIdentifier();
|
|
99
99
|
|
|
100
100
|
if (affiliateIdentifier) {
|
|
101
|
-
await Purchases.setAttributes({"insert_affiliate"
|
|
101
|
+
await Purchases.setAttributes({"insert_affiliate" : affiliateIdentifier});
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
} catch (error) {
|
|
@@ -339,7 +339,7 @@ import { useDeepLinkIapProvider } from 'insert-affiliate-react-native-sdk';
|
|
|
339
339
|
let insertAffiliateIdentifier = await setInsertAffiliateIdentifier(referringLink);
|
|
340
340
|
|
|
341
341
|
if (insertAffiliateIdentifier) {
|
|
342
|
-
await Purchases.setAttributes({"insert_affiliate"
|
|
342
|
+
await Purchases.setAttributes({"insert_affiliate" : affiliateIdentifier});
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
} catch (err) {
|