Skip to content

Commit

Permalink
feat: Firebase 設定 Ios Android 參數 並下載 GoogleService-info.plist & googl…
Browse files Browse the repository at this point in the history
…e-service.json 並建置一次

issue #6
  • Loading branch information
augus committed May 4, 2021
1 parent 65f47b6 commit cded1aa
Show file tree
Hide file tree
Showing 17 changed files with 261 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Assets/Plugins/Android/FirebaseApp.androidlib.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.firebase.app.unity"
android:versionCode="1"
android:versionName="1.0">
</manifest>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target=android-9
android.library=true

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Plugins/Android/FirebaseApp.androidlib/res.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Plugins/Android/FirebaseApp.androidlib/res/values.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='utf-8'?>
<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">
<string name="gcm_defaultSenderId" translatable="false">303413321002</string>
<string name="google_storage_bucket" translatable="false">unitylibery.appspot.com</string>
<string name="project_id" translatable="false">unitylibery</string>
<string name="google_api_key" translatable="false">AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU</string>
<string name="google_crash_reporting_api_key" translatable="false">AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU</string>
<string name="google_app_id" translatable="false">1:303413321002:android:d94cc183ff2c7a06461253</string>
<string name="default_android_client_id" translatable="false">303413321002-gmld28ecfb0n2q0ie5jgfbndba4ma0sb.apps.googleusercontent.com</string>
<string name="default_web_client_id" translatable="false">303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com</string>
</resources>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/StreamingAssets.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions Assets/StreamingAssets/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CLIENT_ID</key>
<string>303413321002-01cqhk44kfd7o0lh4168805744fcobqd.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.303413321002-01cqhk44kfd7o0lh4168805744fcobqd</string>
<key>API_KEY</key>
<string>AIzaSyD5Q2iWoTEE56mgZWR9IrZbHysjRZfQSvU</string>
<key>GCM_SENDER_ID</key>
<string>303413321002</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.xulong.testNewId</string>
<key>PROJECT_ID</key>
<string>unitylibery</string>
<key>STORAGE_BUCKET</key>
<string>unitylibery.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:303413321002:ios:6b18687211a5027c461253</string>
</dict>
</plist>
7 changes: 7 additions & 0 deletions Assets/StreamingAssets/GoogleService-Info.plist.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions Assets/StreamingAssets/google-services-desktop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"project_info": {
"project_number": "303413321002",
"project_id": "unitylibery",
"storage_bucket": "unitylibery.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:303413321002:android:d94cc183ff2c7a06461253",
"android_client_info": {
"package_name": "com.DefaultCompany.UnityLibrary"
}
},
"oauth_client": [
{
"client_id": "303413321002-gmld28ecfb0n2q0ie5jgfbndba4ma0sb.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.DefaultCompany.UnityLibrary",
"certificate_hash": "a80ad9ee994ac4ca08419634b12e18d7c78b615c"
}
},
{
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "303413321002-01cqhk44kfd7o0lh4168805744fcobqd.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.xulong.testNewId"
}
}
]
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions Assets/StreamingAssets/google-services-desktop.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions Assets/StreamingAssets/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"project_info": {
"project_number": "303413321002",
"project_id": "unitylibery",
"storage_bucket": "unitylibery.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:303413321002:android:d94cc183ff2c7a06461253",
"android_client_info": {
"package_name": "com.DefaultCompany.UnityLibrary"
}
},
"oauth_client": [
{
"client_id": "303413321002-gmld28ecfb0n2q0ie5jgfbndba4ma0sb.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.DefaultCompany.UnityLibrary",
"certificate_hash": "a80ad9ee994ac4ca08419634b12e18d7c78b615c"
}
},
{
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDXcJUqqps1wEEL_tNU30KFhWHAtbX8NdU"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "303413321002-osmliudj71vc5e0lqjd8l6mb137v0clj.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "303413321002-01cqhk44kfd7o0lh4168805744fcobqd.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.xulong.testNewId"
}
}
]
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions Assets/StreamingAssets/google-services.json.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ProjectSettings/GraphicsSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ GraphicsSettings:
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
Expand Down

0 comments on commit cded1aa

Please sign in to comment.