Skip to content

Doesn't allow number of countries for autocomplete predictions #119

@JuliaIncibit

Description

@JuliaIncibit

I get this error:
Unhandled Exception: PlatformException(API_ERROR_AUTOCOMPLETE, 9012: Number of restrict_pairs must not exceed 5, {type: class com.google.android.gms.common.api.ApiException}, null)

I handed over 6 countries to the countries param
The google documentation states 15 being allowed:
https://developers.google.com/maps/documentation/places/android-sdk/place-autocomplete#included-region-codes

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions