How to implement Adjust into React Native
complete
A
Akim
Hello,
Our app is built on React Native and we are using your SDK. Now we are trying to set up Adjust connection and faced an interesting situation:
Your SDK is showing for iOS only Swift example of implementation (https://docs.adapty.io/docs/adjust#sdk-configuration). But RN projects uses Obj-c AppDelegate files which refer us to creating a bridging header for Swift inside Obj-c code or rewriting this method on Objective-c.
But I looked AppsFlyer integration and found that you have an RN native implementation. I am just wondering may you also provide Adjust native integration into RN or provide an Obj-c implementation example?
Best,
Akeem
Adapty Support
complete
A
Adapty Support
Hi there!
Please use a snippet below:
adjustConfig.setAttributionCallbackListener((attribution) => {
adapty.updateAttribution(adjustId, attribution, 'Adjust');
});
Hopefully it helps!