hch
2024-01-09 6131e38a04f312fbc522d0a32818207b339b2722
10107 quick- 华为海外版
1个文件已修改
10个文件已添加
283 ■■■■■ 已修改文件
Channel/Android/mlgtgame_huaweihw/AndroidManifest.xml 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/agconnect-services.json 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/baseProjectTemplate.gradle 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/debug/libs/library-debug-mlgtgame_quickhw.aar 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/deps.gradle 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/gradleTemplate.properties 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/launcherTemplate.gradle 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/mainTemplate.gradle 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/release/libs/library-release-mlgtgame_quickhw.aar 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/release/libs/quickgame_hw_2.2.4.aar 补丁 | 查看 | 原始文档 | blame | 历史
渠道列表.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/mlgtgame_huaweihw/AndroidManifest.xml
New file
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.unity3d.player"
    xmlns:tools="http://schemas.android.com/tools">
    <application
    android:allowNativeHeapPointerTagging="false">
        <activity android:name="com.secondworld.sdk.GameActivity"
                  android:theme="@style/UnityThemeSelector">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
        </activity>
    </application>
</manifest>
Channel/Android/mlgtgame_huaweihw/agconnect-services.json
New file
@@ -0,0 +1,96 @@
{
    "agcgw":{
        "backurl":"connect-drcn.hispace.hicloud.com",
        "url":"connect-drcn.dbankcloud.cn",
        "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com",
        "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn"
    },
    "agcgw_all":{
        "CN":"connect-drcn.dbankcloud.cn",
        "CN_back":"connect-drcn.hispace.hicloud.com",
        "DE":"connect-dre.dbankcloud.cn",
        "DE_back":"connect-dre.hispace.hicloud.com",
        "RU":"connect-drru.hispace.dbankcloud.ru",
        "RU_back":"connect-drru.hispace.dbankcloud.cn",
        "SG":"connect-dra.dbankcloud.cn",
        "SG_back":"connect-dra.hispace.hicloud.com"
    },
    "websocketgw_all":{
        "CN":"connect-ws-drcn.hispace.dbankcloud.cn",
        "CN_back":"connect-ws-drcn.hispace.dbankcloud.com",
        "DE":"connect-ws-dre.hispace.dbankcloud.cn",
        "DE_back":"connect-ws-dre.hispace.dbankcloud.com",
        "RU":"connect-ws-drru.hispace.dbankcloud.ru",
        "RU_back":"connect-ws-drru.hispace.dbankcloud.cn",
        "SG":"connect-ws-dra.hispace.dbankcloud.cn",
        "SG_back":"connect-ws-dra.hispace.dbankcloud.com"
    },
    "client":{
        "cp_id":"30086000749448194",
        "product_id":"388421841221888519",
        "client_id":"1325445757762835520",
        "client_secret":"A0EA9EB2AD7ED7AACDDF102FE76A63A2C299CE90046D6D95E0EFDA2C31B9EF1F",
        "project_id":"388421841221888519",
        "app_id":"110011061",
        "api_key":"DAEDAIyBFc+03+KS0NTMpwJNLa+pvMn9OAo0JLxZmW4k1QDyrcZ+Fw2fLqpkh06sA+UQ3cnJr2Gh8h43qRTvK21YyCftzQJ6csV7EQ==",
        "package_name":"com.huanyou.djmx.huawei"
    },
    "oauth_client":{
        "client_id":"110011061",
        "client_type":1
    },
    "app_info":{
        "app_id":"110011061",
        "package_name":"com.huanyou.djmx.huawei"
    },
    "service":{
        "analytics":{
            "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
            "collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com",
            "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn",
            "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn",
            "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn",
            "resource_id":"p1",
            "channel_id":""
        },
        "edukit":{
            "edu_url":"edukit.cloud.huawei.com.cn",
            "dh_url":"edukit.cloud.huawei.com.cn"
        },
        "search":{
            "url":"https://search-drcn.cloud.huawei.com"
        },
        "cloudstorage":{
            "storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia",
            "storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru",
            "storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru",
            "storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu",
            "storage_url_de":"https://ops-dre.agcstorage.link",
            "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn",
            "storage_url_sg":"https://ops-dra.agcstorage.link",
            "storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn",
            "storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn"
        },
        "ml":{
            "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn"
        }
    },
    "region":"CN",
    "configuration_version":"3.0",
    "appInfos":[
        {
            "package_name":"com.huanyou.djmx.huawei",
            "client":{
                "app_id":"110011061"
            },
            "app_info":{
                "package_name":"com.huanyou.djmx.huawei",
                "app_id":"110011061"
            },
            "oauth_client":{
                "client_type":1,
                "client_id":"110011061"
            }
        }
    ]
}
Channel/Android/mlgtgame_huaweihw/baseProjectTemplate.gradle
New file
@@ -0,0 +1,34 @@
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
allprojects {
    buildscript {
        repositories {**ARTIFACTORYREPOSITORY**
            maven {url 'https://developer.huawei.com/repo/'}
            google()
            jcenter()
        }
        dependencies {
            // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity
            // See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html
            // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle
            // To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version
            classpath 'com.android.tools.build:gradle:4.0.1'
            classpath 'com.huawei.agconnect:agcp:1.4.2.300'
            **BUILD_SCRIPT_DEPS**
        }
    }
    repositories {**ARTIFACTORYREPOSITORY**
        maven {url 'https://developer.huawei.com/repo/'}
        google()
        jcenter()
        flatDir {
            dirs "${project(':unityLibrary').projectDir}/libs"
        }
    }
}
task clean(type: Delete) {
    delete rootProject.buildDir
}
Channel/Android/mlgtgame_huaweihw/debug/libs/library-debug-mlgtgame_quickhw.aar
Binary files differ
Channel/Android/mlgtgame_huaweihw/deps.gradle
New file
@@ -0,0 +1,3 @@
dependencies {
}
Channel/Android/mlgtgame_huaweihw/gradleTemplate.properties
New file
@@ -0,0 +1,7 @@
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M
org.gradle.parallel=true
android.useAndroidX=true
## Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
unityStreamingAssets=.unity3d
**ADDITIONAL_PROPERTIES**
Channel/Android/mlgtgame_huaweihw/launcherTemplate.gradle
New file
@@ -0,0 +1,76 @@
apply plugin: 'com.android.application'
dependencies {
    implementation project(':unityLibrary')
    }
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '33.0.0'
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    packagingOptions {exclude 'META-INF/rxjava.properties'}
    defaultConfig {
        minSdkVersion **MINSDKVERSION**
        targetSdkVersion **TARGETSDKVERSION**
        applicationId '**APPLICATIONID**'
        ndk {
            abiFilters **ABIFILTERS**
        }
        versionCode **VERSIONCODE**
        versionName '**VERSIONNAME**'
    }
    aaptOptions {
        noCompress = ['.unity3d', '.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
        ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
    }**SIGN**
    lintOptions {
        abortOnError false
        checkReleaseBuilds false
    }
    buildTypes {
        debug {
            minifyEnabled **MINIFY_DEBUG**
            useProguard **PROGUARD_DEBUG**
            proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
            jniDebuggable true
        }
        release {
            minifyEnabled **MINIFY_RELEASE**
            useProguard **PROGUARD_RELEASE**
            proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
        }
    }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS**
**BUILT_APK_LOCATION**
    bundle {
        language {
            enableSplit = false
        }
        density {
            enableSplit = false
        }
        abi {
            enableSplit = true
        }
    }
}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**
task copyJsonFile {
    copy {
        System.out.println("copy agconnect-services.json===============");
        delete("./agconnect-services.json")
        from('../../../Assets/Plugins/Android/')
        into('./')
        include("agconnect-services.json")
    }
}
apply plugin: 'com.huawei.agconnect'
Channel/Android/mlgtgame_huaweihw/mainTemplate.gradle
New file
@@ -0,0 +1,50 @@
apply plugin: 'com.android.library'
//**APPLY_PLUGINS**
apply from: 'deps.gradle'
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation('androidx.appcompat:appcompat:1.0.0') {
        force = true
    }
    implementation(name: 'quickgame_hw_2.2.4', ext: 'aar') //x.x.x为具体版本
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.10"
    implementation 'com.huawei.hms:iap:6.4.0.301'
    implementation 'com.huawei.hms:game:6.8.0.300'
    implementation 'com.huawei.hms:hwid:6.7.0.300'
    implementation 'com.facebook.android:facebook-android-sdk:16.0.0'
**DEPS**}
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '33.0.0'
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    defaultConfig {
        minSdkVersion **MINSDKVERSION**
        targetSdkVersion **TARGETSDKVERSION**
        ndk {
            abiFilters **ABIFILTERS**
        }
        versionCode **VERSIONCODE**
        versionName '**VERSIONNAME**'
        consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
    }
    lintOptions {
        abortOnError false
        checkReleaseBuilds false
    }
    aaptOptions {
        ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
    }**PACKAGING_OPTIONS**
}**REPOSITORIES****SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**
Channel/Android/mlgtgame_huaweihw/release/libs/library-release-mlgtgame_quickhw.aar
Binary files differ
Channel/Android/mlgtgame_huaweihw/release/libs/quickgame_hw_2.2.4.aar
Binary files differ
ÇþµÀÁбí.xlsx
Binary files differ