thebergamo / react-native-fbsdk-next

MIT License
662 stars 164 forks source link

fetchDeferredAppLink() returns undefined #541

Closed vrutikinx closed 1 week ago

vrutikinx commented 1 month ago

We are looking to fetch the UTM param resources from the Facebook app ads into react native app. Unfortunately i tried fetchDeferredAppLink() method from react-native-fbsdk-next library but it's not returning. I executed each and every steps according to the document. Steps :-

  1. Created a Facebook post or ad with a deeplink to install the app.
  2. Added UTM parameters (e.g., utm_source) into the deep link for the app installation.
  3. On clicking the "Install Now" button, on the Facebook post or ad.
  4. On the installed/opened app, called the fetchDeferredAppLink() method.

Expected Behavior:- The fetchDeferredAppLink() method should return the UTM parameters for the link added to the ad manager.

Actual Behavior:- The method returns undefined.

Environment: "react": "18.2.0", "react-native": "^0.72.6", "react-native-fbsdk-next": "^13.0.0"

stale[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.