<?xml version="1.0" encoding="UTF-8"?>
<!--
    Licensed Material - Property of IBM

   © Copyright 2015, 2016 IBM Corp.

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
        id="cordova-plugin-mfp-analytics"
       version="8.0.2024082705">
    <name>IBM MobileFirst Platform Foundation Analytics</name>
    <description>IBM MobileFirst Platform Foundation Cordova Analytics Plugin</description>
    <license>IBM</license>
    <keywords>cordova,ibm,worklight,mobilefirst,mfp,analytics</keywords>
    <issue>https://www.ibm.com/support</issue>

    <engines>

      <engine name="cordova-android" version="&gt;=6.1.2 &lt;14" />
      <engine name="cordova-ios" version="&gt;=4.1.1 &lt;8" />


    </engines>
    <hook type="before_prepare" src="hooks/bootstrap.js" />
    <hook type="after_prepare" src="hooks/bootstrap.js" />



    <dependency id="cordova-plugin-mfp" version="&gt;=8.0.0" />

    <platform name="android">

    <js-module src="bootstrap.js" name="analytics">
       <runs/>
    </js-module>

    <framework custom="true" src="src/android/build-extras.gradle" type="gradleReference" />

    <lib-file src="src/android/libs/ibmmobilefirstplatformfoundationanalytics.aar" />

    <config-file target="config.xml" parent="/*">

        <feature name="AnalyticsPlugin">
            <param name="android-package" value="com.worklight.androidgap.analytics.AnalyticsPlugin" />
        </feature>
    </config-file>

    </platform>

    <platform name="ios">

    <js-module src="bootstrap.js" name="analytics">
       <runs/>
    </js-module>

    <framework custom="true" src="src/ios/Frameworks/IBMMobileFirstPlatformFoundationAnalytics.xcframework" />

    </platform>

</plugin>
