react-native-google-places
react-native-google-places copied to clipboard
Showing error `Expected a type` in the files RNGooglePlacesViewController.h and RNGooglePlacesViewController.m
Hey I'm recently facing this issue Expected a type
when I try to run my Project on iOS.
it's showing the error in the file /node_modules/react-native-google-places/ios/RNGooglePlacesViewController.h
and /node_modules/react-native-google-places/ios/RNGooglePlacesViewController.m
I was able to fix the same error for the line placeFields: (GMSPlaceField)selectedFields
by importing #import <GoogleMaps/GoogleMaps.h>
Did anyone solve this issue ? I tried importing #import "RNGooglePlacesViewController.h"
which didn't resolve the issue
Thank you!