Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting null idfa #76

Open
AmirDoreh opened this issue Aug 31, 2021 · 1 comment
Open

getting null idfa #76

AmirDoreh opened this issue Aug 31, 2021 · 1 comment

Comments

@AmirDoreh
Copy link

i am getting IDFA{ } while i was not getting null before

this is the implementation :

Screen Shot 2021-08-31 at 7 20 17 PM

@ramirobg94
Copy link

+1

try {
      const idfa = await IDFA.getIDFA()
      console.log("idfa", idfa)
      analytics.setIDFA(idfa)
    } catch (errorIdfa) {
      console.error(errorIdfa)
    }

@AmirDoreh be careful with this promises await mixed with then and nested thens. you can find more here -> https://www.smashingmagazine.com/2020/11/comparison-async-await-versus-then-catch/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants