hch
2024-07-17 a0c8a93482d84c35b80082de168c77d092297b3a
10220 新google上架包测试
10个文件已添加
238 ■■■■■ 已修改文件
Channel/Android/hyyngame2/AndroidManifest.xml 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/baseProjectTemplate.gradle 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/debug/libs/library-debug-hyyngame.aar 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/deps.gradle 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/google-services.json 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/gradleTemplate.properties 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/launcherTemplate.gradle 81 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/mainTemplate.gradle 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/release/libs/library-release-hyyngame.aar 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/release/libs/vndjgp_v.aar 补丁 | 查看 | 原始文档 | blame | 历史
Channel/Android/hyyngame2/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/hyyngame2/baseProjectTemplate.gradle
New file
@@ -0,0 +1,33 @@
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
allprojects {
    buildscript {
        repositories {**ARTIFACTORYREPOSITORY**
            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.google.firebase:firebase-crashlytics-gradle:2.8.1'
            classpath "com.android.tools.build:gradle:7.3.0"
            classpath 'com.google.gms:google-services:4.3.10'
            **BUILD_SCRIPT_DEPS**
        }
    }
    repositories {**ARTIFACTORYREPOSITORY**
        google()
        jcenter()
        flatDir {
            dirs "${project(':unityLibrary').projectDir}/libs"
        }
    }
}
task clean(type: Delete) {
    delete rootProject.buildDir
}
Channel/Android/hyyngame2/debug/libs/library-debug-hyyngame.aar
Binary files differ
Channel/Android/hyyngame2/deps.gradle
New file
@@ -0,0 +1,3 @@
dependencies {
}
Channel/Android/hyyngame2/google-services.json
New file
@@ -0,0 +1,29 @@
{
  "project_info": {
    "project_number": "708247206222",
    "project_id": "yndjmxtwo",
    "storage_bucket": "yndjmxtwo.appspot.com"
  },
  "client": [
    {
      "client_info": {
        "mobilesdk_app_id": "1:708247206222:android:58810b5ccda04e1746c61f",
        "android_client_info": {
          "package_name": "com.vndjgp.zxj"
        }
      },
      "oauth_client": [],
      "api_key": [
        {
          "current_key": "AIzaSyDWaH1QMROwI4m5jubv8F1yvX0Wx1J4qgU"
        }
      ],
      "services": {
        "appinvite_service": {
          "other_platform_oauth_client": []
        }
      }
    }
  ],
  "configuration_version": "1"
}
Channel/Android/hyyngame2/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/hyyngame2/launcherTemplate.gradle
New file
@@ -0,0 +1,81 @@
apply plugin: 'com.android.application'
dependencies {
    implementation project(':unityLibrary')
    }
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '34.0.0'
    repositories {
        flatDir {
            dirs 'libs'
        }
    }
    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 googlejson===============");
        delete("./google-services.json")
        from('../../../Assets/Plugins/Android/')
        into('./')
        include("google-services.json")
    }
}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
Channel/Android/hyyngame2/mainTemplate.gradle
New file
@@ -0,0 +1,68 @@
apply plugin: 'com.android.library'
//**APPLY_PLUGINS**
apply from: 'deps.gradle'
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation(name: 'vndjgp_v', ext: 'aar') //x.x.x为具体版本
    //SDK基础能力
    implementation 'com.appsflyer:af-android-sdk:6.9.0'
    implementation 'com.android.installreferrer:installreferrer:2.2'
    api 'androidx.annotation:annotation:1.5.0'
    api 'androidx.core:core:1.6.0'
    api 'androidx.percentlayout:percentlayout:1.0.0'
    //google ID
    implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
    //firebase
    implementation 'com.google.firebase:firebase-analytics'
    implementation platform('com.google.firebase:firebase-bom:31.2.2') {
        exclude group: 'com.android.support', module: 'support-compat'
    }
    //base  theme
    api 'androidx.appcompat:appcompat:1.2.0'
    //ald ui用
    api 'androidx.cardview:cardview:1.0.0'
    //谷歌能力
    implementation 'com.google.android.gms:play-services-auth:20.1.0'  //google服务
    implementation("com.android.billingclient:billing:7.0.0")  // google内购
    implementation 'androidx.percentlayout:percentlayout:1.0.0'  //google提供的支持库
    implementation 'com.google.android.play:review:2.0.1'  //google评价
    //facebook能力
    implementation 'com.facebook.android:facebook-login:latest.release'
    implementation 'com.facebook.android:facebook-share:latest.release'
**DEPS**}
android {
    compileSdkVersion **APIVERSION**
    buildToolsVersion '34.0.0'
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    packagingOptions {exclude 'META-INF/rxjava.properties'}
    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/hyyngame2/release/libs/library-release-hyyngame.aar
Binary files differ
Channel/Android/hyyngame2/release/libs/vndjgp_v.aar
Binary files differ