Commit 13c658dd authored by 王雪伟's avatar 王雪伟

加入Android umeng配置

parent fbe72d25
......@@ -20,11 +20,14 @@
android:name="com.bytedance.android.UnionApplication"
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:hardwareAccelerated="true"
android:allowBackup="true"
android:supportsRtl="true">
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
<activity android:name="com.unity3d.player.UnityPlayerActivity"
android:label="@string/app_name"
android:launchMode="standard"
android:hardwareAccelerated="true"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......@@ -36,12 +39,15 @@
<meta-data
android:name="PARTNER_CODE"
android:value="yanmao" />
<!-- 微信配置 -->
<activity
android:name="com.ym.wdcy.wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop">
</activity>
<!-- 微信配置 -->
<activity
android:name="com.ym.chxxx.wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop"/>
<!-- 友盟配置 -->
<meta-data
android:name="UMENG_CHANNEL"
android:value="${UMENG_CHANNEL_VALUE}" />
<!-- WebView -->
<activity
android:name="com.ym.unityandroid.webview.UnityWebActivity"
......@@ -53,8 +59,7 @@
</intent-filter>
</activity>
<!-- WebView -->
<provider
<provider
android:name="com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities="${applicationId}.TTFileProvider"
android:exported="false"
......@@ -67,6 +72,5 @@
android:name="com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities="${applicationId}.TTMultiProvider"
android:exported="false" />
</application>
</manifest>
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN
apply plugin: 'com.android.application'
dependencies {
implementation project(':unityLibrary')
}
android {
compileSdkVersion **APIVERSION**
buildToolsVersion '**BUILDTOOLS**'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
productFlavors {
toutiao{}
guanwang {}
_360 {}
xiaomi {}
vivo {}
huawei {}
baidu {}
oppo {}
meizu {}
yyb {}
sougou {}
hykb{}
kuaishou{}
_233 {}
}
productFlavors.all {
flavor ->
flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name]
}
defaultConfig {
minSdkVersion **MINSDKVERSION**
targetSdkVersion **TARGETSDKVERSION**
applicationId '**APPLICATIONID**'
ndk {
abiFilters **ABIFILTERS**
}
versionCode **VERSIONCODE**
versionName '**VERSIONNAME**'
flavorDimensions "1"
}
aaptOptions {
noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**]
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
}**SIGN**
lintOptions {
abortOnError 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****SPLITS**
**BUILT_APK_LOCATION**
bundle {
language {
enableSplit = false
}
density {
enableSplit = false
}
abi {
enableSplit = true
}
}
}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP**
fileFormatVersion: 2
guid: 790ad3ef3f461ad4994536dbc24594c3
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment