java.lang.IllegalArgumentException: Intent expected to contain a Place, but doesn't
I am very new to Kotlin android development and just recently started building an app that uses the google places API. Since startActivityByResult has been deprecated, I am using the registerForActivityResults and trying to launch an Autocomplete activity by passing an Intent but every time I type in a letter in the google search bar,I keep hitting an error that says the Intent contains an EXTRA and the app shuts down. Below is my kotlin code:
Initialize Place:...