Invalid sessionToken
joostbaptist opened this issue · 4 comments
Hi! First of all thank you for building this great little component.
I've started getting this error recently, using version 3.12.1:
InvalidValueError: not an instance of AutocompleteSessionToken
It happens when you type something, select a place, and then start typing something else (starting a second session). I suspect it has something to do with reusing the session token as implemented in #78. The problem disappears when I downgrade to version 3.11. Could it be that Google does not want us to reuse session tokens? Does anyone have any idea?
I have no idea about what is the best way to use Google sessions tokens. Maybe we can add an option withSessionToken=false
to disable it.
I would be happy if someone could help with a PR about this
Probably related: #97
Closing it because it was related to #97.
I just published 3.12.3
version