amplify-js
amplify-js copied to clipboard
Add PlaceId support for Geo Autocomplete feature
Description of changes
- Update existing SearchForSuggestions API to return PlaceId (if available) along with text (title, address) of the places.
- Implement a new API called SearchForLocationById which will be a wrapper around AmazonLocationService’s GetPlace API
Issue #, if available
Description of how you validated changes
Checklist
- [x] PR description included
- [ ]
yarn test
passes - [x] Tests are changed or added
- [ ] Relevant documentation is changed or added (and PR referenced)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Can you ask in the JS channel if we can run integration / unit tests on a forked pr? if not maybe we should move this to a branch on amplify-js direclty so the tests run