Braze React Native SDK - v21.0.0
    Preparing search index...

    Function setLocationCustomAttribute

    • Sets a custom location attribute for the user.

      Parameters

      • key: string

        The identifier of the custom attribute. Limited to 255 characters in length, cannot begin with a $, and can only contain alphanumeric characters and punctuation.

      • latitude: number

        Location latitude.

      • longitude: number

        Location longitude.

      • Optionalcallback: Callback<undefined>

        A callback that receives the function call result.

      Returns void