镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

[FEATURE REQUEST] access deviceAttributes #85

Open

Description

@alhansrisuk

Is your feature request related to a problem? Please describe.
we would like to show different experiences to users depending on Storefront location and would like to have storefrontCountryCode available to access if possible, similar to getUserAttributes() (

async getUserAttributes(): Promise<UserAttributes> {
)

Describe the solution you'd like
implement a function like getUserAttributes() but return deviceAttributes

Describe alternatives you've considered
listening in to the SuperwallDelegate handleSuperwallEvent function and looking for the DeviceAttributes event. we currently don't use handleSuperwallEvent and wanted to see if implementing getDeviceAttributes() would be possible

Activity

  1. anglinb commented on May 15, 2025

    @anglinb
    Contributor

    Hey @alhansrisuk! Good idea! We don't actually expose this in the Native SDKs atm otherwise would have just thrown the bridge in quickly. Opened a ticket internally to get the data exposed on the iOS side first!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions