Coder Social home page Coder Social logo

Comments (8)

invyctus92 avatar invyctus92 commented on June 18, 2024

Resolved ? I have the same problem too but android doesn't work either. For android what have you configured ?

from react-native-fbsdk-next.

tree1891 avatar tree1891 commented on June 18, 2024

@invyctus92 no special for android.

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on June 18, 2024

Still missing reproduction, no activity. Can always reopen, but closing to clean issue list.

from react-native-fbsdk-next.

danielmark0116 avatar danielmark0116 commented on June 18, 2024

Android is working fine for me. In my case the exact same thing happens for iOS.

I have a regular setup in place, as in the docs. The only thing that have in my codebase is the SDK initialization, a method setAdvertiserTrackingEnabled(true) invoked at the startup and AppLinks.fetchDefferedAppLink run on the app mount, lets say.

Having it tested on my iPhone (iOS 14+) I could not fetch the link, it always is nil (no errors though)

In order to try and resolve it, I created my own fork with updated iOS Facebook SDKs (had to remove/replace some methods that are removed). Still NOT WORKING

Then, I turned on my old iPhone with iOS 12.4.6 and went to Settings -> Privacy -> Advertisement -> Reset advertisement identity. Then, when I used the deferred links debugger, I was able to fetch provided deep link.

Unfortunately, having done the aforementioned steps on iOS 12, it still does not work on iOS 14

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on June 18, 2024

@danielmark0116 this could be really really valuable as the start of a fix for #55

n order to try and resolve it, I created my own fork with updated iOS Facebook SDKs (had to remove/replace some methods that are removed).

from react-native-fbsdk-next.

sarafcredable avatar sarafcredable commented on June 18, 2024

@danielmark0116 How android works for you. Can you please tell us the setup for android? And did you get the iOS to work?
In my case both are not working, ios returns undefined and android returns null.

Im doing this after getting user consent,

Settings.setAdvertiserTrackingEnabled(true).then(() => { Settings.initializeSDK(); AppLink.fetchDeferredAppLink().then((link) => console.log('Link ', link)); //undefined in iOS and null in android });

from react-native-fbsdk-next.

sarafcredable avatar sarafcredable commented on June 18, 2024

Please check this #234

from react-native-fbsdk-next.

VladikStylish avatar VladikStylish commented on June 18, 2024

DK initialization,

Hi brother,please can you share yours code about initialize SDK , I want to resolve problem 'null' deeplink at Android. Its still working for Android?

from react-native-fbsdk-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.