
<?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="chadori-google-admob-maio" version="0.0.1">

    <name>maio Ads</name>
    <description>A Cordova plugin for the Construct Master Collection to implement Google Admob advertisement mediation with maio Ads.</description>
    <license>MIT</license>

    <keywords>cordova,android,ios,construct-master-collection,maio,google-admob,mediation,google,admob,ads</keywords>
    <repo>https://github.com/Chadori/Construct-Master-Collection.git</repo>
    <issue>https://github.com/Chadori/Construct-Master-Collection/issues</issue>

    <preference name="ANDROID_SDK_VERSION" default="1.1.16.0"/>
    <preference name="IOS_POD_VERSION" default="1.6.0.0"/>

    <engines>
        <engine name="cordova" version=">=6.5.0"/>
    </engines>
    
    <platform name="android">

        <!-- Gradle -->
        <framework src="src/android/Adapter.gradle" custom="true" type="gradleReference" />

        <!-- Google Dependencies -->
        <framework src="com.google.ads.mediation:maio:$ANDROID_SDK_VERSION" />

    </platform>

    <platform name= "ios">

        <config-file target="*-Info.plist" parent="SKAdNetworkItems">
            <array>
                <dict>
                    <key>SKAdNetworkIdentifier</key>
                    <string>v4nxqhlyqp.skadnetwork</string>
                </dict>
            </array>
        </config-file>

        <podspec>
            <config>
                <source url="https://cdn.cocoapods.org/"/>
            </config>
            <pods>
                <pod name="GoogleMobileAdsMediationMaio" spec="$IOS_POD_VERSION"/>
            </pods>
        </podspec>

    </platform>
</plugin>