cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
265 stars 318 forks source link

iOS Bridging header hook under Cordova 5.0.0 #129

Closed cnavarroestrella closed 8 years ago

cnavarroestrella commented 8 years ago

Hi,

I'm trying to use this plugin with Telerik Appbuilder at work. They have recently added support for Swift plugins, but for now they're stuck with a max version of Cordova 5.0.0/iOS 4.0.1. In trying to find why your plugin wouldn't build (it wouldn't find anything in the sqlite3 library) I tried to replicate the build process locally in my mac, as shown in this paste from my Terminal:

geofence-cordova5.bashlog.txt

As can be seen when adding the plugin and the hook runs, the "cordova-common" module isn't available in Cordova 5.0.0. I tried again with Cordova 6.0.0 and everything works, including building:

geofence-cordova6.bashlog.txt

Could you please modify the hook so that it supports Cordova 5.0.0? I think that's what stopping this plugin from working in Appbuilder.