<commit_before><?xml version="1.0" encoding="UTF-8" ?>

<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:android="http://schemas.android.com/apk/res/android" id="com.cowbell.cordova.geofence" version="0.3.3">
    <name>geofence</name>
    <description>Geofence plugin</description>
    <license>Apache 2.0</license>
    <keywords>phonegap,background geolocation, geofence</keywords>
    <repo>https://github.com/cowbell/cordova-plugin-geofence.git</repo>
    <issue>https://github.com/cowbell/cordova-plugin-geofence/issues</issue>
    <engines>
        <engine name="cordova" version=">=3.0.0" />
    </engines>

    <js-module src="www/TransitionType.js" name="TransitionType">
        <clobbers target="TransitionType" />
    </js-module>

    <js-module src="www/geofence.js" name="geofence">
        <clobbers target="geofence" />
    </js-module>

    <dependency id="com.vladstirbu.cordova.promise" url="https://github.com/vstirbu/PromisesPlugin.git" />

    <!-- android -->
    <platform name="android">

        <dependency id="com.google.playservices" />
        <source-file src="src/android/AbstractGoogleServiceCommand.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/AddGeofenceCommand.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/BeepHelper.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/BootReceiver.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotification.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotificationManager.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotificationNotifier.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotificationStore.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeofencePlugin.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GoogleServiceCommandExecutor.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/IGoogleServiceCommandListener.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/JSONHelper.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/LocalStorage.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/LocalStorageDBHelper.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/Logger.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/Notification.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/ReceiveTransitionsIntentService.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/RemoveGeofenceCommand.java" target-dir="src/com/cowbell/cordova/geofence" />

        <lib-file src="src/android/libs/gson-2.3.jar" />
        
        <lib-file src="src/android/libs/google-play-services.jar" />

        <config-file target="config.xml" parent="/*">
            <feature name="GeofencePlugin">
                <param name="android-package" value="com.cowbell.cordova.geofence.GeofencePlugin" />
            </feature>
        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest/application">
            <service android:name="com.cowbell.cordova.geofence.ReceiveTransitionsIntentService" android:label="@string/app_name" android:exported="false">
            </service>
        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest/application">
            <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
            <receiver android:name="com.cowbell.cordova.geofence.BootReceiver">
                <intent-filter>
                    <action android:name="android.intent.action.BOOT_COMPLETED" />
                </intent-filter>
            </receiver>

        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest">
            <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
            <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        </config-file>

    </platform>
    <!-- wp8 -->
    <platform name="wp8">
        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
            <Capability Name="ID_CAP_LOCATION" />
        </config-file>
        <config-file target="config.xml" parent="/*">
            <feature name="GeofencePlugin">
                <param name="wp-package" value="GeofencePlugin" />
            </feature>

        </config-file>
        <framework src="src/wp8/libs/Newtonsoft.Json.dll" custom="true" />
        <framework src="src/wp8/GeofenceComponent.winmd" custom="true" />
        <source-file src="src/wp8/GeofencePlugin.cs" />
    </platform>

    <!-- windows -->
    <platform name="windows">
        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
            <DeviceCapability Name="location" />
        </config-file>
        <config-file target="package.appxmanifest" parent="/Package/Applications/Application/Extensions">
            <Extension Category="windows.backgroundTasks" EntryPoint="GeofenceComponent.GeofenceTrigger">
                <BackgroundTasks>
                    <m2:Task Type="location" />
                </BackgroundTasks>
            </Extension>
        </config-file>
        <framework src="src/windows/libs/Newtonsoft.Json.dll" custom="true" />
        <framework src="src/windows/GeofenceComponent.winmd" custom="true" />
        <js-module src="src/windows/GeofenceProxy.js" name="GeofenceProxy">
            <runs />
        </js-module>
    </platform>

    <!-- ios -->
    <platform name="ios">
        <hook type="after_plugin_install" src="hooks/add_swift_support.js" />
        <config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
            <string>${EXECUTABLE_NAME} Would Like to Use Your Current Location Even In Background.</string>
        </config-file>
        <config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
            <string>${EXECUTABLE_NAME} Would Like to Use Your Current Location When In Use.</string>
        </config-file>
        <config-file target="*-Info.plist" parent="UIBackgroundModes">
            <array>
                <string>location</string>
                <string>remote-notification</string>
            </array>
        </config-file>
        <config-file target="config.xml" parent="/*">
          <feature name="GeofencePlugin">
            <param name="ios-package" value="HWPGeofencePlugin"/>
          </feature>
        </config-file>
        <header-file src="src/ios/Geo-Bridging-Header.h" />
        <source-file src="src/ios/GeofencePlugin.swift"/>
        <source-file src="src/ios/SwiftData.swift"/>
        <source-file src="src/ios/json.swift"/>
    </platform>
</plugin>
<commit_msg>Test with no google play services and not support jars<commit_after><?xml version="1.0" encoding="UTF-8" ?>

