alanjhughes / expo-google-places-autocomplete

MIT License
25 stars 8 forks source link

Expo error: Exception in Hostfunction #6

Open mjubilee1 opened 1 year ago

mjubilee1 commented 1 year ago

I noticed this issue once I installed the package, I don't know what caused the issue seemed to be working for me at first, then stopped. I am also new in expo react-native development so the development build info is confusing to me.

Reproduction steps:

So I have this working in Testflight, but locally can't get it to work.

Screenshot 2023-06-17 at 10 23 32 PM
fukuli053 commented 1 year ago

same problem. Simulator Screen Shot - iPhone SE (3rd generation) - 2023-06-22 at 12 11 11

Felix-Asante commented 9 months ago

has anyone been able to fix this issue

iveshenry18 commented 9 months ago

Also having this issue. Based on the message, I assume there's some unexpected error thrown on the native side.

@alanjhughes, is this library currently supported? I'm considering diving in and contributing—do you have any leads on a good starting point?

alanjhughes commented 9 months ago

Hi, it's supported but it's very much a part time effort so any contributions are welcome 🙏 Also, this does not run on the iOS simulator (on Apple silicon macs) as google did not add support for m series chips until recently but I would need to up the minimum deployment target, which I want to avoid.

iveshenry18 commented 9 months ago

Ah, I see. In that case, there may not be a solution for me right now as an Apple silicon simulator is what I use for development. I may explore additional workarounds and share what I find here. Thanks!

Update: for those that come across this later, my temporary solution is using react-native-google-places-autocomplete