镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

getting null idfa  #76

Open
Open

Description

@AmirDoreh

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

Activity

  1. ramirobg94 commented on Aug 31, 2021

    @ramirobg94

    +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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions