app名称本地化自适应;分享图片接入

This commit is contained in:
Caiyanpeng committed 2021-12-10 18:10:20 +08:00
1 parent cbd1ce3313
commit 625e2b7934
66 files changed
+7772 -342

No files matched your search

+3 -4
View File
@@ -20,10 +20,9 @@
<data android:scheme="powerfunx" android:host="app" />
</intent-filter>
</activity>
<activity
android:launchMode="singleInstance"
android:name="com.unityplugins.imageselector.SelectActivity">
</activity>
<activity android:name="com.unityplugins.mapbox.GlobeActivity"
android:theme="@style/Theme.AppCompat.NoActionBar"
android:screenOrientation="landscape"></activity>
</application>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Binary file not shown.
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9722f205596f2fd499991ea299119cc8
guid: c2b78b518d3971e4a89095c3e33ddc00
PluginImporter:
externalObjects: {}
serializedVersion: 2
@@ -20,6 +20,19 @@ allprojects {
repositories {**ARTIFACTORYREPOSITORY**
google()
jcenter()
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
// Do not change the username below.
// This should always be `mapbox` (not your username).
username = 'mapbox'
// Use the secret token you stored in gradle.properties as the password
password = "sk.eyJ1IjoidGFsZXNmYW4iLCJhIjoiY2t3ZDg4bmV4NDFubjJucm9nMDZsNnFyZyJ9._ukjbjSdzXFsF-4rZ1sPeA"
}
}
flatDir {
dirs "${project(':unityLibrary').projectDir}/libs"
}
+15 -13
View File
@@ -4,20 +4,13 @@ apply plugin: 'com.android.library'
**APPLY_PLUGINS**
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation(name: 'animated-vector-drawable-25.1.0', ext:'aar')
implementation(name: 'appcompat-v7-25.1.0', ext:'aar')
implementation(name: 'com.mapbox.android.unity-debug', ext:'aar')
implementation(name: 'libcore-release', ext:'aar')
implementation(name: 'libtelemetry-full-release', ext:'aar')
implementation(name: 'support-compat-25.1.0', ext:'aar')
implementation(name: 'support-core-ui-25.1.0', ext:'aar')
implementation(name: 'support-core-utils-25.1.0', ext:'aar')
implementation(name: 'support-media-compat-25.1.0', ext:'aar')
implementation(name: 'support-v4-25.1.0', ext:'aar')
implementation(name: 'support-vector-drawable-25.1.0', ext:'aar')
implementation(name: 'UnityCallWechatShare-release', ext:'aar')
implementation files ('libs/ImageSelector-release.aar')
implementation files ("libs/unity-classes.jar")
implementation files ("libs/unityandroidbluetoothlelib.jar")
implementation files ('libs/PowerFunAndroidPlugin-release.aar')
implementation ('com.mapbox.maps:android:10.2.0-beta.1'){
exclude group: 'group_name', module: 'module_name'
}
}
android {
@@ -49,3 +42,12 @@ android {
}**PACKAGING_OPTIONS**
}**REPOSITORIES****SOURCE_BUILD_SETUP**
**EXTERNAL_SOURCES**
task localizeAppName(type: Copy) {
from("${project.rootDir}/unityLibrary/unity-android-resources/res/") {
include "**/strings.xml"
}
into "${project.rootDir}/launcher/src/main/res"
}
preBuild.dependsOn(localizeAppName)
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 503cb92f2ff04994295fb1ef0fb6ff87
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b1a4f8ddbb19f5149a54b3952a1b1e1d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">运动地球</string>
<string name="game_view_content_description">Game view</string>
</resources>
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ae90b72fae98b7d409fef80a77ef58dd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6ac3db33836fa754384a431594aaea4a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">PowerFun</string>
<string name="game_view_content_description">Game view</string>
</resources>
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 269366f50793f6c479888c9eecf16ea1
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: