Set of methods that allow eitri shopping apps to send notfications to AppsFlyer

Methods

  • Notifies AppsFlyer of the occurence of a login.

    await Eitri.exposedApis.session.notifyLogin({customerId: "123"})
    

    Parameters

    • param: { customerId: string }

      Object containing a customerId attribute for destructuring.

      • customerId: string

        User's ID.

    Returns Promise<undefined>

  • Notifies AppsFlyer of a logout's occurence.

    await Eitri.exposedApis.session.notifyLogout()
    

    Returns Promise<undefined>