[Geofence Plugin] Where set UseLegacySwiftLanguageVersion preference

Forge Component
(0)
Published on 2019-08-28 by Experts
0 votes
Published on 2019-08-28 by Experts

Hi to all,


This plugin does not work with swift 3.0. 


In https://github.com/compelling/cordova-plugin-geofence comment that we add the following configuration line to the plugin:

<preference name="UseLegacySwiftLanguageVersion" value="true" />

 but where should we add it?

My plugins:
Thank you very much


Could anybody help me?

Thanks.

Alberto De Vargas wrote:

Could anybody help me?

Thanks.

You can set on the plugin itself

{
    "plugin": {
        "url": "https://github.com/OutSystemsExperts/cordova-plugin-geofence#hotfix/swift3",
        "variables": [{
            "name": "USELEGACYSWIFTLANGUAGEVERSION",
            "value": "1"
        }]
    }
}