<commit_before><?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  xmlns:android="http://schemas.android.com/apk/res/android"
  id="com.cmackay.plugins.googleanalytics"
  version="0.1.13">

  <engines>
    <engine name="cordova" version=">=3.0.0" />
  </engines>

  <name>GoogleAnalytics</name>
  <description>Plugin for Google Analytics Native SDKs (Android, iOS)</description>
  <author><NAME></author>
  <license>Apache 2.0</license>
  <keywords>cordova,analytics</keywords>
  <repo>https://github.com/cmackay/google-analytics-plugin.git</repo>

  <js-module src="www/analytics.js" name="GoogleAnalytics">
    <clobbers target="navigator.analytics" />
  </js-module>

  <platform name="ios">
    <config-file target="config.xml" parent="/*">
      <feature name="GoogleAnalytics">
        <param name="ios-package" value="GoogleAnalyticsPlugin" />
      </feature>
    </config-file>

    <header-file src="ios/GAI.h" />
    <header-file src="ios/GAIDictionaryBuilder.h" />
    <header-file src="ios/GAIEcommerceFields.h" />
    <header-file src="ios/GAIEcommerceProduct.h" />
    <header-file src="ios/GAIEcommerceProductAction.h" />
    <header-file src="ios/GAIEcommercePromotion.h" />
    <header-file src="ios/GAIFields.h" />
    <header-file src="ios/GAILogger.h" />
    <header-file src="ios/GAITrackedViewController.h" />
    <header-file src="ios/GAITracker.h" />
    <source-file src="ios/libGoogleAnalyticsServices.a" framework="true" />
    <header-file src="ios/GoogleAnalyticsPlugin.h" />
    <source-file src="ios/GoogleAnalyticsPlugin.m" />

    <framework src="SystemConfiguration.framework" />
    <framework src="CoreData.framework" />
    <framework src="libsqlite3.dylib" />
    <framework src="libz.dylib" />
  </platform>

  <platform name="android">
    <config-file target="res/xml/config.xml" parent="/*">
      <feature name="GoogleAnalytics">
        <param name="android-package" value="com.cmackay.plugins.googleanalytics.GoogleAnalyticsPlugin" />
      </feature>
    </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" />
    </config-file>

    <config-file target="AndroidManifest.xml" parent="/*">
      <uses-permission android:name="android.permission.INTERNET" />
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    </config-file>

    <source-file src="android/GoogleAnalyticsPlugin.java" target-dir="src/com/cmackay/plugins/googleanalytics" />
    <source-file src="android/google-play-services.jar" target-dir="libs" />
    <source-file src="android/version.xml" target-dir="res/values" />

    <proguard-config>
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
    </proguard-config>
  </platform>

</plugin><commit_msg>change to use a dependency rather than hand-copying google-play-services to avoid conflicts<commit_after><?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
  xmlns:android="http://schemas.android.com/apk/res/android"
  id="com.cmackay.plugins.googleanalytics"
  version="0.1.13">

  <engines>
    <engine name="cordova" version=">=3.0.0" />
  </engines>

  <name>GoogleAnalytics</name>
  <description>Plugin for Google Analytics Native SDKs (Android, iOS)</description>
  <author><NAME></author>
  <license>Apache 2.0</license>
  <keywords>cordova,analytics</keywords>
  <repo>https://github.com/cmackay/google-analytics-plugin.git</repo>

  <js-module src="www/analytics.js" name="GoogleAnalytics">
    <clobbers target="navigator.analytics" />
  </js-module>

  <dependency id="com.google.playservices" />

  <platform name="ios">
    <config-file target="config.xml" parent="/*">
      <feature name="GoogleAnalytics">
        <param name="ios-package" value="GoogleAnalyticsPlugin" />
      </feature>
    </config-file>

    <header-file src="ios/GAI.h" />
    <header-file src="ios/GAIDictionaryBuilder.h" />
    <header-file src="ios/GAIEcommerceFields.h" />
    <header-file src="ios/GAIEcommerceProduct.h" />
    <header-file src="ios/GAIEcommerceProductAction.h" />
    <header-file src="ios/GAIEcommercePromotion.h" />
    <header-file src="ios/GAIFields.h" />
    <header-file src="ios/GAILogger.h" />
    <header-file src="ios/GAITrackedViewController.h" />
    <header-file src="ios/GAITracker.h" />
    <source-file src="ios/libGoogleAnalyticsServices.a" framework="true" />
    <header-file src="ios/GoogleAnalyticsPlugin.h" />
    <source-file src="ios/GoogleAnalyticsPlugin.m" />

    <framework src="SystemConfiguration.framework" />
    <framework src="CoreData.framework" />
    <framework src="libsqlite3.dylib" />
    <framework src="libz.dylib" />
  </platform>

  <platform name="android">
    <config-file target="res/xml/config.xml" parent="/*">
      <feature name="GoogleAnalytics">
        <param name="android-package" value="com.cmackay.plugins.googleanalytics.GoogleAnalyticsPlugin" />
      </feature>
    </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" />
    </config-file>

    <config-file target="AndroidManifest.xml" parent="/*">
      <uses-permission android:name="android.permission.INTERNET" />
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    </config-file>

    <source-file src="android/GoogleAnalyticsPlugin.java" target-dir="src/com/cmackay/plugins/googleanalytics" />

    <proguard-config>
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
    </proguard-config>
  </platform>

</plugin>
{'fraction_non_alphanumeric': 0.16707095209217707, 'fraction_numerical': 0.004548211036992117, 'mean_word_length': 4.2150197628458494, 'pattern_counts': {'":': 0, '<': 132, '<?xml version=': 2, '>': 134, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 17}, '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': '7335001', 'n_tokens_mistral': 2183, 'n_tokens_neox': 2132, 'n_words': 306}