<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:android="http://schemas.android.com/apk/res/android" id="com.cowbell.cordova.geofence" version="0.3.3">
    <name>geofence</name>
    <description>Geofence plugin</description>
    <license>Apache 2.0</license>
    <keywords>phonegap,background geolocation, geofence</keywords>
    <repo>https://github.com/cowbell/cordova-plugin-geofence.git</repo>
    <issue>https://github.com/cowbell/cordova-plugin-geofence/issues</issue>
    <engines>
        <engine name="cordova" version=">=3.0.0" />
    </engines>

    <js-module src="www/TransitionType.js" name="TransitionType">
        <clobbers target="TransitionType" />
    </js-module>

    <js-module src="www/geofence.js" name="geofence">
        <clobbers target="geofence" />
    </js-module>

    <dependency id="com.vladstirbu.cordova.promise" url="https://github.com/vstirbu/PromisesPlugin.git" />
    <dependency id="com.google.playservices" />
    <!-- android -->
    <platform name="android">
        <source-file src="src/android/AbstractGoogleServiceCommand.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/AddGeofenceCommand.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/BeepHelper.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/BootReceiver.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotification.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotificationManager.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotificationNotifier.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeoNotificationStore.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GeofencePlugin.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/GoogleServiceCommandExecutor.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/IGoogleServiceCommandListener.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/JSONHelper.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/LocalStorage.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/LocalStorageDBHelper.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/Logger.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/Notification.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/ReceiveTransitionsIntentService.java" target-dir="src/com/cowbell/cordova/geofence" />
        <source-file src="src/android/RemoveGeofenceCommand.java" target-dir="src/com/cowbell/cordova/geofence" />

        <lib-file src="src/android/libs/gson-2.3.jar" />


        <config-file target="config.xml" parent="/*">
            <feature name="GeofencePlugin">
                <param name="android-package" value="com.cowbell.cordova.geofence.GeofencePlugin" />
            </feature>
        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest/application">
            <service android:name="com.cowbell.cordova.geofence.ReceiveTransitionsIntentService" android:label="@string/app_name" android:exported="false">
            </service>
        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest/application">
            <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
            <receiver android:name="com.cowbell.cordova.geofence.BootReceiver">
                <intent-filter>
                    <action android:name="android.intent.action.BOOT_COMPLETED" />
                </intent-filter>
            </receiver>

        </config-file>

        <config-file target="AndroidManifest.xml" parent="/manifest">
            <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
            <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        </config-file>

    </platform>
    <!-- wp8 -->
    <platform name="wp8">
        <config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
            <Capability Name="ID_CAP_LOCATION" />
        </config-file>
        <config-file target="config.xml" parent="/*">
            <feature name="GeofencePlugin">
                <param name="wp-package" value="GeofencePlugin" />
            </feature>

        </config-file>
        <framework src="src/wp8/libs/Newtonsoft.Json.dll" custom="true" />
        <framework src="src/wp8/GeofenceComponent.winmd" custom="true" />
        <source-file src="src/wp8/GeofencePlugin.cs" />
    </platform>

    <!-- windows -->
    <platform name="windows">
        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
            <DeviceCapability Name="location" />
        </config-file>
        <config-file target="package.appxmanifest" parent="/Package/Applications/Application/Extensions">
            <Extension Category="windows.backgroundTasks" EntryPoint="GeofenceComponent.GeofenceTrigger">
                <BackgroundTasks>
                    <m2:Task Type="location" />
                </BackgroundTasks>
            </Extension>
        </config-file>
        <framework src="src/windows/libs/Newtonsoft.Json.dll" custom="true" />
        <framework src="src/windows/GeofenceComponent.winmd" custom="true" />
        <js-module src="src/windows/GeofenceProxy.js" name="GeofenceProxy">
            <runs />
        </js-module>
    </platform>

    <!-- ios -->
    <platform name="ios">
        <hook type="after_plugin_install" src="hooks/add_swift_support.js" />
        <config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
            <string>${EXECUTABLE_NAME} Would Like to Use Your Current Location Even In Background.</string>
        </config-file>
        <config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
            <string>${EXECUTABLE_NAME} Would Like to Use Your Current Location When In Use.</string>
        </config-file>
        <config-file target="*-Info.plist" parent="UIBackgroundModes">
            <array>
                <string>location</string>
                <string>remote-notification</string>
            </array>
        </config-file>
        <config-file target="config.xml" parent="/*">
          <feature name="GeofencePlugin">
            <param name="ios-package" value="HWPGeofencePlugin"/>
          </feature>
        </config-file>
        <header-file src="src/ios/Geo-Bridging-Header.h" />
        <source-file src="src/ios/GeofencePlugin.swift"/>
        <source-file src="src/ios/SwiftData.swift"/>
        <source-file src="src/ios/json.swift"/>
    </platform>
</plugin>

{'fraction_non_alphanumeric': 0.1570486951842884, 'fraction_numerical': 0.003497444175410277, 'mean_word_length': 3.002422611036339, 'pattern_counts': {'":': 0, '<': 266, '<?xml version=': 2, '>': 268, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 22}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1291285', 'n_tokens_mistral': 4648, 'n_tokens_neox': 4576, 'n_words': 549}