Skip to content

Commit cded1aa

Browse files
author
augus
committed
feat: Firebase 設定 Ios Android 參數 並下載 GoogleService-info.plist & google-service.json 並建置一次
issue #6
1 parent 65f47b6 commit cded1aa

17 files changed

+261
-0
lines changed

Assets/Plugins/Android/FirebaseApp.androidlib.meta

+33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.google.firebase.app.unity"
4+
android:versionCode="1"
5+
android:versionName="1.0">
6+
</manifest>

Assets/Plugins/Android/FirebaseApp.androidlib/AndroidManifest.xml.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
target=android-9
2+
android.library=true

Assets/Plugins/Android/FirebaseApp.androidlib/project.properties.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/Android/FirebaseApp.androidlib/res.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/Android/FirebaseApp.androidlib/res/values.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<resources tools:keep="@string/gcm_defaultSenderId,@string/google_storage_bucket,@string/project_id,@string/google_api_key,@string/google_crash_reporting_api_key,@string/google_app_id,@string/default_android_client_id,@string/default_web_client_id" xmlns:tools="http://schemas.android.com/tools">
3+
<string name="gcm_defaultSenderId" translatable="false">303413321002</string>
4+
<string name="google_storage_bucket" translatable="false">unitylibery.appspot.com</string>
5+
<string name="project_id" translatable="false">unitylibery</string>
6+
<string name="google_api_key" translatable="false">AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU</string>
7+
<string name="google_crash_reporting_api_key" translatable="false">AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU</string>
8+
<string name="google_app_id" translatable="false">1:303413321002:android:d94cc183ff2c7a06461253</string>
9+
<string name="default_android_client_id" translatable="false">303413321002-gmld28ecfb0n2q0ie5jgfbndba4ma0sb.apps.googleusercontent.com</string>
10+
<string name="default_web_client_id" translatable="false">303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com</string>
11+
</resources>

Assets/Plugins/Android/FirebaseApp.androidlib/res/values/google-services.xml.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/StreamingAssets.meta

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CLIENT_ID</key>
6+
<string>303413321002-01cqhk44kfd7o0lh4168805744fcobqd.apps.googleusercontent.com</string>
7+
<key>REVERSED_CLIENT_ID</key>
8+
<string>com.googleusercontent.apps.303413321002-01cqhk44kfd7o0lh4168805744fcobqd</string>
9+
<key>API_KEY</key>
10+
<string>AIzaSyD5Q2iWoTEE56mgZWR9IrZbHysjRZfQSvU</string>
11+
<key>GCM_SENDER_ID</key>
12+
<string>303413321002</string>
13+
<key>PLIST_VERSION</key>
14+
<string>1</string>
15+
<key>BUNDLE_ID</key>
16+
<string>com.xulong.testNewId</string>
17+
<key>PROJECT_ID</key>
18+
<string>unitylibery</string>
19+
<key>STORAGE_BUCKET</key>
20+
<string>unitylibery.appspot.com</string>
21+
<key>IS_ADS_ENABLED</key>
22+
<false></false>
23+
<key>IS_ANALYTICS_ENABLED</key>
24+
<false></false>
25+
<key>IS_APPINVITE_ENABLED</key>
26+
<true></true>
27+
<key>IS_GCM_ENABLED</key>
28+
<true></true>
29+
<key>IS_SIGNIN_ENABLED</key>
30+
<true></true>
31+
<key>GOOGLE_APP_ID</key>
32+
<string>1:303413321002:ios:6b18687211a5027c461253</string>
33+
</dict>
34+
</plist>

Assets/StreamingAssets/GoogleService-Info.plist.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"project_info": {
3+
"project_number": "303413321002",
4+
"project_id": "unitylibery",
5+
"storage_bucket": "unitylibery.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:303413321002:android:d94cc183ff2c7a06461253",
11+
"android_client_info": {
12+
"package_name": "com.DefaultCompany.UnityLibrary"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "303413321002-gmld28ecfb0n2q0ie5jgfbndba4ma0sb.apps.googleusercontent.com",
18+
"client_type": 1,
19+
"android_info": {
20+
"package_name": "com.DefaultCompany.UnityLibrary",
21+
"certificate_hash": "a80ad9ee994ac4ca08419634b12e18d7c78b615c"
22+
}
23+
},
24+
{
25+
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
26+
"client_type": 3
27+
}
28+
],
29+
"api_key": [
30+
{
31+
"current_key": "AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU"
32+
}
33+
],
34+
"services": {
35+
"appinvite_service": {
36+
"other_platform_oauth_client": [
37+
{
38+
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
39+
"client_type": 3
40+
},
41+
{
42+
"client_id": "303413321002-01cqhk44kfd7o0lh4168805744fcobqd.apps.googleusercontent.com",
43+
"client_type": 2,
44+
"ios_info": {
45+
"bundle_id": "com.xulong.testNewId"
46+
}
47+
}
48+
]
49+
}
50+
}
51+
}
52+
],
53+
"configuration_version": "1"
54+
}

Assets/StreamingAssets/google-services-desktop.json.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"project_info": {
3+
"project_number": "303413321002",
4+
"project_id": "unitylibery",
5+
"storage_bucket": "unitylibery.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:303413321002:android:d94cc183ff2c7a06461253",
11+
"android_client_info": {
12+
"package_name": "com.DefaultCompany.UnityLibrary"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "303413321002-gmld28ecfb0n2q0ie5jgfbndba4ma0sb.apps.googleusercontent.com",
18+
"client_type": 1,
19+
"android_info": {
20+
"package_name": "com.DefaultCompany.UnityLibrary",
21+
"certificate_hash": "a80ad9ee994ac4ca08419634b12e18d7c78b615c"
22+
}
23+
},
24+
{
25+
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
26+
"client_type": 3
27+
}
28+
],
29+
"api_key": [
30+
{
31+
"current_key": "AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU"
32+
}
33+
],
34+
"services": {
35+
"appinvite_service": {
36+
"other_platform_oauth_client": [
37+
{
38+
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
39+
"client_type": 3
40+
},
41+
{
42+
"client_id": "303413321002-01cqhk44kfd7o0lh4168805744fcobqd.apps.googleusercontent.com",
43+
"client_type": 2,
44+
"ios_info": {
45+
"bundle_id": "com.xulong.testNewId"
46+
}
47+
}
48+
]
49+
}
50+
}
51+
}
52+
],
53+
"configuration_version": "1"
54+
}

Assets/StreamingAssets/google-services.json.meta

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ProjectSettings/GraphicsSettings.asset

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ GraphicsSettings:
3434
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
3535
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
3636
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
37+
- {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0}
3738
m_PreloadedShaders: []
3839
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
3940
type: 0}

0 commit comments

Comments
 (0)