surialabs / react-native-geo-fencing

Native modules to determine if a location is within defined geographical boundaries using Google Geometry library
139 stars 33 forks source link

Module 'GoogleMapsBase' not found #1

Open benediktveith opened 8 years ago

benediktveith commented 8 years ago

Receiving this Error 'Module 'GoogleMapsBase' not found' in XCode, using GoogleMaps(2.0.1).

Googlemaps already made a workaround fix for this Error here.

So my workaround fix was to add the compiler flag '-fno-modules' manually to the Pod Target react-native-geo-fencing in Build Settings. I guess adding s.compiler_flags = '-fno-modules' to the podspec file should fix this too.

Building on Android also slightly differ from your Readme... Step 3: You need to make the changes to MainApplication not MainActivity.

aestrro commented 8 years ago

I'm having this same issue. Are you saying add this in Other Linker Flags?

benediktveith commented 8 years ago

@aestrro Yes you need to add '-fno-modules' to the Custom Compiler Flags in the Pod Target 'react-native-geo-fencing'