Skip to content

Handle iOS/Android API Key Restrictions #59

@clayyclayyarend

Description

@clayyclayyarend

Hello!

I would like to pass some headers to the API call such as X-Android-Package/X-Android-Cert for Android and X-Ios-Bundle-Identifier for iOS. Can you expose a headers object that can be provided in the opts passed when initializing useGoogleAutocomplete? They can then be passed to the fetch call you make.

I'm willing to open a PR for this if you're okay with that.

Thank you!

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