diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 893212bf2..d3acdfdcf 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -47,7 +47,7 @@ body: - Authentication - Crashlytics - Database - - DynamicLinks + - Firebase AI Logic - Firestore - Functions - In-App Messaging diff --git a/.github/ISSUE_TEMPLATE/general-question.yml b/.github/ISSUE_TEMPLATE/general-question.yml index 93548a67a..cfecf4620 100644 --- a/.github/ISSUE_TEMPLATE/general-question.yml +++ b/.github/ISSUE_TEMPLATE/general-question.yml @@ -48,7 +48,7 @@ body: - Authentication - Crashlytics - Database - - DynamicLinks + - Firebase AI Logic - Firestore - Functions - In-App Messaging @@ -72,7 +72,7 @@ body: - Authentication - Crashlytics - Database - - DynamicLinks + - Firebase AI Logic - Firestore - Functions - In-App Messaging diff --git a/.github/ISSUE_TEMPLATE/issue.yml b/.github/ISSUE_TEMPLATE/issue.yml index 8fcec5edb..b35287eed 100644 --- a/.github/ISSUE_TEMPLATE/issue.yml +++ b/.github/ISSUE_TEMPLATE/issue.yml @@ -78,7 +78,7 @@ body: - Authentication - Crashlytics - Database - - DynamicLinks + - Firebase AI Logic - Firestore - Functions - In-App Messaging @@ -104,7 +104,7 @@ body: - Authentication - Crashlytics - Database - - DynamicLinks + - Firebase AI Logic - Firestore - Functions - In-App Messaging diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index 217d8050e..4ebe573d4 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -20,7 +20,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string unity_platform_name: diff --git a/.github/workflows/build_ios.yml b/.github/workflows/build_ios.yml index 66b237b4b..31ac0e14f 100644 --- a/.github/workflows/build_ios.yml +++ b/.github/workflows/build_ios.yml @@ -20,7 +20,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string unity_platform_name: diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 63a65a18f..a5fcfc2b4 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -20,7 +20,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string unity_platform_name: diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index 7512cdb2d..ea17ef846 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -20,7 +20,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string unity_platform_name: diff --git a/.github/workflows/build_starter.yml b/.github/workflows/build_starter.yml index 6725b4c31..eea1c96ae 100644 --- a/.github/workflows/build_starter.yml +++ b/.github/workflows/build_starter.yml @@ -28,7 +28,7 @@ on: required: true apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true # Additional CMake flags to use additional_cmake_flags: @@ -104,7 +104,7 @@ jobs: echo "platform='Android,iOS,tvOS,Windows,macOS,Linux,Playmode'" >> $GITHUB_OUTPUT echo "release_label=nightly-$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_OUTPUT echo "release_version=NoVersion" >> $GITHUB_OUTPUT - echo "apis='analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage'" >> $GITHUB_OUTPUT + echo "apis='analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage'" >> $GITHUB_OUTPUT echo "unity_version=2021" >> $GITHUB_OUTPUT echo "should_trigger_package=true" >> $GITHUB_OUTPUT echo "firebase_cpp_sdk_version=" >> $GITHUB_OUTPUT diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 62e0b63dc..bd174a6c0 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -20,7 +20,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string unity_platform_name: diff --git a/.github/workflows/generate_swig.yml b/.github/workflows/generate_swig.yml index 14bfdbb53..dbda1d246 100644 --- a/.github/workflows/generate_swig.yml +++ b/.github/workflows/generate_swig.yml @@ -16,7 +16,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string # Additional CMake flags to use diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index bc188394a..a8a6ecd22 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -18,7 +18,7 @@ on: required: true apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true mobile_test_on: description: 'Run mobile tests on real and/or virtual devices? (value: real, virtual. separated by commas)' diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 43b4170d5..a66dc7221 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -33,7 +33,7 @@ on: type: string apis: description: 'CSV of apis to build and test' - default: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' required: true type: string @@ -42,7 +42,7 @@ permissions: write-all env: # Use SHA256 for hashing files. hashCommand: "sha256sum" - default_apis: 'analytics,app_check,auth,crashlytics,database,dynamic_links,firebaseai,firestore,functions,installations,messaging,remote_config,storage' + default_apis: 'analytics,app_check,auth,crashlytics,database,firebaseai,firestore,functions,installations,messaging,remote_config,storage' jobs: package_sdks: diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b622871b..cddb5e6f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,9 +48,6 @@ option(FIREBASE_INCLUDE_CRASHLYTICS option(FIREBASE_INCLUDE_DATABASE "Include the Firebase Realtime Database library." ${FIREBASE_INCLUDE_LIBRARY_DEFAULT}) -option(FIREBASE_INCLUDE_DYNAMIC_LINKS - "Include the Firebase Dynamic Links library." - ${FIREBASE_INCLUDE_LIBRARY_DEFAULT}) option(FIREBASE_INCLUDE_INSTALLATIONS "Include the Firebase Installations library." ${FIREBASE_INCLUDE_LIBRARY_DEFAULT}) @@ -268,11 +265,6 @@ if (DESKTOP AND APPLE AND FIREBASE_INCLUDE_EDITOR_TOOL AND NOT FIREBASE_GENERATE add_subdirectory(editor) endif() -if (PLATFORM STREQUAL TVOS OR PLATFORM STREQUAL SIMULATOR_TVOS) - # Dynamic Links is not supported on tvOS. - set(FIREBASE_INCLUDE_DYNAMIC_LINKS OFF) -endif() - if (FIREBASE_INCLUDE_ANALYTICS) add_subdirectory(analytics) list(APPEND TARGET_LINK_LIB_NAMES "firebase_analytics" "firebase_analytics_swig") @@ -303,12 +295,6 @@ if (FIREBASE_INCLUDE_DATABASE) list(APPEND DOCUMENTATION_ONLY_LIB_NAMES "firebase_database_swig") list(APPEND PROJECT_LIST_HEADER " X(Database)") endif() -if (FIREBASE_INCLUDE_DYNAMIC_LINKS) - add_subdirectory(dynamic_links) - list(APPEND TARGET_LINK_LIB_NAMES "firebase_dynamic_links" "firebase_dynamic_links_swig") - list(APPEND DOCUMENTATION_ONLY_LIB_NAMES "firebase_dynamic_links_swig") - list(APPEND PROJECT_LIST_HEADER " X(DynamicLinks)") -endif() if (FIREBASE_INCLUDE_INSTALLATIONS) add_subdirectory(installations) list(APPEND TARGET_LINK_LIB_NAMES "firebase_installations" "firebase_installations_swig") diff --git a/README.md b/README.md index 11f3f4b6e..da9196cc6 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,14 @@ The repository contains the Firebase Unity SDK source, with support for Android, iOS, and desktop platforms. Note that desktop is ***only supported for development purposes***. It includes the following Firebase libraries: +- [Firebase AI Logic](https://firebase.google.com/docs/ai-logic/) - [Google Analytics for Firebase](https://firebase.google.com/docs/analytics/) - [Firebase App Check](https://firebase.google.com/docs/app-check/) - [Firebase Authentication](https://firebase.google.com/docs/auth/) - [Firebase Crashlytics](https://firebase.google.com/docs/crashlytics) - [Firebase Realtime Database](https://firebase.google.com/docs/database/) -- [Firebase Dynamic Links](https://firebase.google.com/docs/dynamic-links/) - [Cloud Firestore](https://firebase.google.com/docs/firestore/) - [Cloud Functions for Firebase](https://firebase.google.com/docs/functions/) -- [Firebase Invites](https://firebase.google.com/docs/invites/) - [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) - [Firebase Remote Config](https://firebase.google.com/docs/remote-config/) - [Cloud Storage for Firebase](https://firebase.google.com/docs/storage/) @@ -86,7 +85,7 @@ Expected output artifact is python scripts/build_scripts/build_zips.py --platform= --targets= --targets= ``` -> **Note:** Supported library names: analytics, app_check, auth, crashlytics, database, dynamic_links, firebaseai, firestore, functions, installations, messaging, remote_config, storage +> **Note:** Supported library names: analytics, app_check, auth, crashlytics, database, firebaseai, firestore, functions, installations, messaging, remote_config, storage ## Packaging diff --git a/app/platform/Unity/AssemblyInfo.cs b/app/platform/Unity/AssemblyInfo.cs index bf852bacc..29e610b80 100644 --- a/app/platform/Unity/AssemblyInfo.cs +++ b/app/platform/Unity/AssemblyInfo.cs @@ -35,12 +35,10 @@ [assembly: InternalsVisibleTo("Firebase.Auth")] [assembly: InternalsVisibleTo("Firebase.Crashlytics")] [assembly: InternalsVisibleTo("Firebase.Database")] -[assembly: InternalsVisibleTo("Firebase.DynamicLinks")] [assembly: InternalsVisibleTo("Firebase.Firestore")] [assembly: InternalsVisibleTo("Firebase.Functions")] [assembly: InternalsVisibleTo("Firebase.Installations")] [assembly: InternalsVisibleTo("Firebase.InstanceId")] -[assembly: InternalsVisibleTo("Firebase.Invites")] [assembly: InternalsVisibleTo("Firebase.Messaging")] [assembly: InternalsVisibleTo("Firebase.RemoteConfig")] [assembly: InternalsVisibleTo("Firebase.Storage")] diff --git a/app/src/swig/app.i b/app/src/swig/app.i index ca54e6ac9..ca2321ae8 100644 --- a/app/src/swig/app.i +++ b/app/src/swig/app.i @@ -688,10 +688,6 @@ static firebase::AppOptions* AppOptionsLoadFromJsonConfig(const char* config) { "Firebase.Database.FirebaseDatabase, Firebase.Database", "database" ), - new EnableModuleParams( - "Firebase.DynamicLinks.DynamicLinks, Firebase.DynamicLinks", - "dynamic_links" - ), new EnableModuleParams( "Firebase.Functions.FirebaseFunctions, Firebase.Functions", "functions" @@ -700,10 +696,6 @@ static firebase::AppOptions* AppOptionsLoadFromJsonConfig(const char* config) { "Firebase.Installations.FirebaseInstallations, Firebase.Installations", "installations" ), - new EnableModuleParams( - "Firebase.Invites.FirebaseInvites, Firebase.Invites", - "invites" - ), new EnableModuleParams( "Firebase.Messaging.FirebaseMessaging, Firebase.Messaging", "messaging" diff --git a/app/src/unity_main.cpp b/app/src/unity_main.cpp index f60975328..bce9f880b 100644 --- a/app/src/unity_main.cpp +++ b/app/src/unity_main.cpp @@ -109,12 +109,9 @@ jint JNI_OnLoad(JavaVM *jvm, void *reserved) { {"com/google/firebase/auth/FirebaseAuth", "auth"}, {"com/google/firebase/crashlytics/FirebaseCrashlytics", "crashlytics"}, {"com/google/firebase/database/FirebaseDatabase", "database"}, - {"com/google/firebase/dynamiclinks/FirebaseDynamicLinks", - "dynamic_links"}, {"com/google/firebase/functions/FirebaseFunctions", "functions"}, {"com/google/firebase/installations/FirebaseInstallations", "installations"}, - {"com/google/android/gms/appinvite/AppInvite", "invites"}, {"com/google/firebase/messaging/FirebaseMessaging", "messaging"}, {"com/google/firebase/perf/FirebasePerformance", "performance"}, {"com/google/firebase/remoteconfig/FirebaseRemoteConfigInfo", diff --git a/auth/testapp/ProjectSettings/ProjectSettings.asset b/auth/testapp/ProjectSettings/ProjectSettings.asset index e00c78b8e..1349ff689 100644 --- a/auth/testapp/ProjectSettings/ProjectSettings.asset +++ b/auth/testapp/ProjectSettings/ProjectSettings.asset @@ -887,14 +887,14 @@ PlayerSettings: apiCompatibilityLevelPerPlatform: {} m_RenderingPath: 1 m_MobileRenderingPath: 1 - metroPackageName: InvitesUnityTestApp + metroPackageName: AuthUnityTestApp metroPackageVersion: metroCertificatePath: metroCertificatePassword: metroCertificateSubject: metroCertificateIssuer: metroCertificateNotAfter: 0000000000000000 - metroApplicationDescription: InvitesUnityTestApp + metroApplicationDescription: AuthUnityTestApp wsaImages: {} metroTileShortName: metroTileShowName: 0 diff --git a/cmake/android_dependencies.cmake b/cmake/android_dependencies.cmake index fa976acc0..b791811ec 100644 --- a/cmake/android_dependencies.cmake +++ b/cmake/android_dependencies.cmake @@ -47,11 +47,6 @@ set(FIREBASE_DATABASE_ANDROID_DEPS "com.google.android.gms:play-services-base:18.6.0" ) -set(FIREBASE_DYNAMIC_LINKS_ANDROID_DEPS - "com.google.firebase:firebase-dynamic-links:22.1.0" - "com.google.firebase:firebase-analytics:22.4.0" -) - set(FIREBASE_FIRESTORE_ANDROID_DEPS "com.google.firebase:firebase-firestore:25.1.3" "com.google.firebase:firebase-analytics:22.4.0" diff --git a/database/testapp/ProjectSettings/ProjectSettings.asset b/database/testapp/ProjectSettings/ProjectSettings.asset index 45f5aa4fb..aaec72ebf 100644 --- a/database/testapp/ProjectSettings/ProjectSettings.asset +++ b/database/testapp/ProjectSettings/ProjectSettings.asset @@ -924,14 +924,14 @@ PlayerSettings: apiCompatibilityLevelPerPlatform: {} m_RenderingPath: 1 m_MobileRenderingPath: 1 - metroPackageName: InvitesUnityTestApp + metroPackageName: DatabaseUnityTestApp metroPackageVersion: metroCertificatePath: metroCertificatePassword: metroCertificateSubject: metroCertificateIssuer: metroCertificateNotAfter: 0000000000000000 - metroApplicationDescription: InvitesUnityTestApp + metroApplicationDescription: DatabaseUnityTestApp wsaImages: {} metroTileShortName: metroTileShowName: 0 diff --git a/docs/dynamic_links/DynamicLinksReadme.md b/docs/dynamic_links/DynamicLinksReadme.md deleted file mode 100644 index eaeb5252c..000000000 --- a/docs/dynamic_links/DynamicLinksReadme.md +++ /dev/null @@ -1,46 +0,0 @@ -Get Started with Firebase Dynamic Links -======================================== - -Thank you for installing the Firebase Dynamic Links Unity SDK. The -[Dynamic Links guide](https://firebase.google.com/docs/dynamic-links/unity/create) -provides instructions to configure a Unity project. - -# Overview - -You can use -[Firebase Dynamic Links](https://firebase.google.com/products/dynamic-links/) -to create short or long Dynamic Links. The API takes several optional parameter -structures to build links. Short links can also be created from a previously -generated long link. The Dynamic Links API will generate a URL like -https://example.page.link/aSDf. - - -# Using the Sample - -This SDK is distributed with a sample project under the -`Assets/Firebase/Sample/DynamicLinks` directory. To configure and run the -sample, follow the instructions in -`Assets/Firebase/Sample/DynamicLinks/readme.md`. - -# Demos - -[Mecha Hamster](https://github.com/google/mechahamster) is provided as a demo -which showcases the integration of multiple Firebase features within a single -game. The source is available on -[GitHub](https://github.com/google/mechahamster), and the live application -is available for iOS on the -[App Store](https://itunes.apple.com/us/app/mechahamster/id1286046770?mt=8&ign-mpt=uo%3D4) -and for Android on the -(Google Play Store)[https://play.google.com/store/apps/details?id=com.google.fpl.mechahamster&hl=en]. - -# Links - -* [Homepage](https://firebase.google.com/games/) -* [Contact](https://firebase.google.com/support/contact/) -* [Unity Quickstart Samples](https://github.com/firebase/quickstart-unity) - -# Discussion - -* [Stack overflow](https://stackoverflow.com/questions/tagged/firebase) -* [Slack community](https://firebase-community.slack.com/) -* [Google groups](https://groups.google.com/forum/#!forum/firebase-talk) diff --git a/docs/dynamic_links/DynamicLinks_icon.png b/docs/dynamic_links/DynamicLinks_icon.png deleted file mode 100644 index 739e463a6..000000000 Binary files a/docs/dynamic_links/DynamicLinks_icon.png and /dev/null differ diff --git a/docs/dynamic_links/DynamicLinks_large.png b/docs/dynamic_links/DynamicLinks_large.png deleted file mode 100644 index a69e20617..000000000 Binary files a/docs/dynamic_links/DynamicLinks_large.png and /dev/null differ diff --git a/docs/dynamic_links/DynamicLinks_small.png b/docs/dynamic_links/DynamicLinks_small.png deleted file mode 100644 index 1f3a449b0..000000000 Binary files a/docs/dynamic_links/DynamicLinks_small.png and /dev/null differ diff --git a/docs/readme.md b/docs/readme.md index 89b013e4b..2316caea5 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -4,15 +4,13 @@ Firebase Unity SDK The Firebase Unity SDK provides Unity packages for the following Firebase features on *iOS*, *tvOS* and *Android*. -Note: Firebase Dynamic Links is not supported on tvOS. - | Feature | Unity Package | |:-----------------------------------:|:---------------------------------:| +| Firebase AI Logic | FirebaseAI.unitypackage | | Firebase Analytics | FirebaseAnalytics.unitypackage | | Firebase App Check | FirebaseAppCheck.unitypackage | | Firebase Authentication | FirebaseAuth.unitypackage | | Firebase Crashlytics | FirebaseCrashlytics.unitypackage | -| Firebase Dynamic Links (deprecated) | FirebaseDynamicLinks.unitypackage | | Cloud Firestore | FirebaseFirestore.unitypackage | | Firebase Functions | FirebaseFunctions.unitypackage | | Firebase Installations | FirebaseInstallations.unitypackage| @@ -31,6 +29,7 @@ desktop builds on Windows, OS X, and Linux: | Feature | Unity Package | |:----------------------------------:|:---------------------------------:| +| Firebase AI Logic | FirebaseAI.unitypackage | | Firebase Authentication | FirebaseAuth.unitypackage | | Firebase App Check | FirebaseAppCheck.unitypackage | | Firebase Realtime Database* | FirebaseDatabase.unitypackage | @@ -115,6 +114,9 @@ Release Notes - Analytics: Removed deprecated `FirebaseAnalytics.ParameterGroupId` and `Parameter.Dispose` methods. - Auth: Removed deprecated `FirebaseUser.UpdateEmailAsync`. + - Dynamic Links: Removed the Dynamic Links SDK. See the [support + documentation](https://firebase.google.com/support/dynamic-links-faq) + for more information. - Firebase AI: Add support for image generation via Imagen. For more info, see https://firebase.google.com/docs/ai-logic/generate-images-imagen - Firebase AI: Add support for Grounding with Google Search. diff --git a/dynamic_links/CMakeLists.txt b/dynamic_links/CMakeLists.txt deleted file mode 100644 index 18d7b7859..000000000 --- a/dynamic_links/CMakeLists.txt +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 2019 Google -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# CMake file for the firebase dynamic_links library - -include(build_shared) - -# Firebase DynamicLinks Swig input files -set(firebase_dynamic_links_swig - src/swig/dynamic_links.i -) - -# Firebase DynamicLinks CSharp files -set(firebase_dynamic_links_src - src/AndroidParameters.cs - src/DynamicLinkComponents.cs - src/DynamicLinkOptions.cs - src/DynamicLinkPathLength.cs - src/DynamicLinks.cs - src/GoogleAnalyticsParameters.cs - src/IOSParameters.cs - src/ITunesConnectAnalyticsParameters.cs - src/ReceivedDynamicLink.cs - src/ReceivedDynamicLinkEventArgs.cs - src/ShortDynamicLink.cs - src/SocialMetaTagParameters.cs -) - -firebase_swig_add_library(firebase_dynamic_links_swig - NAMESPACE - Firebase.DynamicLinks - MODULE - FirebaseCppDynamicLinks - SOURCES - ${firebase_dynamic_links_swig} - DEPENDS - firebase_dynamic_links -) - -unity_pack_documentation_sources(dynamic_links - DOCUMENTATION_SOURCES - ${firebase_dynamic_links_src} - ${firebase_dynamic_links_swig_gen_src} -) -if (FIREBASE_GENERATE_SWIG_ONLY) - unity_pack_documentation_sources(dynamic_links - DOCUMENTATION_SOURCES - ${firebase_dynamic_links_swig_gen_cpp_src} - ) - return() -endif() - -mono_add_library(firebase_dynamic_links_cs - MODULE - Firebase.DynamicLinks - SOURCES - ${firebase_dynamic_links_src} - ${firebase_dynamic_links_swig_gen_src} - REFERENCES - ${FIREBASE_PLATFORM_REF} - DEPENDS - firebase_dynamic_links_swig -) - -if(FIREBASE_IOS_BUILD) - ios_pack(firebase_lib_dynamic_links libFirebaseCppDynamicLinks DEPS firebase_dynamic_links firebase_dynamic_links_swig) -else() - build_firebase_shared( - dynamic_links - dynamic-links - FirebaseCppDynamicLinks - ) -endif() - -unity_pack_cs(firebase_dynamic_links_cs) - -if (FIREBASE_INCLUDE_UNITY) - generate_dependencies_xml(DynamicLinks - IOS_DEPS - "Firebase/DynamicLinks" - ANDROID_DEPS - ${FIREBASE_DYNAMIC_LINKS_ANDROID_DEPS} - ANDROID_SPEC - "dynamic-links" - ) -endif() - -set_property(TARGET firebase_dynamic_links_cs - PROPERTY FOLDER - "Firebase ${FIREBASE_PLATFORM_NAME}" -) diff --git a/dynamic_links/src/AndroidParameters.cs b/dynamic_links/src/AndroidParameters.cs deleted file mode 100644 index 18d820e85..000000000 --- a/dynamic_links/src/AndroidParameters.cs +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief Android Parameters. -public class AndroidParameters { - /// Creates an Android Parameters object with the given package name. - /// - /// @param packageName The package name of the Android app to use to open - /// the link. The app must be connected to your project from the Overview - /// page of the Firebase console. - public AndroidParameters(string packageName) { - PackageName = packageName; - } - - /// The package name of the Android app to use to open the link. The app - /// must be connected to your project from the Overview page of the - /// Firebase console. - public string PackageName { get; set; } - /// The link to open when the app isn't installed. - /// - /// Specify this to do something other than install your app from the - /// Play Store when the app isn't installed, such as open the mobile web - /// version of the content, or display a promotional page for your app. - public System.Uri FallbackUrl { get; set; } - /// The versionCode of the minimum version of your app that can open the - /// link. - public int MinimumVersion { get; set; } -} - -} diff --git a/dynamic_links/src/DynamicLinkComponents.cs b/dynamic_links/src/DynamicLinkComponents.cs deleted file mode 100644 index ad772c8bd..000000000 --- a/dynamic_links/src/DynamicLinkComponents.cs +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -using System; - -namespace Firebase.DynamicLinks { - -/// @brief The information needed to generate a Dynamic Link. -public class DynamicLinkComponents { - // Keep a reference to FirebaseApp as it initializes this SDK. - private Firebase.FirebaseApp app; - - /// Creates a new Dynamic Link Components object with the given link - /// and dynamic link domain. - /// - /// @param link The base link that your app will open. - /// @param uriPrefix The URI prefix (of the form "https://xyz.app.goo.gl") to - /// use for this Dynamic Link. You can find this value in the Dynamic Links - /// section of the Firebase console. If you have set up custom domains on your - /// project, set this to your project's custom domain as listed in the - /// Firebase console. Note: If you do not specify "https://" as the URI - /// scheme, it will be added. - public DynamicLinkComponents(System.Uri link, string uriPrefix) { - app = Firebase.FirebaseApp.DefaultInstance; - Link = link; - if (!uriPrefix.StartsWith("https://")) { - uriPrefix = "https://" + uriPrefix; - } - DomainUriPrefix = uriPrefix; - } - - /// The long Dynamic Link, generated from the other parameters. - public System.Uri LongDynamicLink { - get { - return ShortDynamicLink.ConvertFromInternal( - FirebaseDynamicLinks.GetLongLinkInternal(ConvertToInternal())).Url; - } - } - - /// The link your app will open. You can specify any URL your app can - /// handle, such as a link to your app's content, or a URL that initiates - /// some app-specific logic such as crediting the user with a coupon, or - /// displaying a specific welcome screen. This link must be a well-formatted - /// URL, be properly URL-encoded, and use the HTTP or HTTPS scheme. - public System.Uri Link { get; set; } - /// The domain (of the form "https://xyz.app.goo.gl") to use for this Dynamic - /// Link. You can find this value in the Dynamic Links section of the Firebase - /// console. - /// - /// If you have set up custom domains on your project, set this to your - /// project's custom domain as listed in the Firebase console. - /// - /// Only https:// links are supported. - public string DomainUriPrefix { get; set; } - /// The Google Analytics parameters. - public GoogleAnalyticsParameters GoogleAnalyticsParameters { get; set; } - /// The iOS parameters. - public IOSParameters IOSParameters { get; set; } - /// The iTunes Connect App Analytics parameters. - public ITunesConnectAnalyticsParameters ITunesConnectAnalyticsParameters { get; set; } - /// The Android parameters. - public AndroidParameters AndroidParameters { get; set; } - /// The social meta-tag parameters. - public SocialMetaTagParameters SocialMetaTagParameters { get; set; } - - // Convert this object to DynamicLinkComponentsInternal. - internal DynamicLinkComponentsInternal ConvertToInternal() { - return new DynamicLinkComponentsInternal { - link = Firebase.FirebaseApp.UriToUrlString(Link), - domain_uri_prefix = DomainUriPrefix, - google_analytics_parameters = GoogleAnalyticsParameters == null ? - null : new GoogleAnalyticsParametersInternal { - source = GoogleAnalyticsParameters.Source, - medium = GoogleAnalyticsParameters.Medium, - campaign = GoogleAnalyticsParameters.Campaign, - term = GoogleAnalyticsParameters.Term, - content = GoogleAnalyticsParameters.Content - }, - ios_parameters = IOSParameters == null ? null : new IOSParametersInternal { - bundle_id = IOSParameters.BundleId, - fallback_url = Firebase.FirebaseApp.UriToUrlString(IOSParameters.FallbackUrl), - custom_scheme = IOSParameters.CustomScheme, - ipad_fallback_url = Firebase.FirebaseApp.UriToUrlString(IOSParameters.IPadFallbackUrl), - ipad_bundle_id = IOSParameters.IPadBundleId, - app_store_id = IOSParameters.AppStoreId, - minimum_version = IOSParameters.MinimumVersion - }, - itunes_connect_analytics_parameters = ITunesConnectAnalyticsParameters == null ? - null : new ITunesConnectAnalyticsParametersInternal { - provider_token = ITunesConnectAnalyticsParameters.ProviderToken, - affiliate_token = ITunesConnectAnalyticsParameters.AffiliateToken, - campaign_token = ITunesConnectAnalyticsParameters.CampaignToken - }, - android_parameters = AndroidParameters == null ? - null : new AndroidParametersInternal { - package_name = AndroidParameters.PackageName, - fallback_url = Firebase.FirebaseApp.UriToUrlString(AndroidParameters.FallbackUrl), - minimum_version = AndroidParameters.MinimumVersion - }, - social_meta_tag_parameters = SocialMetaTagParameters == null ? - null : new SocialMetaTagParametersInternal { - title = SocialMetaTagParameters.Title, - description = SocialMetaTagParameters.Description, - image_url = Firebase.FirebaseApp.UriToUrlString(SocialMetaTagParameters.ImageUrl), - } - }; - } -} - -} diff --git a/dynamic_links/src/DynamicLinkOptions.cs b/dynamic_links/src/DynamicLinkOptions.cs deleted file mode 100644 index 1ebe43a3c..000000000 --- a/dynamic_links/src/DynamicLinkOptions.cs +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief Additional options for Dynamic Link creation. -public class DynamicLinkOptions { - /// The desired path length for shortened Dynamic Link URLs. - public DynamicLinkPathLength PathLength { get; set; } - - // Convert to DynamicLinkOptionsInternal. - internal DynamicLinkOptionsInternal ConvertToInternal() { - return new DynamicLinkOptionsInternal { - path_length = PathLength.ConvertToInternal() - }; - } -} - -} diff --git a/dynamic_links/src/DynamicLinkPathLength.cs b/dynamic_links/src/DynamicLinkPathLength.cs deleted file mode 100644 index 89a97fd6a..000000000 --- a/dynamic_links/src/DynamicLinkPathLength.cs +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -using System; - -/// @brief The desired path length for shortened Dynamic Link URLs. -public enum DynamicLinkPathLength { - /// Uses the server-default for the path length. - /// See https://goo.gl/8yDAqC for more information. - Default = 0, - /// Typical short link for non-sensitive links. - Short, - /// Short link that uses a very long path to make it more difficult to - /// guess. Useful for sensitive links. - Unguessable, -} - -internal static class DynamicLinkPathLengthExtensions { - // Convert DynamicLinkPathLength to PathLengthInternal. - internal static PathLengthInternal ConvertToInternal(this DynamicLinkPathLength pathLength) { - switch (pathLength) { - case DynamicLinkPathLength.Default: - return PathLengthInternal.PathLengthDefault; - case DynamicLinkPathLength.Short: - return PathLengthInternal.PathLengthShort; - case DynamicLinkPathLength.Unguessable: - return PathLengthInternal.PathLengthUnguessable; - default: - throw new Firebase.FirebaseException(0, String.Format("Invalid path length {0}", - pathLength)); - } - } -} - -} diff --git a/dynamic_links/src/DynamicLinks.cs b/dynamic_links/src/DynamicLinks.cs deleted file mode 100644 index b3029c556..000000000 --- a/dynamic_links/src/DynamicLinks.cs +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -using System.Threading.Tasks; - -/// @brief Firebase Dynamic Links API. -/// -/// Firebase Dynamic Links is a cross-platform solution for generating and -/// receiving links, whether or not the app is already installed. -[System.Obsolete("Firebase Dynamic Links is deprecated and will be removed in a future release..", false)] -public sealed class DynamicLinks { - // Keep a reference to FirebaseApp as it initializes this SDK. - private static Firebase.FirebaseApp app; - - // The class is not meant to be instantiated in that way. - private DynamicLinks() {} - - // Initialize this module. - static DynamicLinks() { - app = Firebase.FirebaseApp.DefaultInstance; - } - -#if DOXYGEN - /// Called on the client when a Dynamic Link is received. - public static event System.EventHandler DynamicLinkReceived; -#else - public static event System.EventHandler DynamicLinkReceived { - add { - lock (typeof(FirebaseDynamicLinks.Listener)) { - DynamicLinkReceivedInternal += value; - CreateOrDestroyListener(); - } - } - - remove { - lock (typeof(FirebaseDynamicLinks.Listener)) { - DynamicLinkReceivedInternal -= value; - CreateOrDestroyListener(); - } - } - } -#endif // DOXYGEN - - // Backing store for the DynamicLinkReceived event. - // This is called from FirebaseDynamicLinks.DynamicLinkReceivedMethod(). - internal static event System.EventHandler - DynamicLinkReceivedInternal; - - // Pass a dynamic link to the DynamicLinkReceivedInternal event. - internal static void NotifyDynamicLinkReceived(ReceivedDynamicLink dynamicLink) { - if (DynamicLinkReceivedInternal != null) { - DynamicLinkReceivedInternal(null, new ReceivedDynamicLinkEventArgs { - ReceivedDynamicLink = dynamicLink - }); - } - } - - /// Creates a shortened Dynamic Link from the given parameters. - /// - /// @param components The components that define the Dynamic Link to create - /// and shorten. - /// @param options Optionally provided options to tweak the short link generation. - /// If this is not specified the default behavior is for PathLength = PathLength.Unguessable. - /// - /// @deprecated Dynamic Links is now deprecated. Please see the support - /// documentation at https://firebase.google.com/support/dynamic-links-faq - /// for more information. - public static Task GetShortLinkAsync(DynamicLinkComponents components, - DynamicLinkOptions options) { - return ConvertFromInternalTask(FirebaseDynamicLinks.GetShortLinkInternalAsync( - components.ConvertToInternal(), options.ConvertToInternal())); - } - - /// Creates a shortened Dynamic Link from the given parameters. - /// - /// @param components The components that define the Dynamic Link to create - /// and shorten. - /// - /// @deprecated Dynamic Links is now deprecated. Please see the support - /// documentation at https://firebase.google.com/support/dynamic-links-faq - /// for more information. - public static Task GetShortLinkAsync(DynamicLinkComponents components) { - return GetShortLinkAsync(components, new DynamicLinkOptions()); - } - - /// Creates a shortened Dynamic Link from the given long dynamic link. - /// - /// @param url A properly-formatted long Dynamic Link to shorten. - /// @param options Optionally provided options to tweak the short link generation. - /// If this is not specified the default behavior is for PathLength = PathLength.Unguessable. - /// - /// @deprecated Dynamic Links is now deprecated. Please see the support - /// documentation at https://firebase.google.com/support/dynamic-links-faq - /// for more information. - public static Task GetShortLinkAsync(System.Uri longDynamicLink, - DynamicLinkOptions options) { - return ConvertFromInternalTask(FirebaseDynamicLinks.GetShortLinkInternalAsync( - Firebase.FirebaseApp.UriToUrlString(longDynamicLink), - options.ConvertToInternal())); - } - - /// Creates a shortened Dynamic Link from the given long dynamic link. - /// - /// @param url A properly-formatted long Dynamic Link to shorten. - /// - /// @deprecated Dynamic Links is now deprecated. Please see the support - /// documentation at https://firebase.google.com/support/dynamic-links-faq - /// for more information. - public static Task GetShortLinkAsync(System.Uri long_dynamic_link) { - return GetShortLinkAsync(long_dynamic_link, new DynamicLinkOptions()); - } - - // Generate a Task from Task. - private static Task ConvertFromInternalTask( - Task generatedDynamicLinkInternalTask) { - var taskCompletionSource = new System.Threading.Tasks.TaskCompletionSource(); - generatedDynamicLinkInternalTask.ContinueWith((taskInternal) => { - if (taskInternal.IsCanceled) { - taskCompletionSource.SetCanceled(); - } else if (taskInternal.IsFaulted) { - Firebase.Internal.TaskCompletionSourceCompat.SetException( - taskCompletionSource, taskInternal.Exception); - } else { - taskCompletionSource.SetResult(ShortDynamicLink.ConvertFromInternal(taskInternal.Result)); - } - }); - return taskCompletionSource.Task; - } - - // Create the listener if messaging events are set, otherwise destroy it. - private static void CreateOrDestroyListener() { - lock (typeof(FirebaseDynamicLinks.Listener)) { - if (DynamicLinkReceivedInternal != null) { - FirebaseDynamicLinks.Listener.Create(); - } else { - FirebaseDynamicLinks.Listener.Destroy(); - } - } - } -} - -} diff --git a/dynamic_links/src/GoogleAnalyticsParameters.cs b/dynamic_links/src/GoogleAnalyticsParameters.cs deleted file mode 100644 index 25bb7f47f..000000000 --- a/dynamic_links/src/GoogleAnalyticsParameters.cs +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief Google Analytics Parameters. -public class GoogleAnalyticsParameters { - /// The campaign source; used to identify a search engine, newsletter, - /// or other source. - public string Source { get; set; } - /// The campaign medium; used to identify a medium such as email or - /// cost-per-click (cpc). - public string Medium { get; set; } - /// The campaign name; The individual campaign name, slogan, promo code, - /// etc. for a product. - public string Campaign { get; set; } - /// The campaign term; used with paid search to supply the keywords for ads. - public string Term { get; set; } - /// The campaign content; used for A/B testing and content-targeted ads to - /// differentiate ads or links that point to the same URL. - public string Content { get; set; } -} - -} diff --git a/dynamic_links/src/IOSParameters.cs b/dynamic_links/src/IOSParameters.cs deleted file mode 100644 index 145ba8ee1..000000000 --- a/dynamic_links/src/IOSParameters.cs +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief iOS Parameters. -public class IOSParameters { - /// Constructs an IOS Parameters object with the given bundle id. - /// - /// @param bundleId The bundle ID of the iOS app to use to open the link. - /// The app must be connected to your project from the Overview page of the - /// Firebase console. - public IOSParameters(string bundleId) { - BundleId = bundleId; - } - - /// The parameters ID of the iOS app to use to open the link. The app must - /// be connected to your project from the Overview page of the Firebase - /// console. - public string BundleId { get; set; } - /// The link to open on iOS if the app is not installed. - /// - /// Specify this to do something other than install your app from the - /// App Store when the app isn't installed, such as open the mobile - /// web version of the content, or display a promotional page for your app. - public System.Uri FallbackUrl { get; set; } - /// The app's custom URL scheme, if defined to be something other than your - /// app's parameters ID. - public string CustomScheme { get; set; } - /// The link to open on iPad if the app is not installed. - /// - /// Overrides fallback_url when on iPad. - public System.Uri IPadFallbackUrl { get; set; } - /// The iPad parameters ID of the app. - public string IPadBundleId { get; set; } - /// The App Store ID, used to send users to the App Store when the app - /// isn't installed. - public string AppStoreId { get; set; } - /// The minimum version of your app that can open the link. - public string MinimumVersion { get; set; } -} - -} diff --git a/dynamic_links/src/ITunesConnectAnalyticsParameters.cs b/dynamic_links/src/ITunesConnectAnalyticsParameters.cs deleted file mode 100644 index 0bf45d3fe..000000000 --- a/dynamic_links/src/ITunesConnectAnalyticsParameters.cs +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief iTunes Connect App Analytics Parameters. -public class ITunesConnectAnalyticsParameters { - /// The provider token that enables analytics for Dynamic Links from - /// within iTunes Connect. - public string ProviderToken { get; set; } - /// The affiliate token used to create affiliate-coded links. - public string AffiliateToken { get; set; } - /// The campaign token that developers can add to any link in order to - /// track sales from a specific marketing campaign. - public string CampaignToken { get; set; } -} - -} diff --git a/dynamic_links/src/ReceivedDynamicLink.cs b/dynamic_links/src/ReceivedDynamicLink.cs deleted file mode 100644 index 79e2a9f6d..000000000 --- a/dynamic_links/src/ReceivedDynamicLink.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief The received Dynamic Link. -public sealed class ReceivedDynamicLink { - /// The URL that was passed to the app. - public System.Uri Url { get; internal set; } - /// The strength of the match for the link. - public LinkMatchStrength MatchStrength {get; internal set; } -} - -} diff --git a/dynamic_links/src/ReceivedDynamicLinkEventArgs.cs b/dynamic_links/src/ReceivedDynamicLinkEventArgs.cs deleted file mode 100644 index 174fea3a8..000000000 --- a/dynamic_links/src/ReceivedDynamicLinkEventArgs.cs +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief Passed to the DynamicLinks.DynamicLinkReceived event. -/// -/// The dynamic link received by the application is passed via these arguments to the -/// Firebase.DynamicLinks.DynamicLinks.DynamicLinkReceived event. -public sealed class ReceivedDynamicLinkEventArgs : System.EventArgs { - /// Dynamic link received by the application. - public ReceivedDynamicLink ReceivedDynamicLink { get; internal set; } -} - -} diff --git a/dynamic_links/src/ShortDynamicLink.cs b/dynamic_links/src/ShortDynamicLink.cs deleted file mode 100644 index fc691fa14..000000000 --- a/dynamic_links/src/ShortDynamicLink.cs +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -using System; -using System.Collections.Generic; - -namespace Firebase.DynamicLinks { - -/// @brief The returned value from creating a shortened Dynamic Link. -public sealed class ShortDynamicLink { - /// The short Dynamic Link value. - public System.Uri Url { get; private set; } - /// Information about potential warnings on link creation. - /// - /// Usually presence of warnings means parameter format errors, parameter - /// value errors, or missing parameters. - public IEnumerable Warnings { get; private set; } - - // Convert from GeneratedDynamicLinkInternal to a ShortDynamicLink. - internal static ShortDynamicLink ConvertFromInternal( - GeneratedDynamicLinkInternal generatedDynamicLink) { - if (!String.IsNullOrEmpty(generatedDynamicLink.error)) { - throw new Firebase.FirebaseException(0, generatedDynamicLink.error); - } - return new ShortDynamicLink { - Url = Firebase.FirebaseApp.UrlStringToUri(generatedDynamicLink.url), - Warnings = new List(generatedDynamicLink.warnings) - }; - } -} - -} diff --git a/dynamic_links/src/SocialMetaTagParameters.cs b/dynamic_links/src/SocialMetaTagParameters.cs deleted file mode 100644 index aa5b306c6..000000000 --- a/dynamic_links/src/SocialMetaTagParameters.cs +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -namespace Firebase.DynamicLinks { - -/// @brief Social meta-tag Parameters. -public class SocialMetaTagParameters { - /// The title to use when the Dynamic Link is shared in a social post. - public string Title { get; set; } - /// The description to use when the Dynamic Link is shared in a social post. - public string Description { get; set; } - /// The URL to an image related to this link. - public System.Uri ImageUrl { get; set; } -} - -} diff --git a/dynamic_links/src/swig/dynamic_links.i b/dynamic_links/src/swig/dynamic_links.i deleted file mode 100644 index 5d82944ec..000000000 --- a/dynamic_links/src/swig/dynamic_links.i +++ /dev/null @@ -1,339 +0,0 @@ -// Copyright 2017 Google Inc. All Rights Reserved. -// -// C# bindings for the Dynamic Links C++ interface. - -%module FirebaseDynamicLinks - -#ifdef USE_EXPORT_FIX -// Generate a function that we can reference to force linker -// to include the generated swig library symbols correctly -// see export_fix.cc for more details -%include "app/src/export_fix.h" -%{#include "app/src/export_fix.h"%} -#endif - -%pragma(csharp) moduleclassmodifiers="internal sealed class" -%feature("flatnested"); - -%import "app/src/swig/app.i" -%include "app/src/swig/future.i" -%include "app/src/swig/null_check_this.i" -%include "app/src/swig/serial_dispose.i" - -// Include require headers for the generated C++ module. -%{ -#include "app/src/callback.h" -#include "dynamic_links/src/include/firebase/dynamic_links.h" -#include "dynamic_links/src/include/firebase/dynamic_links/components.h" -%} - -// Rename all C# proxy classes for C++ objects and methods to *Internal so -// they're not exposed in the public interface. This leaves them available to -// use by the implementation in firebase/dynamic_links/client/unity/src. -%rename("AndroidParametersInternal") - firebase::dynamic_links::AndroidParameters; -%rename("DynamicLinkComponentsInternal") - firebase::dynamic_links::DynamicLinkComponents; -%rename("DynamicLinkOptionsInternal") - firebase::dynamic_links::DynamicLinkOptions; -%rename("GeneratedDynamicLinkInternal") - firebase::dynamic_links::GeneratedDynamicLink; -%rename("GoogleAnalyticsParametersInternal") - firebase::dynamic_links::GoogleAnalyticsParameters; -%rename("IOSParametersInternal") - firebase::dynamic_links::IOSParameters; -%rename("ITunesConnectAnalyticsParametersInternal") - firebase::dynamic_links::ITunesConnectAnalyticsParameters; -%rename("PathLengthInternal") - firebase::dynamic_links::PathLength; -%rename("SocialMetaTagParametersInternal") - firebase::dynamic_links::SocialMetaTagParameters; -%rename("GetShortLinkInternal") - firebase::dynamic_links::GetShortLink; -%rename("GetLongLinkInternal") - firebase::dynamic_links::GetLongLink; - -// SWIG's default typemaps for const char* properties is to allocate a string -// when assigning a value to them but to never deallocate the string. Override -// this behavior for all structures in dynamic links so that strings are -// deallocated we a new value is assigned. -%typemap(memberin) const char * { - delete[] ((char*)$1); - if ($input) { - $1 = ($1_type) (new char[strlen((const char *)$input)+1]); - strcpy((char *)$1, (const char *)$input); - } else { - $1 = 0; - } -} - -// Deallocate all strings in the dynamic links structures. -namespace firebase { -namespace dynamic_links { - -%extend AndroidParameters { - ~AndroidParameters() { - if ($self) { - delete[] ((char*)$self->package_name); - delete[] ((char*)$self->fallback_url); - delete $self; - } - } -} - -%extend DynamicLinkComponents { - ~DynamicLinkComponents() { - if ($self) { - delete[] ((char*)$self->link); - // Don't delete domain_uri_prefix if it points to the internal string. - if ($self->domain_uri_prefix != $self->domain_uri_prefix_with_scheme.c_str()) { - delete[] ((char*)$self->domain_uri_prefix); - } - delete $self; - } - } -} - -%extend GoogleAnalyticsParameters { - ~GoogleAnalyticsParameters() { - if ($self) { - delete[] ((char*)$self->source); - delete[] ((char*)$self->medium); - delete[] ((char*)$self->campaign); - delete[] ((char*)$self->term); - delete[] ((char*)$self->content); - delete $self; - } - } -} - -%extend IOSParameters { - ~IOSParameters() { - if ($self) { - delete[] ((char*)$self->bundle_id); - delete[] ((char*)$self->fallback_url); - delete[] ((char*)$self->custom_scheme); - delete[] ((char*)$self->ipad_fallback_url); - delete[] ((char*)$self->ipad_bundle_id); - delete[] ((char*)$self->app_store_id); - delete[] ((char*)$self->minimum_version); - delete $self; - } - } -} - -%extend ITunesConnectAnalyticsParameters { - ~ITunesConnectAnalyticsParameters() { - if ($self) { - delete[] ((char*)($self->provider_token)); - delete[] ((char*)($self->affiliate_token)); - delete[] ((char*)($self->campaign_token)); - delete $self; - } - } -} - -%extend SocialMetaTagParameters { - ~SocialMetaTagParameters() { - if ($self) { - delete[] ((char*)($self->title)); - delete[] ((char*)($self->description)); - delete[] ((char*)($self->image_url)); - delete $self; - } - } -} - -} // namespace dynamic_links -} // namespace firebase - -// Generate a Task wrapper around Future. -%SWIG_FUTURE(Future_GeneratedDynamicLinkInternal, GeneratedDynamicLinkInternal, - internal, firebase::dynamic_links::GeneratedDynamicLink, - FirebaseException) - -%include "dynamic_links/src/include/firebase/dynamic_links/components.h" - -%pragma(csharp) modulecode=%{ - internal class Listener : System.IDisposable { - internal delegate void DynamicLinkReceivedDelegate( - System.IntPtr dynamic_link_ptr); - - private DynamicLinkReceivedDelegate dynamicLinkReceivedDelegate = - new DynamicLinkReceivedDelegate(DynamicLinkReceivedMethod); - // Hold a reference to the default app until this object is finalized. - private FirebaseApp app = Firebase.FirebaseApp.DefaultInstance; - - // Listener singleton. - private static Listener listener; - - // Create the listener singleton. - internal static Listener Create() { - lock (typeof(Listener)) { - if (listener != null) return listener; - listener = new Listener(); - Platform.FirebaseHandler.DefaultInstance.ApplicationFocusChanged += - OnApplicationFocus; - return listener; - } - } - - // Destroy the listener singleton. - internal static void Destroy() { - lock (typeof(Listener)) { - if (listener == null) return; - Platform.FirebaseHandler.DefaultInstance.ApplicationFocusChanged -= - OnApplicationFocus; - listener.Dispose(); - listener = null; - } - } - - // Fetch invites when the application focus changes. - internal static void OnApplicationFocus( - object sender, - Platform.FirebaseHandler.ApplicationFocusChangedEventArgs - eventArgs) { - if (eventArgs.HasFocus) { - LogUtil.LogMessage(Firebase.LogLevel.Debug, - "Fetch Pending Dynamic Links"); - FirebaseDynamicLinks.Fetch(); - } - } - - // Setup callbacks from the ListenerImplC ++ class to this object. - private Listener() { - FirebaseDynamicLinks.SetListenerCallbacks(dynamicLinkReceivedDelegate); - } - - // Disconnect callbacks from ListenerImpl. - public void Dispose() { - lock (typeof(Listener)) { - if (listener == this) { - System.Diagnostics.Debug.Assert(app != null); - app = null; - FirebaseDynamicLinks.SetListenerCallbacks(null); - listener = null; - } - } - } - - // Called from ListenerImpl::OnDynamicLinkReceived() via the - // dynamicLinkReceivedDelegate. - [MonoPInvokeCallback(typeof(DynamicLinkReceivedDelegate))] - private static void DynamicLinkReceivedMethod( - System.IntPtr dynamic_link_ptr) { - ExceptionAggregator.Wrap(() => { - Firebase.DynamicLinks.DynamicLinks.NotifyDynamicLinkReceived( - new ReceivedDynamicLink { - Url = Firebase.FirebaseApp.UrlStringToUri( - DynamicLinkGetUrl(dynamic_link_ptr)), - MatchStrength = DynamicLinkGetMatchStrength(dynamic_link_ptr) - }); - }); - } - } -%} - -%{ -namespace firebase { -namespace dynamic_links { - -// C++ implementation of the Listener interface that forwards links to the -// C# layer via the main thread. -class ListenerImpl : public Listener { - public: - // Function which is used to reference a C# delegate called from the - // OnDynamicLinkReceived() method of this class. SWIGSTDCALL is used here as - // C# delegates *must* be called using the stdcall calling convention rather - // than whatever the compiler defines. - typedef void (SWIGSTDCALL *DynamicLinkReceivedCallback)( - const DynamicLink* dynamic_link); - - // Called when a dynamic link arrives. - void OnDynamicLinkReceived(const DynamicLink* dynamic_link) override { - if (g_dynamic_link_received_callback) { - callback::AddCallback(new callback::Callback1( - *dynamic_link, DynamicLinkReceived)); - } - } - - // Set C# delegates that should be called by this class. - // This should only be called on the main thread. - static void SetCallbacks(DynamicLinkReceivedCallback dynamic_link_received) { - g_dynamic_link_received_callback = dynamic_link_received; - auto *previous_listener = firebase::dynamic_links::SetListener( - g_dynamic_link_received_callback ? new ListenerImpl : nullptr); - if (previous_listener) delete previous_listener; - } - - private: - // Called on the main thread. This method is called prior to the C# delegate - // as we need to convert the calling convention to stdcall. - static void DynamicLinkReceived(void* dynamic_link) { - if (g_dynamic_link_received_callback) { - g_dynamic_link_received_callback( - reinterpret_cast(dynamic_link)); - } - } - private: - // C# delegate. - static DynamicLinkReceivedCallback g_dynamic_link_received_callback; -}; - -ListenerImpl::DynamicLinkReceivedCallback - ListenerImpl::g_dynamic_link_received_callback = nullptr; - -// Accessors for the DynamicLink struct. -// These methods are used in preference to generating a complete proxy object -// to just read the fields of the struct. -static std::string DynamicLinkGetUrl(const void* dynamic_link) { - return reinterpret_cast(dynamic_link)->url; -} - -static dynamic_links::LinkMatchStrength DynamicLinkGetMatchStrength(const void* dynamic_link) { - return reinterpret_cast(dynamic_link)->match_strength; -} - -static void SetListenerCallbacks( - firebase::dynamic_links::ListenerImpl::DynamicLinkReceivedCallback - received_callback) { - ListenerImpl::SetCallbacks(received_callback); -} - -} // namespace dynamic_links -} // namespace firebase -%} - -// Tell swig that the callbacks and delegates are equivalent. -SWIG_MAP_CFUNC_TO_CSDELEGATE( - firebase::dynamic_links::ListenerImpl::DynamicLinkReceivedCallback, - Firebase.DynamicLinks.FirebaseDynamicLinks.Listener.DynamicLinkReceivedDelegate) - -// All classes and methods of the dynamic links API do not need to be exposed to -// the end user. -%ignore firebase::dynamic_links::DynamicLink; -%ignore firebase::dynamic_links::Listener; -%ignore firebase::dynamic_links::Initialize; -%ignore firebase::dynamic_links::Terminate; -%ignore firebase::dynamic_links::SetListener; - -namespace firebase { -namespace dynamic_links { -// Expose this via FirebaseDynamicLinks.Fetch(). -%csmethodmodifiers Fetch "internal"; - -%csmethodmodifiers SetListenerCallbacks "internal"; -void SetListenerCallbacks( - firebase::dynamic_links::ListenerImpl::DynamicLinkReceivedCallback - received_callback); - -%csmethodmodifiers DynamicLinkGetUrl "internal"; -static std::string DynamicLinkGetUrl(const void* dynamic_link); - -%csmethodmodifiers DynamicLinkGetMatchStrength "internal"; -static dynamic_links::LinkMatchStrength DynamicLinkGetMatchStrength(const void* dynamic_link); -} // namespace invites -} // namespace firebase - -%include "dynamic_links/src/include/firebase/dynamic_links.h" diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainScene.unity b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainScene.unity deleted file mode 100644 index 3ca78a29c..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainScene.unity +++ /dev/null @@ -1,214 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!29 &1 -SceneSettings: - m_ObjectHideFlags: 0 - m_PVSData: - m_PVSObjectsArray: [] - m_PVSPortalsArray: [] - m_OcclusionBakeSettings: - smallestOccluder: 5 - smallestHole: 0.25 - backfaceThreshold: 100 ---- !u!104 &2 -RenderSettings: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_Fog: 0 - m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - m_FogMode: 3 - m_FogDensity: 0.01 - m_LinearFogStart: 0 - m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} - m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} - m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 0 - m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} - m_HaloStrength: 0.5 - m_FlareStrength: 1 - m_FlareFadeSpeed: 3 - m_HaloTexture: {fileID: 0} - m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} - m_DefaultReflectionMode: 0 - m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 - m_ReflectionIntensity: 1 - m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} ---- !u!157 &3 -LightmapSettings: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_GIWorkflowMode: 1 - m_GISettings: - serializedVersion: 2 - m_BounceScale: 1 - m_IndirectOutputScale: 1 - m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 - m_EnvironmentLightingMode: 0 - m_EnableBakedLightmaps: 1 - m_EnableRealtimeLightmaps: 1 - m_LightmapEditorSettings: - serializedVersion: 4 - m_Resolution: 2 - m_BakeResolution: 40 - m_TextureWidth: 1024 - m_TextureHeight: 1024 - m_AO: 0 - m_AOMaxDistance: 1 - m_CompAOExponent: 1 - m_CompAOExponentDirect: 0 - m_Padding: 2 - m_LightmapParameters: {fileID: 0} - m_LightmapsBakeMode: 1 - m_TextureCompression: 1 - m_DirectLightInLightProbes: 1 - m_FinalGather: 0 - m_FinalGatherFiltering: 1 - m_FinalGatherRayCount: 256 - m_ReflectionCompression: 2 - m_LightingDataAsset: {fileID: 0} - m_RuntimeCPUUsage: 25 ---- !u!196 &4 -NavMeshSettings: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_BuildSettings: - serializedVersion: 2 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.4 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - accuratePlacement: 0 - minRegionArea: 2 - cellSize: 0.16666667 - manualCellSize: 0 - m_NavMeshData: {fileID: 0} ---- !u!1 &313059688 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 313059689} - - 114: {fileID: 313059690} - m_Layer: 0 - m_Name: UIHandler - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &313059689 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 313059688} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 ---- !u!114 &313059690 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 313059688} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 552814c88c97f5b43aa5620a0617749b, type: 3} - m_Name: - m_EditorClassIdentifier: - fb_GUISkin: {fileID: 11400000, guid: 14ab14e9b97f743dca62b51e1e369f07, type: 2} - firebaseInitialized: 0 - kDynamicLinksDomain: fwk68.app.goo.gl ---- !u!1 &1408554385 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 1408554390} - - 20: {fileID: 1408554389} - - 124: {fileID: 1408554387} - - 81: {fileID: 1408554386} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &1408554386 -AudioListener: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1408554385} - m_Enabled: 1 ---- !u!124 &1408554387 -Behaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1408554385} - m_Enabled: 1 ---- !u!20 &1408554389 -Camera: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1408554385} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 2 - m_BackGroundColor: {r: 0.9063581, g: 0.93133646, b: 0.9705882, a: 0.019607844} - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 1 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 ---- !u!4 &1408554390 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1408554385} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainScene.unity.meta b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainScene.unity.meta deleted file mode 100644 index 7ab6a1960..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainScene.unity.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2178d4f32b4f57f46bbc1d01a49f38f4 -timeCreated: 1534893676 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainSceneAutomated.unity b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainSceneAutomated.unity deleted file mode 100644 index 90a0f380d..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainSceneAutomated.unity +++ /dev/null @@ -1,215 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!29 &1 -SceneSettings: - m_ObjectHideFlags: 0 - m_PVSData: - m_PVSObjectsArray: [] - m_PVSPortalsArray: [] - m_OcclusionBakeSettings: - smallestOccluder: 5 - smallestHole: 0.25 - backfaceThreshold: 100 ---- !u!104 &2 -RenderSettings: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_Fog: 0 - m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - m_FogMode: 3 - m_FogDensity: 0.01 - m_LinearFogStart: 0 - m_LinearFogEnd: 300 - m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} - m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} - m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} - m_AmbientIntensity: 1 - m_AmbientMode: 0 - m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} - m_HaloStrength: 0.5 - m_FlareStrength: 1 - m_FlareFadeSpeed: 3 - m_HaloTexture: {fileID: 0} - m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} - m_DefaultReflectionMode: 0 - m_DefaultReflectionResolution: 128 - m_ReflectionBounces: 1 - m_ReflectionIntensity: 1 - m_CustomReflection: {fileID: 0} - m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} ---- !u!157 &3 -LightmapSettings: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_GIWorkflowMode: 1 - m_GISettings: - serializedVersion: 2 - m_BounceScale: 1 - m_IndirectOutputScale: 1 - m_AlbedoBoost: 1 - m_TemporalCoherenceThreshold: 1 - m_EnvironmentLightingMode: 0 - m_EnableBakedLightmaps: 1 - m_EnableRealtimeLightmaps: 1 - m_LightmapEditorSettings: - serializedVersion: 4 - m_Resolution: 2 - m_BakeResolution: 40 - m_TextureWidth: 1024 - m_TextureHeight: 1024 - m_AO: 0 - m_AOMaxDistance: 1 - m_CompAOExponent: 1 - m_CompAOExponentDirect: 0 - m_Padding: 2 - m_LightmapParameters: {fileID: 0} - m_LightmapsBakeMode: 1 - m_TextureCompression: 1 - m_DirectLightInLightProbes: 1 - m_FinalGather: 0 - m_FinalGatherFiltering: 1 - m_FinalGatherRayCount: 256 - m_ReflectionCompression: 2 - m_LightingDataAsset: {fileID: 0} - m_RuntimeCPUUsage: 25 ---- !u!196 &4 -NavMeshSettings: - serializedVersion: 2 - m_ObjectHideFlags: 0 - m_BuildSettings: - serializedVersion: 2 - agentRadius: 0.5 - agentHeight: 2 - agentSlope: 45 - agentClimb: 0.4 - ledgeDropHeight: 0 - maxJumpAcrossDistance: 0 - accuratePlacement: 0 - minRegionArea: 2 - cellSize: 0.16666667 - manualCellSize: 0 - m_NavMeshData: {fileID: 0} ---- !u!1 &685799119 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 685799124} - - 20: {fileID: 685799123} - - 124: {fileID: 685799121} - - 81: {fileID: 685799120} - m_Layer: 0 - m_Name: Main Camera - m_TagString: MainCamera - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!81 &685799120 -AudioListener: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 685799119} - m_Enabled: 1 ---- !u!124 &685799121 -Behaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 685799119} - m_Enabled: 1 ---- !u!20 &685799123 -Camera: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 685799119} - m_Enabled: 1 - serializedVersion: 2 - m_ClearFlags: 2 - m_BackGroundColor: {r: 0.6903655, g: 0.8076244, b: 0.8308824, a: 0.019607844} - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 1 - orthographic size: 5 - m_Depth: -1 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 - m_StereoMirrorMode: 0 ---- !u!4 &685799124 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 685799119} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 ---- !u!1 &1389047818 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 4: {fileID: 1389047819} - - 114: {fileID: 1389047820} - m_Layer: 0 - m_Name: UIHandlerAutomated - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1389047819 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1389047818} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 1, z: -10} - m_LocalScale: {x: 1, y: 1, z: 1} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 ---- !u!114 &1389047820 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1389047818} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 278a46f295f22004fbdd444eaddab230, type: 3} - m_Name: - m_EditorClassIdentifier: - fb_GUISkin: {fileID: 11400000, guid: 14ab14e9b97f743dca62b51e1e369f07, type: 2} - firebaseInitialized: 0 - kDynamicLinksDomain: fwk68.app.goo.gl - kAutomatedDynamicLinksDomain: fwk68.app.goo.gl diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainSceneAutomated.unity.meta b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainSceneAutomated.unity.meta deleted file mode 100644 index 30dea2077..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/MainSceneAutomated.unity.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 23fe06b4c27798045a1bacb0969ddb9e -timeCreated: 1534893686 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandler.cs b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandler.cs deleted file mode 100644 index de1e704e6..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandler.cs +++ /dev/null @@ -1,260 +0,0 @@ -// Copyright 2017 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Firebase.Sample.DynamicLinks { - using Firebase; - using Firebase.DynamicLinks; - using Firebase.Extensions; - using System; - using System.Collections; - using System.Threading.Tasks; - using UnityEngine; - - // Handler for UI buttons on the scene. Also performs some - // necessary setup (initializing the firebase app, etc) on - // startup. - public class UIHandler : MonoBehaviour { - - public GUISkin fb_GUISkin; - private Vector2 controlsScrollViewVector = Vector2.zero; - private Vector2 scrollViewVector = Vector2.zero; - bool UIEnabled = true; - private string logText = ""; - const int kMaxLogSize = 16382; - DependencyStatus dependencyStatus = DependencyStatus.UnavailableOther; - const string kInvalidDomainUriPrefix = "THIS_IS_AN_INVALID_DOMAIN"; - const string kDomainUriPrefixInvalidError = - "kDomainUriPrefix is not valid, link shortening will fail.\n" + - "To resolve this:\n" + - "* Goto the Firebase console https://firebase.google.com/console/\n" + - "* Click on the Dynamic Links tab\n" + - "* Copy the domain e.g x20yz.app.goo.gl\n" + - "* Replace the value of kDomainUriPrefix with the copied domain.\n"; - public bool firebaseInitialized = false; - - // IMPORTANT: You need to set this to a valid domain from the Firebase - // console (see kDomainUriPrefixInvalidError for the details). - public string kDomainUriPrefix = "REPLACE_WITH_YOUR_URI_PREFIX"; - - // When the app starts, check to make sure that we have - // the required dependencies to use Firebase, and if not, - // add them if possible. - public virtual void Start() { - FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task => { - dependencyStatus = task.Result; - if (dependencyStatus == DependencyStatus.Available) { - InitializeFirebase(); - } else { - Debug.LogError( - "Could not resolve all Firebase dependencies: " + dependencyStatus); - } - }); - } - - // Exit if escape (or back, on mobile) is pressed. - public virtual void Update() { - if (Input.GetKeyDown(KeyCode.Escape)) { - Application.Quit(); - } - } - - // Handle initialization of the necessary firebase modules: - void InitializeFirebase() { - DynamicLinks.DynamicLinkReceived += OnDynamicLink; - firebaseInitialized = true; - } - - void OnDestroy() { - DynamicLinks.DynamicLinkReceived -= OnDynamicLink; - } - - // Display the dynamic link received by the application. - void OnDynamicLink(object sender, EventArgs args) { - var dynamicLinkEventArgs = args as ReceivedDynamicLinkEventArgs; - DebugLog(String.Format("Received dynamic link {0}", - dynamicLinkEventArgs.ReceivedDynamicLink.Url.OriginalString)); - } - - // Output text to the debug log text field, as well as the console. - public void DebugLog(string s) { - print(s); - logText += s + "\n"; - - while (logText.Length > kMaxLogSize) { - int index = logText.IndexOf("\n"); - logText = logText.Substring(index + 1); - } - - scrollViewVector.y = int.MaxValue; - } - - public void DisableUI() { - UIEnabled = false; - } - - public void EnableUI() { - UIEnabled = true; - } - - // Render the log output in a scroll view. - void GUIDisplayLog() { - scrollViewVector = GUILayout.BeginScrollView(scrollViewVector); - GUILayout.Label(logText); - GUILayout.EndScrollView(); - } - - DynamicLinkComponents CreateDynamicLinkComponents() { -#if UNITY_5_6_OR_NEWER - string appIdentifier = Application.identifier; -#else - string appIdentifier = Application.bundleIdentifier; -#endif - - return new DynamicLinkComponents( - // The base Link. This should be in your allowlist in the Firebase console. - new System.Uri("https://google.com/abc"), - // The dynamic link domain. - kDomainUriPrefix) { - GoogleAnalyticsParameters = new Firebase.DynamicLinks.GoogleAnalyticsParameters() { - Source = "mysource", - Medium = "mymedium", - Campaign = "mycampaign", - Term = "myterm", - Content = "mycontent" - }, - IOSParameters = new Firebase.DynamicLinks.IOSParameters(appIdentifier) { - FallbackUrl = new System.Uri("https://google.com/fallback"), - CustomScheme = "mycustomscheme", - MinimumVersion = "1.2.3", - IPadBundleId = appIdentifier, - IPadFallbackUrl = new System.Uri("https://google.com/fallbackipad") - }, - ITunesConnectAnalyticsParameters = - new Firebase.DynamicLinks.ITunesConnectAnalyticsParameters() { - AffiliateToken = "abcdefg", - CampaignToken = "hijklmno", - ProviderToken = "pq-rstuv" - }, - AndroidParameters = new Firebase.DynamicLinks.AndroidParameters(appIdentifier) { - FallbackUrl = new System.Uri("https://google.com/fallback"), - MinimumVersion = 12 - }, - SocialMetaTagParameters = new Firebase.DynamicLinks.SocialMetaTagParameters() { - Title = "My App!", - Description = "My app is awesome!", - ImageUrl = new System.Uri("https://google.com/someimage.jpg") - }, - }; - } - - public Uri CreateAndDisplayLongLink() { - var longLink = CreateDynamicLinkComponents().LongDynamicLink; - DebugLog(String.Format("Long dynamic link {0}", longLink)); - return longLink; - } - - public Task CreateAndDisplayShortLinkAsync() { - return CreateAndDisplayShortLinkAsync(new DynamicLinkOptions()); - } - - public Task CreateAndDisplayUnguessableShortLinkAsync() { - return CreateAndDisplayShortLinkAsync(new DynamicLinkOptions { - PathLength = DynamicLinkPathLength.Unguessable - }); - } - - private Task CreateAndDisplayShortLinkAsync(DynamicLinkOptions options) { - if (kDomainUriPrefix == kInvalidDomainUriPrefix) { - DebugLog(kDomainUriPrefixInvalidError); - var source = new TaskCompletionSource(); - source.TrySetException(new Exception(kDomainUriPrefixInvalidError)); - return source.Task; - } - - var components = CreateDynamicLinkComponents(); - return DynamicLinks.GetShortLinkAsync(components, options) - .ContinueWithOnMainThread((task) => { - if (task.IsCanceled) { - DebugLog("Short link creation canceled"); - } else if (task.IsFaulted) { - DebugLog(String.Format("Short link creation failed {0}", task.Exception.ToString())); - } else { - ShortDynamicLink link = task.Result; - DebugLog(String.Format("Generated short link {0}", link.Url)); - var warnings = new System.Collections.Generic.List(link.Warnings); - if (warnings.Count > 0) { - DebugLog("Warnings:"); - foreach (var warning in warnings) { - DebugLog(" " + warning); - } - } - } - return task.Result; - }); - } - - // Render the buttons and other controls. - void GUIDisplayControls() { - if (UIEnabled) { - controlsScrollViewVector = - GUILayout.BeginScrollView(controlsScrollViewVector); - GUILayout.BeginVertical(); - - if (GUILayout.Button("Display Long Link")) { - CreateAndDisplayLongLink(); - } - - if (GUILayout.Button("Create Short Link")) { - CreateAndDisplayShortLinkAsync(); - } - - if (GUILayout.Button("Create Unguessable Short Link")) { - CreateAndDisplayUnguessableShortLinkAsync(); - } - - GUILayout.EndVertical(); - GUILayout.EndScrollView(); - } - } - - // Render the GUI: - void OnGUI() { - GUI.skin = fb_GUISkin; - if (dependencyStatus != DependencyStatus.Available) { - GUILayout.Label("One or more Firebase dependencies are not present."); - GUILayout.Label("Current dependency status: " + dependencyStatus.ToString()); - return; - } - Rect logArea, controlArea; - - if (Screen.width < Screen.height) { - // Portrait mode - controlArea = new Rect(0.0f, 0.0f, Screen.width, Screen.height * 0.5f); - logArea = new Rect(0.0f, Screen.height * 0.5f, Screen.width, Screen.height * 0.5f); - } else { - // Landscape mode - controlArea = new Rect(0.0f, 0.0f, Screen.width * 0.5f, Screen.height); - logArea = new Rect(Screen.width * 0.5f, 0.0f, Screen.width * 0.5f, Screen.height); - } - - GUILayout.BeginArea(logArea); - GUIDisplayLog(); - GUILayout.EndArea(); - - GUILayout.BeginArea(controlArea); - GUIDisplayControls(); - GUILayout.EndArea(); - } - } -} diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandler.cs.meta b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandler.cs.meta deleted file mode 100644 index 41ece7554..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandler.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 552814c88c97f5b43aa5620a0617749b -timeCreated: 1534893606 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandlerAutomated.cs b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandlerAutomated.cs deleted file mode 100644 index 6723b55cf..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandlerAutomated.cs +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2017 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -namespace Firebase.Sample.DynamicLinks { - using Firebase.Extensions; - using System; - using System.Collections.Generic; - using System.Linq; - using System.Text.RegularExpressions; - using System.Threading.Tasks; - using UnityEngine; - - using Firebase.DynamicLinks; - - public class UIHandlerAutomated : UIHandler { - public string kAutomatedDomainUriPrefix = "REPLACE_WITH_YOUR_URI_PREFIX"; - - private string urlHost; - private Firebase.Sample.AutomatedTestRunner testRunner; - - public override void Start() { - Func[] tests = { - TestCreateLongLinkAsync, -// TODO(b/264533368) Enable theses tests when the issue has been fixed. -#if (UNITY_ANDROID || UNITY_IOS) - // Link shortening does not work on desktop builds, so only test that for mobile. - TestCreateShortLinkAsync, - TestCreateUnguessableShortLinkAsync, -#endif // !UNITY_EDITOR - }; - testRunner = AutomatedTestRunner.CreateTestRunner( - testsToRun: tests, - logFunc: DebugLog - ); - - urlHost = kAutomatedDomainUriPrefix; - base.kDomainUriPrefix = kAutomatedDomainUriPrefix; - base.DisableUI(); - base.Start(); - } - - public override void Update() { - base.Update(); - if (firebaseInitialized) testRunner.Update(); - } - - Task TestCreateLongLinkAsync() { - Func> extractUrlParams = (url) => { - var pattern = new Regex("[?&](?[^=]+)=(?[^&]+)"); - var result = new Dictionary(); - foreach (Match m in pattern.Matches(url)) { - result.Add(m.Groups["name"].Value, m.Groups["value"].Value); - } - return result; - }; - - // Dynamic Links uses the Application identifier for some of the fields. - // Note that on Windows and Linux desktop, this field will likely be empty. - string identifier = Application.identifier; - - // This is taken from the values given in UIHandler. - var expected = - urlHost + "/?afl=https://google.com/fallback&" + - "amv=12&apn=" + identifier + "&at=abcdefg&ct=hijklmno&" + - "ibi=" + identifier + "&ifl=https://google.com/fallback&imv=1.2.3&" + - "ipbi=" + identifier + "&" + - "ipfl=https://google.com/fallbackipad&ius=mycustomscheme&link=https://google.com/abc&" + - "pt=pq-rstuv&sd=My app is awesome!&si=https://google.com/someimage.jpg&st=My App!&" + - "utm_campaign=mycampaign&utm_content=mycontent&utm_medium=mymedium&utm_source=mysource&" + - "utm_term=myterm"; - // The order of URL parameters is different between desktop and mobile implementations, and - // can't be relied upon. - var expectedParams = extractUrlParams(expected); - - var source = new TaskCompletionSource(); - try { - var result = Uri.UnescapeDataString(CreateAndDisplayLongLink().ToString()); - var resultHost = new Regex("/\\?").Split(result)[0]; - var sameHost = resultHost == urlHost; - var resultParams = extractUrlParams(result); - var sameParams = expectedParams.Keys.All(k => resultParams.ContainsKey(k) && - object.Equals(expectedParams[k], resultParams[k])); - - if (sameHost && sameParams) { - source.TrySetResult(result); - } else { - List differences = new List(); - differences.Add("The generated long link doesn't match the expected result."); - if (!sameHost) { - differences.Add(String.Format( - "Url Host:\n" + - " Expected: {0}\n" + - " Actual: {1}", urlHost, resultHost)); - } - if (!sameParams) { - var diffParams = expectedParams.Keys.Where(k => !(resultParams.ContainsKey(k) && - object.Equals(expectedParams[k], resultParams[k]))); - foreach (var key in diffParams) { - differences.Add(String.Format( - "{0}: \n" + - " Expected: {1}\n" + - " Actual: {2}", key, expectedParams[key], - resultParams.ContainsKey(key) ? resultParams[key] : "(missing key)")); - } - } - source.TrySetException(new Exception(String.Join("\n", differences.ToArray()))); - } - } catch (Exception e) { - source.TrySetException(e); - } - - return source.Task; - } - - // This is an ad-hoc sanity check that the shortened URL looks like the correct host followed - // by a bunch of alphanumeric characters as path. - void CheckShortLinkIsValid(string result) { - if (!Regex.IsMatch(result, urlHost + "/[a-zA-Z0-9]+")) { - throw new Exception( - String.Format("The generated link {0} doesn't look right", result)); - } - } - - Task TestCreateShortLinkAsync() { - return CreateAndDisplayShortLinkAsync().ContinueWithOnMainThread(task => { - var result = task.Result.Url.ToString(); - CheckShortLinkIsValid(result); - DebugLog(String.Format("TestCreateShortLink: {0}", result)); - }); - } - - Task TestCreateUnguessableShortLinkAsync() { - return CreateAndDisplayUnguessableShortLinkAsync().ContinueWithOnMainThread(task => { - var result = task.Result.Url.ToString(); - CheckShortLinkIsValid(result); - DebugLog(String.Format("TestCreateUnguessableShortLink: {0}", result)); - }); - } - } -} diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandlerAutomated.cs.meta b/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandlerAutomated.cs.meta deleted file mode 100644 index 6b57461ca..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/DynamicLinks/UIHandlerAutomated.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 278a46f295f22004fbdd444eaddab230 -timeCreated: 1534893606 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/GuiSkin.guiskin b/dynamic_links/testapp/Assets/Firebase/Sample/GuiSkin.guiskin deleted file mode 100644 index cdde0ea99..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/GuiSkin.guiskin +++ /dev/null @@ -1,1427 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 1 - m_Script: {fileID: 12001, guid: 0000000000000000e000000000000000, type: 0} - m_Name: GuiSkin - m_EditorClassIdentifier: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_box: - m_Name: box - m_Normal: - m_Background: {fileID: 11001, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 1 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_button: - m_Name: button - m_Normal: - m_Background: {fileID: 11006, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Hover: - m_Background: {fileID: 11003, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Active: - m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnNormal: - m_Background: {fileID: 11005, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9019608, g: 0.9019608, b: 0.9019608, a: 1} - m_OnHover: - m_Background: {fileID: 11004, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnActive: - m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 4 - m_Margin: - m_Left: 15 - m_Right: 15 - m_Top: 15 - m_Bottom: 15 - m_Padding: - m_Left: 6 - m_Right: 6 - m_Top: 30 - m_Bottom: 30 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 45 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_toggle: - m_Name: toggle - m_Normal: - m_Background: {fileID: 11018, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.89112896, g: 0.89112896, b: 0.89112896, a: 1} - m_Hover: - m_Background: {fileID: 11014, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Active: - m_Background: {fileID: 11013, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11016, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.8901961, g: 0.8901961, b: 0.8901961, a: 1} - m_OnHover: - m_Background: {fileID: 11015, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnActive: - m_Background: {fileID: 11017, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 14 - m_Right: 0 - m_Top: 14 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 15 - m_Right: 0 - m_Top: 3 - m_Bottom: 0 - m_Overflow: - m_Left: -1 - m_Right: 0 - m_Top: -4 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_label: - m_Name: label - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 45 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_textField: - m_Name: textfield - m_Normal: - m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Hover: - m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnNormal: - m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Margin: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Padding: - m_Left: 10 - m_Right: 10 - m_Top: 10 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 60 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_textArea: - m_Name: textarea - m_Normal: - m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9019608, g: 0.9019608, b: 0.9019608, a: 1} - m_Hover: - m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_window: - m_Name: window - m_Normal: - m_Background: {fileID: 11023, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11022, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 8 - m_Right: 8 - m_Top: 18 - m_Bottom: 8 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 10 - m_Right: 10 - m_Top: 20 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 1 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: -18} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalSlider: - m_Name: horizontalslider - m_Normal: - m_Background: {fileID: 11009, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 3 - m_Right: 3 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -2 - m_Bottom: -3 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 12 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalSliderThumb: - m_Name: horizontalsliderthumb - m_Normal: - m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 7 - m_Right: 7 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 12 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalSlider: - m_Name: verticalslider - m_Normal: - m_Background: {fileID: 11021, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: -1 - m_Overflow: - m_Left: -2 - m_Right: -3 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 12 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_verticalSliderThumb: - m_Name: verticalsliderthumb - m_Normal: - m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 7 - m_Bottom: 7 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: -1 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 12 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_horizontalScrollbar: - m_Name: horizontalscrollbar - m_Normal: - m_Background: {fileID: 11008, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 9 - m_Right: 9 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 1 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 60 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarThumb: - m_Name: horizontalscrollbarthumb - m_Normal: - m_Background: {fileID: 11007, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 6 - m_Right: 6 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: 1 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarLeftButton: - m_Name: horizontalscrollbarleftbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarRightButton: - m_Name: horizontalscrollbarrightbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbar: - m_Name: verticalscrollbar - m_Normal: - m_Background: {fileID: 11020, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 9 - m_Bottom: 9 - m_Margin: - m_Left: 1 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 1 - m_Bottom: 1 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 60 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbarThumb: - m_Name: verticalscrollbarthumb - m_Normal: - m_Background: {fileID: 11019, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 6 - m_Bottom: 6 - m_Overflow: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_verticalScrollbarUpButton: - m_Name: verticalscrollbarupbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbarDownButton: - m_Name: verticalscrollbardownbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_ScrollView: - m_Name: scrollview - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_CustomStyles: - - m_Name: - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_Settings: - m_DoubleClickSelectsWord: 1 - m_TripleClickSelectsLine: 1 - m_CursorColor: {r: 1, g: 1, b: 1, a: 1} - m_CursorFlashSpeed: -1 - m_SelectionColor: {r: 1, g: 0.38403907, b: 0, a: 0.7} diff --git a/dynamic_links/testapp/Assets/Firebase/Sample/GuiSkin.guiskin.meta b/dynamic_links/testapp/Assets/Firebase/Sample/GuiSkin.guiskin.meta deleted file mode 100644 index 520fae49d..000000000 --- a/dynamic_links/testapp/Assets/Firebase/Sample/GuiSkin.guiskin.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 14ab14e9b97f743dca62b51e1e369f07 -timeCreated: 1474935020 -licenseType: Pro -NativeFormatImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/AndroidManifest.xml b/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/AndroidManifest.xml deleted file mode 100644 index 208d18614..000000000 --- a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/AndroidManifest.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/AndroidManifest.xml.meta b/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/AndroidManifest.xml.meta deleted file mode 100644 index b9311b893..000000000 --- a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/AndroidManifest.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 60cc569d252584c2f87d60e217eb1a2c -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/project.properties b/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/project.properties deleted file mode 100755 index 6a402b0cf..000000000 --- a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/project.properties +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (C) 2019 Google Inc. All Rights Reserved. -# -# Together with an AndroidManifest, placing this file into a directory tells Unity -# that the directory is an Android library. Unity will then merge the manifest into -# the main manifest. - -android.library=true diff --git a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/project.properties.meta b/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/project.properties.meta deleted file mode 100644 index dcd462066..000000000 --- a/dynamic_links/testapp/Assets/Plugins/Android/GameLoops.androidlib/project.properties.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 60bff5e3ec31645e19c842d1b1ae7ddf -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/dynamic_links/testapp/ProjectSettings/AudioManager.asset b/dynamic_links/testapp/ProjectSettings/AudioManager.asset deleted file mode 100644 index faf901c3e..000000000 --- a/dynamic_links/testapp/ProjectSettings/AudioManager.asset +++ /dev/null @@ -1,15 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!11 &1 -AudioManager: - m_ObjectHideFlags: 0 - m_Volume: 1 - Rolloff Scale: 1 - Doppler Factor: 1 - Default Speaker Mode: 2 - m_SampleRate: 0 - m_DSPBufferSize: 0 - m_VirtualVoiceCount: 512 - m_RealVoiceCount: 32 - m_SpatializerPlugin: - m_DisableAudio: 0 diff --git a/dynamic_links/testapp/ProjectSettings/ClusterInputManager.asset b/dynamic_links/testapp/ProjectSettings/ClusterInputManager.asset deleted file mode 100644 index e7886b266..000000000 --- a/dynamic_links/testapp/ProjectSettings/ClusterInputManager.asset +++ /dev/null @@ -1,6 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!236 &1 -ClusterInputManager: - m_ObjectHideFlags: 0 - m_Inputs: [] diff --git a/dynamic_links/testapp/ProjectSettings/DynamicsManager.asset b/dynamic_links/testapp/ProjectSettings/DynamicsManager.asset deleted file mode 100644 index 3534236e5..000000000 --- a/dynamic_links/testapp/ProjectSettings/DynamicsManager.asset +++ /dev/null @@ -1,15 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!55 &1 -PhysicsManager: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Gravity: {x: 0, y: -9.81, z: 0} - m_DefaultMaterial: {fileID: 0} - m_BounceThreshold: 2 - m_SleepThreshold: 0.005 - m_DefaultContactOffset: 0.01 - m_SolverIterationCount: 6 - m_QueriesHitTriggers: 1 - m_EnableAdaptiveForce: 0 - m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/dynamic_links/testapp/ProjectSettings/EditorBuildSettings.asset b/dynamic_links/testapp/ProjectSettings/EditorBuildSettings.asset deleted file mode 100644 index 6dc24f7df..000000000 --- a/dynamic_links/testapp/ProjectSettings/EditorBuildSettings.asset +++ /dev/null @@ -1,7 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1045 &1 -EditorBuildSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Scenes: [] diff --git a/dynamic_links/testapp/ProjectSettings/EditorSettings.asset b/dynamic_links/testapp/ProjectSettings/EditorSettings.asset deleted file mode 100644 index 529a05c41..000000000 --- a/dynamic_links/testapp/ProjectSettings/EditorSettings.asset +++ /dev/null @@ -1,15 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!159 &1 -EditorSettings: - m_ObjectHideFlags: 0 - serializedVersion: 3 - m_ExternalVersionControlSupport: Visible Meta Files - m_SerializationMode: 2 - m_WebSecurityEmulationEnabled: 0 - m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d - m_DefaultBehaviorMode: 0 - m_SpritePackerMode: 2 - m_SpritePackerPaddingPower: 1 - m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd - m_ProjectGenerationRootNamespace: diff --git a/dynamic_links/testapp/ProjectSettings/GraphicsSettings.asset b/dynamic_links/testapp/ProjectSettings/GraphicsSettings.asset deleted file mode 100644 index 127711209..000000000 --- a/dynamic_links/testapp/ProjectSettings/GraphicsSettings.asset +++ /dev/null @@ -1,67 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!30 &1 -GraphicsSettings: - m_ObjectHideFlags: 0 - serializedVersion: 7 - m_Deferred: - m_Mode: 1 - m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} - m_DeferredReflections: - m_Mode: 1 - m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} - m_ScreenSpaceShadows: - m_Mode: 1 - m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} - m_LegacyDeferred: - m_Mode: 1 - m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} - m_DepthNormals: - m_Mode: 1 - m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} - m_MotionVectors: - m_Mode: 1 - m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} - m_LightHalo: - m_Mode: 1 - m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} - m_LensFlare: - m_Mode: 1 - m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} - m_AlwaysIncludedShaders: - - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} - m_PreloadedShaders: [] - m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, - type: 0} - m_ShaderSettings_Tier1: - useCascadedShadowMaps: 0 - standardShaderQuality: 0 - useReflectionProbeBoxProjection: 0 - useReflectionProbeBlending: 0 - m_ShaderSettings_Tier2: - useCascadedShadowMaps: 0 - standardShaderQuality: 1 - useReflectionProbeBoxProjection: 0 - useReflectionProbeBlending: 0 - m_ShaderSettings_Tier3: - useCascadedShadowMaps: 0 - standardShaderQuality: 1 - useReflectionProbeBoxProjection: 0 - useReflectionProbeBlending: 0 - m_BuildTargetShaderSettings: [] - m_LightmapStripping: 0 - m_FogStripping: 0 - m_LightmapKeepPlain: 1 - m_LightmapKeepDirCombined: 1 - m_LightmapKeepDirSeparate: 1 - m_LightmapKeepDynamicPlain: 1 - m_LightmapKeepDynamicDirCombined: 1 - m_LightmapKeepDynamicDirSeparate: 1 - m_FogKeepLinear: 1 - m_FogKeepExp: 1 - m_FogKeepExp2: 1 diff --git a/dynamic_links/testapp/ProjectSettings/InputManager.asset b/dynamic_links/testapp/ProjectSettings/InputManager.asset deleted file mode 100644 index 17c8f538e..000000000 --- a/dynamic_links/testapp/ProjectSettings/InputManager.asset +++ /dev/null @@ -1,295 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!13 &1 -InputManager: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Axes: - - serializedVersion: 3 - m_Name: Horizontal - descriptiveName: - descriptiveNegativeName: - negativeButton: left - positiveButton: right - altNegativeButton: a - altPositiveButton: d - gravity: 3 - dead: 0.001 - sensitivity: 3 - snap: 1 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Vertical - descriptiveName: - descriptiveNegativeName: - negativeButton: down - positiveButton: up - altNegativeButton: s - altPositiveButton: w - gravity: 3 - dead: 0.001 - sensitivity: 3 - snap: 1 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire1 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left ctrl - altNegativeButton: - altPositiveButton: mouse 0 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire2 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left alt - altNegativeButton: - altPositiveButton: mouse 1 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire3 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left shift - altNegativeButton: - altPositiveButton: mouse 2 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Jump - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: space - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Mouse X - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0 - sensitivity: 0.1 - snap: 0 - invert: 0 - type: 1 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Mouse Y - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0 - sensitivity: 0.1 - snap: 0 - invert: 0 - type: 1 - axis: 1 - joyNum: 0 - - serializedVersion: 3 - m_Name: Mouse ScrollWheel - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0 - sensitivity: 0.1 - snap: 0 - invert: 0 - type: 1 - axis: 2 - joyNum: 0 - - serializedVersion: 3 - m_Name: Horizontal - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0.19 - sensitivity: 1 - snap: 0 - invert: 0 - type: 2 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Vertical - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: - altNegativeButton: - altPositiveButton: - gravity: 0 - dead: 0.19 - sensitivity: 1 - snap: 0 - invert: 1 - type: 2 - axis: 1 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire1 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 0 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire2 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 1 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire3 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 2 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Jump - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 3 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Submit - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: return - altNegativeButton: - altPositiveButton: joystick button 0 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Submit - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: enter - altNegativeButton: - altPositiveButton: space - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Cancel - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: escape - altNegativeButton: - altPositiveButton: joystick button 1 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 diff --git a/dynamic_links/testapp/ProjectSettings/NavMeshAreas.asset b/dynamic_links/testapp/ProjectSettings/NavMeshAreas.asset deleted file mode 100644 index a04f35c79..000000000 --- a/dynamic_links/testapp/ProjectSettings/NavMeshAreas.asset +++ /dev/null @@ -1,71 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!126 &1 -NavMeshAreas: - m_ObjectHideFlags: 0 - serializedVersion: 2 - areas: - - name: Walkable - cost: 1 - - name: Not Walkable - cost: 1 - - name: Jump - cost: 2 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 - - name: - cost: 1 diff --git a/dynamic_links/testapp/ProjectSettings/NetworkManager.asset b/dynamic_links/testapp/ProjectSettings/NetworkManager.asset deleted file mode 100644 index 5dc6a831d..000000000 --- a/dynamic_links/testapp/ProjectSettings/NetworkManager.asset +++ /dev/null @@ -1,8 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!149 &1 -NetworkManager: - m_ObjectHideFlags: 0 - m_DebugLevel: 0 - m_Sendrate: 15 - m_AssetToPrefab: {} diff --git a/dynamic_links/testapp/ProjectSettings/PackageManagerSettings.asset b/dynamic_links/testapp/ProjectSettings/PackageManagerSettings.asset deleted file mode 100644 index 6920e3adb..000000000 --- a/dynamic_links/testapp/ProjectSettings/PackageManagerSettings.asset +++ /dev/null @@ -1,38 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &1 -MonoBehaviour: - m_ObjectHideFlags: 61 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} - m_Name: - m_EditorClassIdentifier: - m_ScopedRegistriesSettingsExpanded: 1 - oneTimeWarningShown: 0 - m_Registries: - - m_Id: main - m_Name: - m_Url: https://packages.unity.com - m_Scopes: [] - m_IsDefault: 1 - m_UserSelectedRegistryName: - m_UserAddingNewScopedRegistry: 0 - m_RegistryInfoDraft: - m_ErrorMessage: - m_Original: - m_Id: - m_Name: - m_Url: - m_Scopes: [] - m_IsDefault: 0 - m_Modified: 0 - m_Name: - m_Url: - m_Scopes: - - - m_SelectedScopeIndex: 0 diff --git a/dynamic_links/testapp/ProjectSettings/Physics2DSettings.asset b/dynamic_links/testapp/ProjectSettings/Physics2DSettings.asset deleted file mode 100644 index 7e9e664f2..000000000 --- a/dynamic_links/testapp/ProjectSettings/Physics2DSettings.asset +++ /dev/null @@ -1,25 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!19 &1 -Physics2DSettings: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Gravity: {x: 0, y: -9.81} - m_DefaultMaterial: {fileID: 0} - m_VelocityIterations: 8 - m_PositionIterations: 3 - m_VelocityThreshold: 1 - m_MaxLinearCorrection: 0.2 - m_MaxAngularCorrection: 8 - m_MaxTranslationSpeed: 100 - m_MaxRotationSpeed: 360 - m_MinPenetrationForPenalty: 0.01 - m_BaumgarteScale: 0.2 - m_BaumgarteTimeOfImpactScale: 0.75 - m_TimeToSleep: 0.5 - m_LinearSleepTolerance: 0.01 - m_AngularSleepTolerance: 2 - m_QueriesHitTriggers: 1 - m_QueriesStartInColliders: 1 - m_ChangeStopsCallbacks: 0 - m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/dynamic_links/testapp/ProjectSettings/PresetManager.asset b/dynamic_links/testapp/ProjectSettings/PresetManager.asset deleted file mode 100644 index 67a94daef..000000000 --- a/dynamic_links/testapp/ProjectSettings/PresetManager.asset +++ /dev/null @@ -1,7 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1386491679 &1 -PresetManager: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_DefaultPresets: {} diff --git a/dynamic_links/testapp/ProjectSettings/ProjectSettings.asset b/dynamic_links/testapp/ProjectSettings/ProjectSettings.asset deleted file mode 100644 index 03d68a52b..000000000 --- a/dynamic_links/testapp/ProjectSettings/ProjectSettings.asset +++ /dev/null @@ -1,1052 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!129 &1 -PlayerSettings: - m_ObjectHideFlags: 0 - serializedVersion: 24 - productGUID: 8b7d5e9f5e7e04e6c980d1a5558268b4 - AndroidProfiler: 0 - AndroidFilterTouchesWhenObscured: 0 - AndroidEnableSustainedPerformanceMode: 0 - defaultScreenOrientation: 4 - targetDevice: 2 - useOnDemandResources: 0 - accelerometerFrequency: 60 - companyName: Google - productName: Firebase Dynamic Links Unity Testapp - defaultCursor: {fileID: 0} - cursorHotspot: {x: 0, y: 0} - m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} - m_ShowUnitySplashScreen: 1 - m_ShowUnitySplashLogo: 1 - m_SplashScreenOverlayOpacity: 1 - m_SplashScreenAnimation: 1 - m_SplashScreenLogoStyle: 1 - m_SplashScreenDrawMode: 0 - m_SplashScreenBackgroundAnimationZoom: 1 - m_SplashScreenLogoAnimationZoom: 1 - m_SplashScreenBackgroundLandscapeAspect: 1 - m_SplashScreenBackgroundPortraitAspect: 1 - m_SplashScreenBackgroundLandscapeUvs: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - m_SplashScreenBackgroundPortraitUvs: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - m_SplashScreenLogos: [] - m_VirtualRealitySplashScreen: {fileID: 0} - m_HolographicTrackingLossScreen: {fileID: 0} - defaultScreenWidth: 1024 - defaultScreenHeight: 768 - defaultScreenWidthWeb: 960 - defaultScreenHeightWeb: 600 - m_StereoRenderingPath: 0 - m_ActiveColorSpace: 0 - unsupportedMSAAFallback: 0 - m_MTRendering: 1 - mipStripping: 0 - numberOfMipsStripped: 0 - m_StackTraceTypes: 010000000100000001000000010000000100000001000000 - iosShowActivityIndicatorOnLoading: -1 - androidShowActivityIndicatorOnLoading: -1 - iosUseCustomAppBackgroundBehavior: 0 - iosAllowHTTPDownload: 1 - allowedAutorotateToPortrait: 1 - allowedAutorotateToPortraitUpsideDown: 1 - allowedAutorotateToLandscapeRight: 1 - allowedAutorotateToLandscapeLeft: 1 - useOSAutorotation: 1 - use32BitDisplayBuffer: 1 - preserveFramebufferAlpha: 0 - disableDepthAndStencilBuffers: 0 - androidStartInFullscreen: 1 - androidRenderOutsideSafeArea: 1 - androidUseSwappy: 0 - androidBlitType: 0 - androidResizableWindow: 0 - androidDefaultWindowWidth: 1920 - androidDefaultWindowHeight: 1080 - androidMinimumWindowWidth: 400 - androidMinimumWindowHeight: 300 - androidFullscreenMode: 1 - androidAutoRotationBehavior: 1 - defaultIsNativeResolution: 1 - macRetinaSupport: 1 - runInBackground: 1 - captureSingleScreen: 0 - muteOtherAudioSources: 0 - Prepare IOS For Recording: 0 - Force IOS Speakers When Recording: 0 - deferSystemGesturesMode: 0 - hideHomeButton: 0 - submitAnalytics: 1 - usePlayerLog: 1 - bakeCollisionMeshes: 0 - forceSingleInstance: 0 - useFlipModelSwapchain: 1 - resizableWindow: 0 - useMacAppStoreValidation: 0 - macAppStoreCategory: public.app-category.games - gpuSkinning: 0 - xboxPIXTextureCapture: 0 - xboxEnableAvatar: 0 - xboxEnableKinect: 0 - xboxEnableKinectAutoTracking: 0 - xboxEnableFitness: 0 - visibleInBackground: 0 - allowFullscreenSwitch: 1 - fullscreenMode: 1 - xboxSpeechDB: 0 - xboxEnableHeadOrientation: 0 - xboxEnableGuest: 0 - xboxEnablePIXSampling: 0 - metalFramebufferOnly: 0 - xboxOneResolution: 0 - xboxOneSResolution: 0 - xboxOneXResolution: 3 - xboxOneMonoLoggingLevel: 0 - xboxOneLoggingLevel: 1 - xboxOneDisableEsram: 0 - xboxOneEnableTypeOptimization: 0 - xboxOnePresentImmediateThreshold: 0 - switchQueueCommandMemory: 1048576 - switchQueueControlMemory: 16384 - switchQueueComputeMemory: 262144 - switchNVNShaderPoolsGranularity: 33554432 - switchNVNDefaultPoolsGranularity: 16777216 - switchNVNOtherPoolsGranularity: 16777216 - switchNVNMaxPublicTextureIDCount: 0 - switchNVNMaxPublicSamplerIDCount: 0 - switchMaxWorkerMultiple: 8 - stadiaPresentMode: 0 - stadiaTargetFramerate: 0 - vulkanNumSwapchainBuffers: 3 - vulkanEnableSetSRGBWrite: 0 - vulkanEnablePreTransform: 0 - vulkanEnableLateAcquireNextImage: 0 - vulkanEnableCommandBufferRecycling: 1 - m_SupportedAspectRatios: - 4:3: 1 - 5:4: 1 - 16:10: 1 - 16:9: 1 - Others: 1 - bundleVersion: 1.0 - preloadedAssets: [] - metroInputSource: 0 - wsaTransparentSwapchain: 0 - m_HolographicPauseOnTrackingLoss: 1 - xboxOneDisableKinectGpuReservation: 0 - xboxOneEnable7thCore: 0 - vrSettings: - enable360StereoCapture: 0 - isWsaHolographicRemotingEnabled: 0 - enableFrameTimingStats: 0 - enableOpenGLProfilerGPURecorders: 1 - useHDRDisplay: 0 - D3DHDRBitDepth: 0 - m_ColorGamuts: 00000000 - targetPixelDensity: 30 - resolutionScalingMode: 0 - resetResolutionOnWindowResize: 0 - androidSupportedAspectRatio: 1 - androidMaxAspectRatio: 2.1 - applicationIdentifier: - Android: com.google.FirebaseUnityDynamicLinksTestApp.dev - Standalone: com.google.FirebaseUnityDynamicLinksTestApp.dev - Tizen: com.google.FirebaseUnityDynamicLinksTestApp.dev - iPhone: com.google.FirebaseUnityDynamicLinksTestApp.dev - tvOS: com.google.FirebaseUnityDynamicLinksTestApp.dev - buildNumber: - Standalone: 0 - iPhone: 0 - tvOS: 0 - overrideDefaultApplicationIdentifier: 1 - AndroidBundleVersionCode: 1 - AndroidMinSdkVersion: 26 - AndroidTargetSdkVersion: 0 - AndroidPreferredInstallLocation: 1 - aotOptions: - stripEngineCode: 1 - iPhoneStrippingLevel: 0 - iPhoneScriptCallOptimization: 0 - ForceInternetPermission: 0 - ForceSDCardPermission: 0 - CreateWallpaper: 0 - APKExpansionFiles: 0 - keepLoadedShadersAlive: 0 - StripUnusedMeshComponents: 0 - VertexChannelCompressionMask: 214 - iPhoneSdkVersion: 988 - iOSTargetOSVersionString: 13.0 - tvOSSdkVersion: 0 - tvOSRequireExtendedGameController: 0 - tvOSTargetOSVersionString: 13.0 - uIPrerenderedIcon: 0 - uIRequiresPersistentWiFi: 0 - uIRequiresFullScreen: 1 - uIStatusBarHidden: 1 - uIExitOnSuspend: 0 - uIStatusBarStyle: 0 - appleTVSplashScreen: {fileID: 0} - appleTVSplashScreen2x: {fileID: 0} - tvOSSmallIconLayers: [] - tvOSSmallIconLayers2x: [] - tvOSLargeIconLayers: [] - tvOSLargeIconLayers2x: [] - tvOSTopShelfImageLayers: [] - tvOSTopShelfImageLayers2x: [] - tvOSTopShelfImageWideLayers: [] - tvOSTopShelfImageWideLayers2x: [] - iOSLaunchScreenType: 0 - iOSLaunchScreenPortrait: {fileID: 0} - iOSLaunchScreenLandscape: {fileID: 0} - iOSLaunchScreenBackgroundColor: - serializedVersion: 2 - rgba: 0 - iOSLaunchScreenFillPct: 100 - iOSLaunchScreenSize: 100 - iOSLaunchScreenCustomXibPath: - iOSLaunchScreeniPadType: 0 - iOSLaunchScreeniPadImage: {fileID: 0} - iOSLaunchScreeniPadBackgroundColor: - serializedVersion: 2 - rgba: 0 - iOSLaunchScreeniPadFillPct: 100 - iOSLaunchScreeniPadSize: 100 - iOSLaunchScreeniPadCustomXibPath: - iOSLaunchScreenCustomStoryboardPath: - iOSLaunchScreeniPadCustomStoryboardPath: - iOSDeviceRequirements: [] - iOSURLSchemes: - - firebase-game-loop - macOSURLSchemes: [] - iOSBackgroundModes: 0 - iOSMetalForceHardShadows: 0 - metalEditorSupport: 1 - metalAPIValidation: 1 - iOSRenderExtraFrameOnPause: 1 - iosCopyPluginsCodeInsteadOfSymlink: 0 - appleDeveloperTeamID: - iOSManualSigningProvisioningProfileID: - tvOSManualSigningProvisioningProfileID: - iOSManualSigningProvisioningProfileType: 0 - tvOSManualSigningProvisioningProfileType: 0 - appleEnableAutomaticSigning: 0 - iOSRequireARKit: 0 - iOSAutomaticallyDetectAndAddCapabilities: 1 - appleEnableProMotion: 0 - shaderPrecisionModel: 0 - clonedFromGUID: 00000000000000000000000000000000 - templatePackageId: - templateDefaultScene: - useCustomMainManifest: 0 - useCustomLauncherManifest: 0 - useCustomMainGradleTemplate: 0 - useCustomLauncherGradleManifest: 0 - useCustomBaseGradleTemplate: 0 - useCustomGradlePropertiesTemplate: 0 - useCustomGradleSettingsTemplate: 0 - useCustomProguardFile: 0 - AndroidTargetArchitectures: 1 - AndroidTargetDevices: 0 - AndroidSplashScreenScale: 0 - androidSplashScreen: {fileID: 0} - AndroidKeystoreName: '{inproject}: ' - AndroidKeyaliasName: - AndroidBuildApkPerCpuArchitecture: 0 - AndroidTVCompatibility: 1 - AndroidIsGame: 1 - AndroidEnableTango: 0 - androidEnableBanner: 0 - androidUseLowAccuracyLocation: 0 - androidUseCustomKeystore: 0 - m_AndroidBanners: - - width: 320 - height: 180 - banner: {fileID: 0} - androidGamepadSupportLevel: 0 - chromeosInputEmulation: 1 - AndroidMinifyRelease: 0 - AndroidMinifyDebug: 0 - AndroidValidateAppBundleSize: 1 - AndroidAppBundleSizeToValidate: 200 - m_BuildTargetIcons: - - m_BuildTarget: - m_Icons: - - serializedVersion: 2 - m_Icon: {fileID: 0} - m_Width: 128 - m_Height: 128 - m_Kind: 0 - - m_BuildTarget: Android - m_Icons: - - serializedVersion: 2 - m_Icon: {fileID: 2800000, guid: 35f8a50c66c0747188f03b077b16626b, type: 3} - m_Width: 192 - m_Height: 192 - m_Kind: 0 - - serializedVersion: 2 - m_Icon: {fileID: 0} - m_Width: 144 - m_Height: 144 - m_Kind: 0 - - serializedVersion: 2 - m_Icon: {fileID: 0} - m_Width: 96 - m_Height: 96 - m_Kind: 0 - - serializedVersion: 2 - m_Icon: {fileID: 0} - m_Width: 72 - m_Height: 72 - m_Kind: 0 - - serializedVersion: 2 - m_Icon: {fileID: 0} - m_Width: 48 - m_Height: 48 - m_Kind: 0 - - serializedVersion: 2 - m_Icon: {fileID: 0} - m_Width: 36 - m_Height: 36 - m_Kind: 0 - m_BuildTargetPlatformIcons: - - m_BuildTarget: tvOS - m_Icons: - - m_Textures: [] - m_Width: 1280 - m_Height: 768 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 800 - m_Height: 480 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 400 - m_Height: 240 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 4640 - m_Height: 1440 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 2320 - m_Height: 720 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 3840 - m_Height: 1440 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 1920 - m_Height: 720 - m_Kind: 1 - m_SubKind: - - m_BuildTarget: iPhone - m_Icons: - - m_Textures: [] - m_Width: 180 - m_Height: 180 - m_Kind: 0 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 120 - m_Height: 120 - m_Kind: 0 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 167 - m_Height: 167 - m_Kind: 0 - m_SubKind: iPad - - m_Textures: [] - m_Width: 152 - m_Height: 152 - m_Kind: 0 - m_SubKind: iPad - - m_Textures: [] - m_Width: 76 - m_Height: 76 - m_Kind: 0 - m_SubKind: iPad - - m_Textures: [] - m_Width: 120 - m_Height: 120 - m_Kind: 3 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 80 - m_Height: 80 - m_Kind: 3 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 80 - m_Height: 80 - m_Kind: 3 - m_SubKind: iPad - - m_Textures: [] - m_Width: 40 - m_Height: 40 - m_Kind: 3 - m_SubKind: iPad - - m_Textures: [] - m_Width: 87 - m_Height: 87 - m_Kind: 1 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 58 - m_Height: 58 - m_Kind: 1 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 29 - m_Height: 29 - m_Kind: 1 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 58 - m_Height: 58 - m_Kind: 1 - m_SubKind: iPad - - m_Textures: [] - m_Width: 29 - m_Height: 29 - m_Kind: 1 - m_SubKind: iPad - - m_Textures: [] - m_Width: 60 - m_Height: 60 - m_Kind: 2 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 40 - m_Height: 40 - m_Kind: 2 - m_SubKind: iPhone - - m_Textures: [] - m_Width: 40 - m_Height: 40 - m_Kind: 2 - m_SubKind: iPad - - m_Textures: [] - m_Width: 20 - m_Height: 20 - m_Kind: 2 - m_SubKind: iPad - - m_Textures: [] - m_Width: 1024 - m_Height: 1024 - m_Kind: 4 - m_SubKind: App Store - - m_BuildTarget: Android - m_Icons: - - m_Textures: [] - m_Width: 432 - m_Height: 432 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 324 - m_Height: 324 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 216 - m_Height: 216 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 162 - m_Height: 162 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 108 - m_Height: 108 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 81 - m_Height: 81 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 192 - m_Height: 192 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 144 - m_Height: 144 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 96 - m_Height: 96 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 72 - m_Height: 72 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 48 - m_Height: 48 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 36 - m_Height: 36 - m_Kind: 1 - m_SubKind: - - m_Textures: [] - m_Width: 192 - m_Height: 192 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 144 - m_Height: 144 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 96 - m_Height: 96 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 72 - m_Height: 72 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 48 - m_Height: 48 - m_Kind: 0 - m_SubKind: - - m_Textures: [] - m_Width: 36 - m_Height: 36 - m_Kind: 0 - m_SubKind: - m_BuildTargetBatching: - - m_BuildTarget: iPhone - m_StaticBatching: 1 - m_DynamicBatching: 0 - m_BuildTargetShaderSettings: [] - m_BuildTargetGraphicsJobs: - - m_BuildTarget: WindowsStandaloneSupport - m_GraphicsJobs: 0 - - m_BuildTarget: MacStandaloneSupport - m_GraphicsJobs: 0 - - m_BuildTarget: LinuxStandaloneSupport - m_GraphicsJobs: 0 - - m_BuildTarget: AndroidPlayer - m_GraphicsJobs: 0 - - m_BuildTarget: iOSSupport - m_GraphicsJobs: 0 - - m_BuildTarget: PS4Player - m_GraphicsJobs: 0 - - m_BuildTarget: PS5Player - m_GraphicsJobs: 0 - - m_BuildTarget: XboxOnePlayer - m_GraphicsJobs: 0 - - m_BuildTarget: GameCoreXboxOneSupport - m_GraphicsJobs: 0 - - m_BuildTarget: GameCoreScarlettSupport - m_GraphicsJobs: 0 - - m_BuildTarget: Switch - m_GraphicsJobs: 0 - - m_BuildTarget: WebGLSupport - m_GraphicsJobs: 0 - - m_BuildTarget: MetroSupport - m_GraphicsJobs: 0 - - m_BuildTarget: AppleTVSupport - m_GraphicsJobs: 0 - - m_BuildTarget: BJMSupport - m_GraphicsJobs: 0 - - m_BuildTarget: LuminSupport - m_GraphicsJobs: 0 - - m_BuildTarget: CloudRendering - m_GraphicsJobs: 0 - - m_BuildTarget: EmbeddedLinux - m_GraphicsJobs: 0 - m_BuildTargetGraphicsJobMode: - - m_BuildTarget: PS4Player - m_GraphicsJobMode: 0 - - m_BuildTarget: XboxOnePlayer - m_GraphicsJobMode: 0 - m_BuildTargetGraphicsAPIs: - - m_BuildTarget: iOSSupport - m_APIs: 10000000 - m_Automatic: 1 - - m_BuildTarget: AndroidPlayer - m_APIs: 0b00000008000000 - m_Automatic: 0 - m_BuildTargetVRSettings: - - m_BuildTarget: Android - m_Enabled: 0 - m_Devices: - - Oculus - - m_BuildTarget: Windows Store Apps - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: N3DS - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: PS3 - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: PS4 - m_Enabled: 0 - m_Devices: - - PlayStationVR - - m_BuildTarget: PSM - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: PSP2 - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: SamsungTV - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: Standalone - m_Enabled: 0 - m_Devices: - - Oculus - - m_BuildTarget: Tizen - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: WebGL - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: WebPlayer - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: WiiU - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: Xbox360 - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: XboxOne - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: iPhone - m_Enabled: 0 - m_Devices: [] - - m_BuildTarget: tvOS - m_Enabled: 0 - m_Devices: [] - m_DefaultShaderChunkSizeInMB: 16 - m_DefaultShaderChunkCount: 0 - openGLRequireES31: 0 - openGLRequireES31AEP: 0 - openGLRequireES32: 0 - m_TemplateCustomTags: {} - mobileMTRendering: - iPhone: 1 - tvOS: 1 - m_BuildTargetGroupLightmapEncodingQuality: - - m_BuildTarget: Standalone - m_EncodingQuality: 1 - - m_BuildTarget: XboxOne - m_EncodingQuality: 1 - - m_BuildTarget: PS4 - m_EncodingQuality: 1 - m_BuildTargetGroupLightmapSettings: [] - m_BuildTargetNormalMapEncoding: [] - m_BuildTargetDefaultTextureCompressionFormat: [] - playModeTestRunnerEnabled: 0 - runPlayModeTestAsEditModeTest: 0 - actionOnDotNetUnhandledException: 1 - enableInternalProfiler: 0 - logObjCUncaughtExceptions: 1 - enableCrashReportAPI: 0 - cameraUsageDescription: - locationUsageDescription: - microphoneUsageDescription: - bluetoothUsageDescription: - switchNMETAOverride: - switchNetLibKey: - switchSocketMemoryPoolSize: 6144 - switchSocketAllocatorPoolSize: 128 - switchSocketConcurrencyLimit: 14 - switchScreenResolutionBehavior: 2 - switchUseCPUProfiler: 0 - switchEnableFileSystemTrace: 0 - switchLTOSetting: 0 - switchApplicationID: 0x01004b9000490000 - switchNSODependencies: - switchTitleNames_0: - switchTitleNames_1: - switchTitleNames_2: - switchTitleNames_3: - switchTitleNames_4: - switchTitleNames_5: - switchTitleNames_6: - switchTitleNames_7: - switchTitleNames_8: - switchTitleNames_9: - switchTitleNames_10: - switchTitleNames_11: - switchTitleNames_12: - switchTitleNames_13: - switchTitleNames_14: - switchTitleNames_15: - switchPublisherNames_0: - switchPublisherNames_1: - switchPublisherNames_2: - switchPublisherNames_3: - switchPublisherNames_4: - switchPublisherNames_5: - switchPublisherNames_6: - switchPublisherNames_7: - switchPublisherNames_8: - switchPublisherNames_9: - switchPublisherNames_10: - switchPublisherNames_11: - switchPublisherNames_12: - switchPublisherNames_13: - switchPublisherNames_14: - switchPublisherNames_15: - switchIcons_0: {fileID: 0} - switchIcons_1: {fileID: 0} - switchIcons_2: {fileID: 0} - switchIcons_3: {fileID: 0} - switchIcons_4: {fileID: 0} - switchIcons_5: {fileID: 0} - switchIcons_6: {fileID: 0} - switchIcons_7: {fileID: 0} - switchIcons_8: {fileID: 0} - switchIcons_9: {fileID: 0} - switchIcons_10: {fileID: 0} - switchIcons_11: {fileID: 0} - switchIcons_12: {fileID: 0} - switchIcons_13: {fileID: 0} - switchIcons_14: {fileID: 0} - switchIcons_15: {fileID: 0} - switchSmallIcons_0: {fileID: 0} - switchSmallIcons_1: {fileID: 0} - switchSmallIcons_2: {fileID: 0} - switchSmallIcons_3: {fileID: 0} - switchSmallIcons_4: {fileID: 0} - switchSmallIcons_5: {fileID: 0} - switchSmallIcons_6: {fileID: 0} - switchSmallIcons_7: {fileID: 0} - switchSmallIcons_8: {fileID: 0} - switchSmallIcons_9: {fileID: 0} - switchSmallIcons_10: {fileID: 0} - switchSmallIcons_11: {fileID: 0} - switchSmallIcons_12: {fileID: 0} - switchSmallIcons_13: {fileID: 0} - switchSmallIcons_14: {fileID: 0} - switchSmallIcons_15: {fileID: 0} - switchManualHTML: - switchAccessibleURLs: - switchLegalInformation: - switchMainThreadStackSize: 1048576 - switchPresenceGroupId: - switchLogoHandling: 0 - switchReleaseVersion: 0 - switchDisplayVersion: 1.0.0 - switchStartupUserAccount: 0 - switchSupportedLanguagesMask: 0 - switchLogoType: 0 - switchApplicationErrorCodeCategory: - switchUserAccountSaveDataSize: 0 - switchUserAccountSaveDataJournalSize: 0 - switchApplicationAttribute: 0 - switchCardSpecSize: -1 - switchCardSpecClock: -1 - switchRatingsMask: 0 - switchRatingsInt_0: 0 - switchRatingsInt_1: 0 - switchRatingsInt_2: 0 - switchRatingsInt_3: 0 - switchRatingsInt_4: 0 - switchRatingsInt_5: 0 - switchRatingsInt_6: 0 - switchRatingsInt_7: 0 - switchRatingsInt_8: 0 - switchRatingsInt_9: 0 - switchRatingsInt_10: 0 - switchRatingsInt_11: 0 - switchRatingsInt_12: 0 - switchLocalCommunicationIds_0: - switchLocalCommunicationIds_1: - switchLocalCommunicationIds_2: - switchLocalCommunicationIds_3: - switchLocalCommunicationIds_4: - switchLocalCommunicationIds_5: - switchLocalCommunicationIds_6: - switchLocalCommunicationIds_7: - switchParentalControl: 0 - switchAllowsScreenshot: 1 - switchAllowsVideoCapturing: 1 - switchAllowsRuntimeAddOnContentInstall: 0 - switchDataLossConfirmation: 0 - switchUserAccountLockEnabled: 0 - switchSystemResourceMemory: 16777216 - switchSupportedNpadStyles: 3 - switchNativeFsCacheSize: 32 - switchIsHoldTypeHorizontal: 0 - switchSupportedNpadCount: 8 - switchEnableTouchScreen: 1 - switchSocketConfigEnabled: 0 - switchTcpInitialSendBufferSize: 32 - switchTcpInitialReceiveBufferSize: 64 - switchTcpAutoSendBufferSizeMax: 256 - switchTcpAutoReceiveBufferSizeMax: 256 - switchUdpSendBufferSize: 9 - switchUdpReceiveBufferSize: 42 - switchSocketBufferEfficiency: 4 - switchSocketInitializeEnabled: 1 - switchNetworkInterfaceManagerInitializeEnabled: 1 - switchUseNewStyleFilepaths: 0 - switchUseLegacyFmodPriorities: 1 - switchUseMicroSleepForYield: 1 - switchEnableRamDiskSupport: 0 - switchMicroSleepForYieldTime: 25 - switchRamDiskSpaceSize: 12 - ps4NPAgeRating: 12 - ps4NPTitleSecret: - ps4NPTrophyPackPath: - ps4ParentalLevel: 1 - ps4ContentID: ED1633-NPXX51362_00-0000000000000000 - ps4Category: 0 - ps4MasterVersion: 01.00 - ps4AppVersion: 01.00 - ps4AppType: 0 - ps4ParamSfxPath: - ps4VideoOutPixelFormat: 0 - ps4VideoOutInitialWidth: 1920 - ps4VideoOutBaseModeInitialWidth: 1920 - ps4VideoOutReprojectionRate: 60 - ps4PronunciationXMLPath: - ps4PronunciationSIGPath: - ps4BackgroundImagePath: - ps4StartupImagePath: - ps4StartupImagesFolder: - ps4IconImagesFolder: - ps4SaveDataImagePath: - ps4SdkOverride: - ps4BGMPath: - ps4ShareFilePath: - ps4ShareOverlayImagePath: - ps4PrivacyGuardImagePath: - ps4ExtraSceSysFile: - ps4NPtitleDatPath: - ps4RemotePlayKeyAssignment: -1 - ps4RemotePlayKeyMappingDir: - ps4PlayTogetherPlayerCount: 0 - ps4EnterButtonAssignment: 1 - ps4ApplicationParam1: 0 - ps4ApplicationParam2: 0 - ps4ApplicationParam3: 0 - ps4ApplicationParam4: 0 - ps4DownloadDataSize: 0 - ps4GarlicHeapSize: 2048 - ps4ProGarlicHeapSize: 2560 - playerPrefsMaxSize: 32768 - ps4Passcode: N2qmWqBlQ9wQj99nsQzldVI5ZuGXbEWR - ps4pnSessions: 1 - ps4pnPresence: 1 - ps4pnFriends: 1 - ps4pnGameCustomData: 1 - playerPrefsSupport: 0 - enableApplicationExit: 0 - resetTempFolder: 1 - restrictedAudioUsageRights: 0 - ps4UseResolutionFallback: 0 - ps4ReprojectionSupport: 0 - ps4UseAudio3dBackend: 0 - ps4UseLowGarlicFragmentationMode: 1 - ps4SocialScreenEnabled: 0 - ps4ScriptOptimizationLevel: 0 - ps4Audio3dVirtualSpeakerCount: 14 - ps4attribCpuUsage: 0 - ps4PatchPkgPath: - ps4PatchLatestPkgPath: - ps4PatchChangeinfoPath: - ps4PatchDayOne: 0 - ps4attribUserManagement: 0 - ps4attribMoveSupport: 0 - ps4attrib3DSupport: 0 - ps4attribShareSupport: 0 - ps4attribExclusiveVR: 0 - ps4disableAutoHideSplash: 0 - ps4videoRecordingFeaturesUsed: 0 - ps4contentSearchFeaturesUsed: 0 - ps4CompatibilityPS5: 0 - ps4AllowPS5Detection: 0 - ps4GPU800MHz: 1 - ps4attribEyeToEyeDistanceSettingVR: 0 - ps4IncludedModules: [] - ps4attribVROutputEnabled: 0 - monoEnv: - splashScreenBackgroundSourceLandscape: {fileID: 0} - splashScreenBackgroundSourcePortrait: {fileID: 0} - blurSplashScreenBackground: 1 - spritePackerPolicy: - webGLMemorySize: 256 - webGLExceptionSupport: 1 - webGLNameFilesAsHashes: 0 - webGLDataCaching: 0 - webGLDebugSymbols: 0 - webGLEmscriptenArgs: - webGLModulesDirectory: - webGLTemplate: APPLICATION:Default - webGLAnalyzeBuildSize: 0 - webGLUseEmbeddedResources: 0 - webGLCompressionFormat: 1 - webGLWasmArithmeticExceptions: 0 - webGLLinkerTarget: 1 - webGLThreadsSupport: 0 - webGLDecompressionFallback: 0 - webGLPowerPreference: 2 - scriptingDefineSymbols: {} - additionalCompilerArguments: {} - platformArchitecture: - iPhone: 2 - scriptingBackend: - Android: 0 - Standalone: 0 - WebGL: 1 - WebPlayer: 0 - iPhone: 1 - il2cppCompilerConfiguration: {} - managedStrippingLevel: - EmbeddedLinux: 1 - GameCoreScarlett: 1 - GameCoreXboxOne: 1 - Lumin: 1 - Nintendo Switch: 1 - PS4: 1 - PS5: 1 - Stadia: 1 - WebGL: 1 - Windows Store Apps: 1 - XboxOne: 1 - iPhone: 1 - tvOS: 1 - incrementalIl2cppBuild: - iPhone: 1 - suppressCommonWarnings: 1 - allowUnsafeCode: 0 - useDeterministicCompilation: 1 - enableRoslynAnalyzers: 1 - additionalIl2CppArgs: - scriptingRuntimeVersion: 1 - gcIncremental: 1 - assemblyVersionValidation: 1 - gcWBarrierValidation: 0 - apiCompatibilityLevelPerPlatform: {} - m_RenderingPath: 1 - m_MobileRenderingPath: 1 - metroPackageName: FirebaseSample - metroPackageVersion: - metroCertificatePath: - metroCertificatePassword: - metroCertificateSubject: - metroCertificateIssuer: - metroCertificateNotAfter: 0000000000000000 - metroApplicationDescription: FirebaseSample - wsaImages: {} - metroTileShortName: - metroTileShowName: 0 - metroMediumTileShowName: 0 - metroLargeTileShowName: 0 - metroWideTileShowName: 0 - metroSupportStreamingInstall: 0 - metroLastRequiredScene: 0 - metroDefaultTileSize: 1 - metroTileForegroundText: 1 - metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} - metroSplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, - a: 1} - metroSplashScreenUseBackgroundColor: 1 - syncCapabilities: 0 - platformCapabilities: {} - metroTargetDeviceFamilies: {} - metroFTAName: - metroFTAFileTypes: [] - metroProtocolName: - vcxProjDefaultLanguage: - XboxOneProductId: - XboxOneUpdateKey: - XboxOneSandboxId: - XboxOneContentId: - XboxOneTitleId: - XboxOneSCId: - XboxOneGameOsOverridePath: - XboxOnePackagingOverridePath: - XboxOneAppManifestOverridePath: - XboxOneVersion: 1.0.0.0 - XboxOnePackageEncryption: 0 - XboxOnePackageUpdateGranularity: 2 - XboxOneDescription: - XboxOneLanguage: - - enus - XboxOneCapability: [] - XboxOneGameRating: {} - XboxOneIsContentPackage: 0 - XboxOneEnhancedXboxCompatibilityMode: 0 - XboxOneEnableGPUVariability: 0 - XboxOneSockets: {} - XboxOneSplashScreen: {fileID: 0} - XboxOneAllowedProductIds: [] - XboxOnePersistentLocalStorageSize: 0 - XboxOneXTitleMemory: 8 - XboxOneOverrideIdentityName: - XboxOneOverrideIdentityPublisher: - vrEditorSettings: {} - cloudServicesEnabled: - Analytics: 0 - Build: 0 - Collab: 0 - ErrorHub: 0 - Game_Performance: 0 - Hub: 0 - Purchasing: 0 - UNet: 0 - Unity_Ads: 0 - luminIcon: - m_Name: - m_ModelFolderPath: - m_PortalFolderPath: - luminCert: - m_CertPath: - m_SignPackage: 1 - luminIsChannelApp: 0 - luminVersion: - m_VersionCode: 1 - m_VersionName: - apiCompatibilityLevel: 6 - activeInputHandler: 0 - windowsGamepadBackendHint: 0 - cloudProjectId: - framebufferDepthMemorylessMode: 0 - qualitySettingsNames: [] - projectName: - organizationId: - cloudEnabled: 0 - legacyClampBlendShapeWeights: 1 - playerDataPath: - forceSRGBBlit: 1 - virtualTexturingSupportEnabled: 0 diff --git a/dynamic_links/testapp/ProjectSettings/ProjectVersion.txt b/dynamic_links/testapp/ProjectSettings/ProjectVersion.txt deleted file mode 100644 index 1405dc942..000000000 --- a/dynamic_links/testapp/ProjectSettings/ProjectVersion.txt +++ /dev/null @@ -1,2 +0,0 @@ -m_EditorVersion: 2021.3.43f1 -m_EditorVersionWithRevision: 2021.3.43f1 (6f9470916942) diff --git a/dynamic_links/testapp/ProjectSettings/QualitySettings.asset b/dynamic_links/testapp/ProjectSettings/QualitySettings.asset deleted file mode 100644 index 90962e56b..000000000 --- a/dynamic_links/testapp/ProjectSettings/QualitySettings.asset +++ /dev/null @@ -1,185 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!47 &1 -QualitySettings: - m_ObjectHideFlags: 0 - serializedVersion: 5 - m_CurrentQuality: 5 - m_QualitySettings: - - serializedVersion: 2 - name: Fastest - pixelLightCount: 0 - shadows: 0 - shadowResolution: 0 - shadowProjection: 1 - shadowCascades: 1 - shadowDistance: 15 - shadowNearPlaneOffset: 2 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 1 - textureQuality: 1 - anisotropicTextures: 0 - antiAliasing: 0 - softParticles: 0 - softVegetation: 0 - realtimeReflectionProbes: 0 - billboardsFaceCameraPosition: 0 - vSyncCount: 0 - lodBias: 0.3 - maximumLODLevel: 0 - particleRaycastBudget: 4 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Fast - pixelLightCount: 0 - shadows: 0 - shadowResolution: 0 - shadowProjection: 1 - shadowCascades: 1 - shadowDistance: 20 - shadowNearPlaneOffset: 2 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 2 - textureQuality: 0 - anisotropicTextures: 0 - antiAliasing: 0 - softParticles: 0 - softVegetation: 0 - realtimeReflectionProbes: 0 - billboardsFaceCameraPosition: 0 - vSyncCount: 0 - lodBias: 0.4 - maximumLODLevel: 0 - particleRaycastBudget: 16 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Simple - pixelLightCount: 1 - shadows: 1 - shadowResolution: 0 - shadowProjection: 1 - shadowCascades: 1 - shadowDistance: 20 - shadowNearPlaneOffset: 2 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 2 - textureQuality: 0 - anisotropicTextures: 1 - antiAliasing: 0 - softParticles: 0 - softVegetation: 0 - realtimeReflectionProbes: 0 - billboardsFaceCameraPosition: 0 - vSyncCount: 0 - lodBias: 0.7 - maximumLODLevel: 0 - particleRaycastBudget: 64 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Good - pixelLightCount: 2 - shadows: 2 - shadowResolution: 1 - shadowProjection: 1 - shadowCascades: 2 - shadowDistance: 40 - shadowNearPlaneOffset: 2 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 2 - textureQuality: 0 - anisotropicTextures: 1 - antiAliasing: 0 - softParticles: 0 - softVegetation: 1 - realtimeReflectionProbes: 1 - billboardsFaceCameraPosition: 1 - vSyncCount: 1 - lodBias: 1 - maximumLODLevel: 0 - particleRaycastBudget: 256 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Beautiful - pixelLightCount: 3 - shadows: 2 - shadowResolution: 2 - shadowProjection: 1 - shadowCascades: 2 - shadowDistance: 70 - shadowNearPlaneOffset: 2 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 4 - textureQuality: 0 - anisotropicTextures: 2 - antiAliasing: 2 - softParticles: 1 - softVegetation: 1 - realtimeReflectionProbes: 1 - billboardsFaceCameraPosition: 1 - vSyncCount: 1 - lodBias: 1.5 - maximumLODLevel: 0 - particleRaycastBudget: 1024 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - excludedTargetPlatforms: [] - - serializedVersion: 2 - name: Fantastic - pixelLightCount: 4 - shadows: 2 - shadowResolution: 2 - shadowProjection: 1 - shadowCascades: 4 - shadowDistance: 150 - shadowNearPlaneOffset: 2 - shadowCascade2Split: 0.33333334 - shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} - blendWeights: 4 - textureQuality: 0 - anisotropicTextures: 2 - antiAliasing: 2 - softParticles: 1 - softVegetation: 1 - realtimeReflectionProbes: 1 - billboardsFaceCameraPosition: 1 - vSyncCount: 1 - lodBias: 2 - maximumLODLevel: 0 - particleRaycastBudget: 4096 - asyncUploadTimeSlice: 2 - asyncUploadBufferSize: 4 - excludedTargetPlatforms: [] - m_PerPlatformDefaultQuality: - Android: 2 - BlackBerry: 2 - GLES Emulation: 5 - Nintendo 3DS: 5 - PS3: 5 - PS4: 5 - PSM: 5 - PSP2: 2 - Samsung TV: 2 - Standalone: 5 - Tizen: 2 - WP8: 5 - Web: 5 - WebGL: 3 - WiiU: 5 - Windows Store Apps: 5 - XBOX360: 5 - XboxOne: 5 - iPhone: 2 - tvOS: 5 diff --git a/dynamic_links/testapp/ProjectSettings/TagManager.asset b/dynamic_links/testapp/ProjectSettings/TagManager.asset deleted file mode 100644 index 1c92a7840..000000000 --- a/dynamic_links/testapp/ProjectSettings/TagManager.asset +++ /dev/null @@ -1,43 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!78 &1 -TagManager: - serializedVersion: 2 - tags: [] - layers: - - Default - - TransparentFX - - Ignore Raycast - - - - Water - - UI - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - m_SortingLayers: - - name: Default - uniqueID: 0 - locked: 0 diff --git a/dynamic_links/testapp/ProjectSettings/TimeManager.asset b/dynamic_links/testapp/ProjectSettings/TimeManager.asset deleted file mode 100644 index a2dc235c6..000000000 --- a/dynamic_links/testapp/ProjectSettings/TimeManager.asset +++ /dev/null @@ -1,8 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!5 &1 -TimeManager: - m_ObjectHideFlags: 0 - Fixed Timestep: 0.02 - Maximum Allowed Timestep: 0.33333334 - m_TimeScale: 1 diff --git a/dynamic_links/testapp/ProjectSettings/UnityConnectSettings.asset b/dynamic_links/testapp/ProjectSettings/UnityConnectSettings.asset deleted file mode 100644 index 3da14d5ba..000000000 --- a/dynamic_links/testapp/ProjectSettings/UnityConnectSettings.asset +++ /dev/null @@ -1,34 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!310 &1 -UnityConnectSettings: - m_ObjectHideFlags: 0 - m_Enabled: 0 - m_TestMode: 0 - m_TestEventUrl: - m_TestConfigUrl: - m_TestInitMode: 0 - CrashReportingSettings: - m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes - m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate - m_Enabled: 0 - m_CaptureEditorExceptions: 1 - UnityPurchasingSettings: - m_Enabled: 0 - m_TestMode: 0 - UnityAnalyticsSettings: - m_Enabled: 0 - m_InitializeOnStartup: 1 - m_TestMode: 0 - m_TestEventUrl: - m_TestConfigUrl: - UnityAdsSettings: - m_Enabled: 0 - m_InitializeOnStartup: 1 - m_TestMode: 0 - m_IosGameId: - m_AndroidGameId: - m_GameIds: {} - m_GameId: - PerformanceReportingSettings: - m_Enabled: 0 diff --git a/dynamic_links/testapp/ProjectSettings/VFXManager.asset b/dynamic_links/testapp/ProjectSettings/VFXManager.asset deleted file mode 100644 index 3a95c98be..000000000 --- a/dynamic_links/testapp/ProjectSettings/VFXManager.asset +++ /dev/null @@ -1,12 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!937362698 &1 -VFXManager: - m_ObjectHideFlags: 0 - m_IndirectShader: {fileID: 0} - m_CopyBufferShader: {fileID: 0} - m_SortShader: {fileID: 0} - m_StripUpdateShader: {fileID: 0} - m_RenderPipeSettingsPath: - m_FixedTimeStep: 0.016666668 - m_MaxDeltaTime: 0.05 diff --git a/dynamic_links/testapp/ProjectSettings/XRSettings.asset b/dynamic_links/testapp/ProjectSettings/XRSettings.asset deleted file mode 100644 index 482590c19..000000000 --- a/dynamic_links/testapp/ProjectSettings/XRSettings.asset +++ /dev/null @@ -1,10 +0,0 @@ -{ - "m_SettingKeys": [ - "VR Device Disabled", - "VR Device User Alert" - ], - "m_SettingValues": [ - "False", - "False" - ] -} \ No newline at end of file diff --git a/dynamic_links/testapp/readme.md b/dynamic_links/testapp/readme.md deleted file mode 100644 index 8a7cfe5cf..000000000 --- a/dynamic_links/testapp/readme.md +++ /dev/null @@ -1,261 +0,0 @@ -# Firebase Dynamic Links Quickstart - -The Firebase Dynamic Links Unity Sample demonstrates sending and -receiving -[Firebase Dynamic Links](https://firebase.google.com/docs/dynamic-links/) -using the -[Firebase Unity SDK](https://firebase.google.com/docs/unity/setup). - - -## Requirements - -* [Unity](http://unity3d.com/) The quickstart project requires 2017.4 or higher. -* [Xcode](https://developer.apple.com/xcode/) 10.3 or higher - (when developing for iOS). -* [Android SDK](https://developer.android.com/studio/index.html#downloads) - (when developing for Android). - - -## Building the Sample - -### iOS - - - Register your iOS app with Firebase. - - Create a project in the - [Firebase console](https://firebase.google.com/console/), - and associate your iOS application. - - You should use `com.google.FirebaseUnityDynamicLinksTestApp.dev` as the - bundle identifier when creating the Firebase iOS app in the console. - - If you do not use the prescribed Bundle ID, you will later need to - update the bundle identifier in Unity as described in - `Optional: Update the Project Bundle Identifier` below. - - Download the `GoogleService-Info.plist` file associated with your - Firebase project from the console. - This file identifies your iOS app to the Firebase backend, and will - need to be included in the sample later. - - For further details please refer to the - [general instructions](https://firebase.google.com/docs/ios/setup) - which describes how to configure a Firebase application for iOS. - - Download the - [Firebase Unity SDK](https://firebase.google.com/download/unity) - and unzip it somewhere convenient. - - Open the sample project in the Unity editor. - - Select the `File > Open Project` menu item. - - Click `Open`. - - Navigate to the sample directory `testapp` in the file dialog and click - `Open`. - - You might be prompted to upgrade the project to your version of Unity. - Click `Confirm` to upgrade the project and continue. - - Open the scene `MainScene`. - - Navigate to `Assets/Firebase/Sample/Functions` in the `Project` window. - - Double click on `MainScene` file to open. - - Import the `Firebase Dynamic Links` plugin. - - Select the **Assets > Import Package > Custom Package** menu item. - - From the [Firebase Unity SDK](https://firebase.google.com/download/unity) - downloaded previously, import `FirebaseDynamicLinks.unitypackage`. - - When the **Import Unity Package** window appears, click the **Import** - button. - - Add the `GoogleService-Info.plist` file to the project. - - Navigate to the `Assets/Firebase/Sample/Functions` folder in the `Project` - window. - - Drag the `GoogleService-Info.plist` downloaded from the Firebase console - into the folder. - - NOTE: `GoogleService-Info.plist` can be placed anywhere under the - `Assets` folder. - - Optional: Update the Project Bundle Identifier - - If you did not use `com.google.FirebaseUnityDynamicLinksTestApp.dev` as - the iOS bundle ID when creating your app in the Firebase Console then you - will need to update the sample's Bundle. - - Select the `File > Build Settings` menu option. - - Select `iOS` in the `Platform` list. - - Click `Player Settings`. - - In the `Settings for iOS` panel scroll down to `Bundle Identifier` - and update the value to the `iOS bundle ID` you provided when you - registered your app with Firebase. - - Copy the dynamic links domain URI prefix for your project under the Dynamic - Links tab of the [Firebase console](https://firebase.google.com/console/) - e.g xyz.app.goo.gl and assign it to the string DomainUriPrefix on the - UIHandler object in the MainScene. - - Optional: If you want to use a custom Dynamic Links domain, follow - [these instructions](https://firebase.google.com/docs/dynamic-links/custom-domains) - to set up the domain in Firebase console and in your project's Info.plist. - - Build for iOS - - Select the `File > Build Settings` menu option. - - Select `iOS` in the `Platform` list. - - Click `Switch Platform` to select `iOS` as the target platform. - - Wait for the spinner (compiling) icon to stop in the bottom right corner - of the Unity status bar. - - Click `Build and Run`. - - Configure the iOS project capabilities to send invites and receive links. - - Enable the Keychain Sharing capability on iOS 10 or above (required by - Google Sign-In to send invites). - You can enable this capability on your project in Xcode 8 by going to - your project's settings, Capabilities, and turning on Keychain Sharing. - - Copy the domain URI prefix for your project under the Dynamic Links tab of - the [Firebase console](https://firebase.google.com/console/) Then, in your - project's Capabilities tab: - - Enable the Associated Domains capability. - - Add applinks:YOUR_DYNAMIC_LINKS_DOMAIN - For example "applinks:xyz.app.goo.gl". - - See the *Using the Sample* section below. - - -### Android - - - Register your Android app with Firebase. - - Create a project in the - [Firebase console](https://firebase.google.com/console/), - and attach your Android app to it. - - You should use `com.google.FirebaseUnityDynamicLinksTestApp.dev` as the - `Android package name` while you're testing. - - If you do not use the prescribed package name, you will need to update - the bundle identifier as described in `Optional: Update the Project - Bundle Identifier` below. - - Android apps must be signed by a key, and the key's signature must - be registered to your project in the Firebase Console. To - [generate a SHA1](https://developers.google.com/android/guides/client-auth), - first you will need to set the keystore in the Unity project. - - Locate the `Publishing Settings` under `Player Settings`. - - Select an existing keystore, or create a new keystore using the - toggle. - - Select an existing key, or create a new key using "Create a new key". - - After setting the keystore and key, you can generate a SHA1 by - running this command: - ``` - keytool -list -v -keystore -alias - ``` - - Copy the SHA1 digest string into your clipboard. - - Navigate to your Android App in your firebase console. - - From the main console view, click on your Android App at the top, then - click the gear to open the settings page. - - Scroll down to your apps at the bottom of the page and click on - `Add Fingerprint`. - - Paste the SHA1 digest of your key into the form. The SHA1 box - will illuminate if the string is valid. If it's not valid, check - that you have copied the entire SHA1 digest string. - - Download the `google-services.json` file associated with your - Firebase project from the console. - This file identifies your Android app to the Firebase backend, and will - need to be included in the sample later. - - For further details please refer to the - [general instructions](https://firebase.google.com/docs/android/setup) - which describes how to configure a Firebase application for Android. - - Download the - [Firebase Unity SDK](https://firebase.google.com/download/unity) - and unzip it somewhere convenient. - - Open the sample project in the Unity editor. - - Select the `File > Open Project` menu item. - - Click `Open`. - - You might be prompted to upgrade the project to your version of Unity. - Click `Confirm` to upgrade the project and continue. - - Navigate to the sample directory `testapp` in the file dialog and click - `Open`. - - Open the scene `MainScene`. - - Navigate to `Assets/Firebase/Sample/Functions` in the `Project` window. - - Double click on `MainScene` file to open. - - Import the `Firebase Dynamic Links` plugin. - - Select the **Assets > Import Package > Custom Package** menu item. - - From the [Firebase Unity SDK](https://firebase.google.com/download/unity) - downloaded previously, import `FirebaseDynamicLinks.unitypackage`. - - When the **Import Unity Package** window appears, click the **Import** - button. - - Add the `google-services.json` file to the project. - - Navigate to the `Assets/Firebase/Sample/Functions` folder in the `Project` - window. - - Drag the `google-services.json` downloaded from the Firebase console - into the folder. - - NOTE: `google-services.json` can be placed anywhere under the `Assets` - folder. - - Optional: Update the Project Bundle Identifier - - If you did not use `com.google.FirebaseUnityDynamicLinksTestApp.dev` - as the `Android package name` when you created your app in the Firebase - Console, you will need to update the sample's Bundle Identifier. - - Select the `File > Build Settings` menu option. - - Select `Android` in the `Platform` list. - - Click `Player Settings` - - In the `Settings for Android` panel scroll down to `Bundle Identifier` - and update the value to the Android package name you provided when you - registered your app with Firebase. - - Copy the dynamic links domain URI prefix for your project under the Dynamic - Links tab of the [Firebase console](https://firebase.google.com/console/) - e.g xyz.app.goo.gl and assign it to the string DomainUriPrefix on the - UIHandler object in the MainScene. - - Optional: If you want to use a custom Dynamic Links domain, follow - [these instructions](https://firebase.google.com/docs/dynamic-links/custom-domains) - to set up the domain in Firebase console. - - Build for Android - - Select the `File > Build Settings` menu option. - - Select `Android` in the `Platform` list. - - Click `Switch Platform` to select `Android` as the target platform. - - Wait for the spinner (compiling) icon to stop in the bottom right corner - of the Unity status bar. - - Click `Build and Run`. - - See the *Using the Sample* section below. - - -## Using the Sample - - - Receiving a link - - When you first run the app, it will check for an incoming dynamic link - and report whether it was able to fetch a link. - - To simulate receiving a dynamic link, you can send yourself an email, - uninstall the test app, then click the link in your email. - - This would normally send you to the Play Store or App Store to download - the app. Because this is a test app, it will link to a nonexistent store - page. - - After clicking the dynamic link, re-install and run the app on your - device or emulator, and see the dynamic link fetched on the receiving - side. - - Creating a link - - Clicking the Display Long Link button creates and displays a long - dynamic link. - - Clicking the Create Short Link button creates and displays a short link by - contacting the link shortening service. - - Clicking the Create Unguessable Short Link button creates and displays an - unguessable short link. - - -## Troubleshooting - - - When upgrading to a new Firebase release: import the new firebase - unity package through **Assets > Import Package > Custom Package** as above. - After the import is complete you may need to run the **Assets > Play - Services Resolver** for the changes to be reflected in the editor. If - issues persist, delete the plugin and install it again. - - **Android:** After exiting the editor and returning you will need to - reconfigure the **Project Keystore** in **Player Settings > Publishing - Settings**. Select your **Custom Keystore** from the dropdown list and - enter its password. Then, select your **Project Key** alias and enter - your key's password. - enabled in your project, you'll see compile errors from some types in the - - Please see the - [Known Issues](https://firebase.google.com/docs/unity/setup#known-issues) - section of the - Unity Setup Guide](https://firebase.google.com/docs/unity/setup) for other - troubleshooting topics. - - -## Support - -[https://firebase.google.com/support/](https://firebase.google.com/support/) - - -## License - -Copyright 2016 Google, Inc. - -Licensed to the Apache Software Foundation (ASF) under one or more contributor -license agreements. See the NOTICE file distributed with this work for -additional information regarding copyright ownership. The ASF licenses this -file to you under the Apache License, Version 2.0 (the "License"); you may not -use this file except in compliance with the License. You may obtain a copy of -the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations under -the License. - diff --git a/editor/app/assets/fb_dynamic_links.png b/editor/app/assets/fb_dynamic_links.png deleted file mode 100644 index a06148e07..000000000 Binary files a/editor/app/assets/fb_dynamic_links.png and /dev/null differ diff --git a/editor/app/assets/fb_dynamic_links.png.meta b/editor/app/assets/fb_dynamic_links.png.meta deleted file mode 100644 index 4d174eb0f..000000000 --- a/editor/app/assets/fb_dynamic_links.png.meta +++ /dev/null @@ -1,58 +0,0 @@ -fileFormatVersion: 2 -guid: df6f219c396f4ad9b5048bae6944cb8e -timeCreated: 1473376335 -licenseType: Pro -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 2 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - linearTexture: 1 - correctGamma: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 0 - cubemapConvolution: 0 - cubemapConvolutionSteps: 7 - cubemapConvolutionExponent: 1.5 - seamlessCubemap: 0 - textureFormat: -1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - rGBM: 0 - compressionQuality: 50 - allowsAlphaSplitting: 0 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaIsTransparency: 1 - textureType: 2 - buildTargetSettings: [] - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/editor/app/assets/fb_dynamic_links_dark.png b/editor/app/assets/fb_dynamic_links_dark.png deleted file mode 100644 index a35cb5257..000000000 Binary files a/editor/app/assets/fb_dynamic_links_dark.png and /dev/null differ diff --git a/editor/app/assets/fb_dynamic_links_dark.png.meta b/editor/app/assets/fb_dynamic_links_dark.png.meta deleted file mode 100644 index 00594972b..000000000 --- a/editor/app/assets/fb_dynamic_links_dark.png.meta +++ /dev/null @@ -1,58 +0,0 @@ -fileFormatVersion: 2 -guid: 9355a4671cfe4eef90879863318d1a4b -timeCreated: 1472679009 -licenseType: Pro -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 2 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - linearTexture: 1 - correctGamma: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 0 - cubemapConvolution: 0 - cubemapConvolutionSteps: 7 - cubemapConvolutionExponent: 1.5 - seamlessCubemap: 0 - textureFormat: -1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - rGBM: 0 - compressionQuality: 50 - allowsAlphaSplitting: 0 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaIsTransparency: 1 - textureType: 2 - buildTargetSettings: [] - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/editor/app/assets/fb_invites.png b/editor/app/assets/fb_invites.png deleted file mode 100644 index be9a9b962..000000000 Binary files a/editor/app/assets/fb_invites.png and /dev/null differ diff --git a/editor/app/assets/fb_invites.png.meta b/editor/app/assets/fb_invites.png.meta deleted file mode 100644 index 3b8854a50..000000000 --- a/editor/app/assets/fb_invites.png.meta +++ /dev/null @@ -1,58 +0,0 @@ -fileFormatVersion: 2 -guid: 741b269777f30488482ef4937b456b28 -timeCreated: 1473376335 -licenseType: Pro -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 2 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - linearTexture: 1 - correctGamma: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 0 - cubemapConvolution: 0 - cubemapConvolutionSteps: 7 - cubemapConvolutionExponent: 1.5 - seamlessCubemap: 0 - textureFormat: -1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - rGBM: 0 - compressionQuality: 50 - allowsAlphaSplitting: 0 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaIsTransparency: 1 - textureType: 2 - buildTargetSettings: [] - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/editor/app/assets/fb_invites_dark.png b/editor/app/assets/fb_invites_dark.png deleted file mode 100644 index 1bd1a9041..000000000 Binary files a/editor/app/assets/fb_invites_dark.png and /dev/null differ diff --git a/editor/app/assets/fb_invites_dark.png.meta b/editor/app/assets/fb_invites_dark.png.meta deleted file mode 100644 index e7488c73c..000000000 --- a/editor/app/assets/fb_invites_dark.png.meta +++ /dev/null @@ -1,58 +0,0 @@ -fileFormatVersion: 2 -guid: a734ad7414926404e90f8b5be37b7e23 -timeCreated: 1472679009 -licenseType: Pro -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 2 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - linearTexture: 1 - correctGamma: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 0 - cubemapConvolution: 0 - cubemapConvolutionSteps: 7 - cubemapConvolutionExponent: 1.5 - seamlessCubemap: 0 - textureFormat: -1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - rGBM: 0 - compressionQuality: 50 - allowsAlphaSplitting: 0 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaIsTransparency: 1 - textureType: 2 - buildTargetSettings: [] - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/editor/app/src/ApiInfo.cs b/editor/app/src/ApiInfo.cs index de3d54cdd..a77657fb7 100644 --- a/editor/app/src/ApiInfo.cs +++ b/editor/app/src/ApiInfo.cs @@ -93,17 +93,6 @@ public static ApiInfo Database() { }; } - public static ApiInfo DynamicLinks() { - return new ApiInfo("dynamic_links") - { - Name = DocRef.DynamicLinksName, - Description = DocRef.DynamicLinksDescription, - ApiReference = Link.DynamicLinksReference, - GuideButton = DocRef.DynamicLinksGuideSummary, - GuideLink = Link.DynamicLinksGuide - }; - } - public static ApiInfo Functions() { return new ApiInfo("functions") { diff --git a/editor/app/src/AssemblyInfo.cs b/editor/app/src/AssemblyInfo.cs index 5a78af6e2..9b2f32f5b 100644 --- a/editor/app/src/AssemblyInfo.cs +++ b/editor/app/src/AssemblyInfo.cs @@ -56,7 +56,6 @@ [assembly: InternalsVisibleTo("Firebase.Analytics.Editor")] [assembly: InternalsVisibleTo("Firebase.Auth.Editor")] [assembly: InternalsVisibleTo("Firebase.Crashlytics.Editor")] -[assembly: InternalsVisibleTo("Firebase.DynamicLinks.Editor")] [assembly: InternalsVisibleTo("Firebase.Messaging.Editor")] [assembly: InternalsVisibleTo("Firebase.TestLab.Editor")] diff --git a/editor/app/src/DocRef.Designer.cs b/editor/app/src/DocRef.Designer.cs index 012e4b45d..5bd7d1582 100644 --- a/editor/app/src/DocRef.Designer.cs +++ b/editor/app/src/DocRef.Designer.cs @@ -291,33 +291,6 @@ internal static string DatabaseName { } } - /// - /// Looks up a localized string similar to Send users to the right place in your app whether or not it is already installed.. - /// - internal static string DynamicLinksDescription { - get { - return ResourceManager.GetString("DynamicLinksDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set up Firebase Dynamic Links. - /// - internal static string DynamicLinksGuideSummary { - get { - return ResourceManager.GetString("DynamicLinksGuideSummary", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dynamic Links. - /// - internal static string DynamicLinksName { - get { - return ResourceManager.GetString("DynamicLinksName", resourceCulture); - } - } - /// /// Looks up a localized string similar to Failed to load the UnityEditor.iOS.Extensions.Xcode dll. ///Is iOS support installed?. @@ -477,33 +450,6 @@ internal static string GoogleServicesToolMissing { } } - /// - /// Looks up a localized string similar to Let your existing users easily share your app, or their favorite in-app content, via email or SMS.. - /// - internal static string InvitesDescription { - get { - return ResourceManager.GetString("InvitesDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Send Firebase invites from your app. - /// - internal static string InvitesGuideSummary { - get { - return ResourceManager.GetString("InvitesGuideSummary", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invites and Dynamic Links. - /// - internal static string InvitesName { - get { - return ResourceManager.GetString("InvitesName", resourceCulture); - } - } - /// /// Looks up a localized string similar to iOS. /// diff --git a/editor/app/src/DocRef.resx b/editor/app/src/DocRef.resx index 9ec4326e8..a90d06161 100644 --- a/editor/app/src/DocRef.resx +++ b/editor/app/src/DocRef.resx @@ -195,15 +195,6 @@ Set up Firebase Realtime Database - - Dynamic Links - - - Send users to the right place in your app whether or not it is already installed. - - - Set up Firebase Dynamic Links - Cloud Functions for Firebase @@ -213,15 +204,6 @@ Set up Cloud Functions for Firebase - - Invites and Dynamic Links - - - Let your existing users easily share your app, or their favorite in-app content, via email or SMS. - - - Send Firebase invites from your app - Remote Config diff --git a/editor/app/src/Link.Designer.cs b/editor/app/src/Link.Designer.cs index 9c284e00b..62a15359e 100644 --- a/editor/app/src/Link.Designer.cs +++ b/editor/app/src/Link.Designer.cs @@ -168,24 +168,6 @@ internal static string DatabaseReference { } } - /// - /// Looks up a localized string similar to https://firebase.google.com/docs/dynamic-links/. - /// - internal static string DynamicLinksGuide { - get { - return ResourceManager.GetString("DynamicLinksGuide", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to https://firebase.google.com/docs/reference/unity/class/firebase/dynamic-links/dynamic-links. - /// - internal static string DynamicLinksReference { - get { - return ResourceManager.GetString("DynamicLinksReference", resourceCulture); - } - } - /// /// Looks up a localized string similar to https://firebase.google.com/docs/functions/. /// @@ -204,24 +186,6 @@ internal static string FunctionsReference { } } - /// - /// Looks up a localized string similar to https://firebase.google.com/docs/invites/. - /// - internal static string InvitesGuide { - get { - return ResourceManager.GetString("InvitesGuide", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to https://firebase.google.com/docs/reference/unity/class/firebase/invites/firebase-invites. - /// - internal static string InvitesReference { - get { - return ResourceManager.GetString("InvitesReference", resourceCulture); - } - } - /// /// Looks up a localized string similar to https://firebase.google.com/docs/unity/setup#add_firebase_to_your_app. /// diff --git a/editor/app/src/Link.resx b/editor/app/src/Link.resx index 8e67e18c9..a6c9da628 100644 --- a/editor/app/src/Link.resx +++ b/editor/app/src/Link.resx @@ -159,24 +159,12 @@ https://firebase.google.com/docs/reference/unity/class/firebase/database/firebase-database - - https://firebase.google.com/docs/dynamic-links/ - - - https://firebase.google.com/docs/reference/unity/class/firebase/dynamic-links/dynamic-links - https://firebase.google.com/docs/functions/ https://firebase.google.com/docs/reference/unity/class/firebase/functions/firebase-functions - - https://firebase.google.com/docs/invites/ - - - https://firebase.google.com/docs/reference/unity/class/firebase/invites/firebase-invites - https://firebase.google.com/docs/remote-config/ diff --git a/editor/app/src/SettingsWindow.cs b/editor/app/src/SettingsWindow.cs index fb5420831..be37290a2 100644 --- a/editor/app/src/SettingsWindow.cs +++ b/editor/app/src/SettingsWindow.cs @@ -215,7 +215,6 @@ void OnEnable() { ApiInfo.CloudMessaging(), ApiInfo.Crashlytics(), ApiInfo.Database(), - ApiInfo.DynamicLinks(), ApiInfo.Functions(), ApiInfo.RemoteConfig(), ApiInfo.Storage()) { diff --git a/editor/app/src/XcodeProjectPatcher.cs b/editor/app/src/XcodeProjectPatcher.cs index 5a83e2856..998bcd407 100644 --- a/editor/app/src/XcodeProjectPatcher.cs +++ b/editor/app/src/XcodeProjectPatcher.cs @@ -396,14 +396,10 @@ internal static void ReadAndApplyFirebaseConfig( // being included. // * DLLs may not be loaded in the Unity Editor App domain so we can't // detect the module using reflection. - var invitesDll = "Firebase.Invites.dll"; var dllsThatRequireReversedClientId = new HashSet { "Firebase.Auth.dll", - "Firebase.DynamicLinks.dll", - invitesDll }; bool reversedClientIdRequired = false; - bool invitesPresent = false; // Search the asset database for the DLLs to handle projects where // users move files around. foreach (var assetGuid in AssetDatabase.FindAssets("t:Object")) { @@ -411,10 +407,9 @@ internal static void ReadAndApplyFirebaseConfig( AssetDatabase.GUIDToAssetPath(assetGuid)); if (dllsThatRequireReversedClientId.Contains(filename)) { reversedClientIdRequired = true; - invitesPresent = filename == invitesDll; } } - if (!(invitesPresent || reversedClientIdRequired)) { + if (!reversedClientIdRequired) { return; } ReadConfig(); @@ -465,12 +460,6 @@ internal static void ReadAndApplyFirebaseConfig( bundleType.SetString("CFBundleURLName", bundleId); bundleType.CreateArray("CFBundleURLSchemes").AddString(bundleId); } - // Invites needs usage permission to access Contacts. - if (invitesPresent) { - if (!rootDict.values.ContainsKey("NSContactsUsageDescription")) { - rootDict.SetString("NSContactsUsageDescription", "Invite others to use the app."); - } - } // Finished, Write to File File.WriteAllText(plistPath, plist.WriteToString()); } diff --git a/proxy/AssemblyInfoApp.cs b/proxy/AssemblyInfoApp.cs index dd3c11326..aacb9ca25 100644 --- a/proxy/AssemblyInfoApp.cs +++ b/proxy/AssemblyInfoApp.cs @@ -41,11 +41,9 @@ [assembly: InternalsVisibleTo("Firebase.DatabaseInternal")] [assembly: InternalsVisibleTo("Firebase.Database.Testing")] [assembly: InternalsVisibleTo("Firebase.DigitalGoods")] -[assembly: InternalsVisibleTo("Firebase.DynamicLinks")] [assembly: InternalsVisibleTo("Firebase.Firestore")] [assembly: InternalsVisibleTo("Firebase.Functions")] [assembly: InternalsVisibleTo("Firebase.Installations")] -[assembly: InternalsVisibleTo("Firebase.Invites")] [assembly: InternalsVisibleTo("Firebase.InstanceId")] [assembly: InternalsVisibleTo("Firebase.Messaging")] [assembly: InternalsVisibleTo("Firebase.ML.NaturalLanguage.LanguageId")] diff --git a/release_build_files/CMakeLists.txt b/release_build_files/CMakeLists.txt index 0e2e161c2..d5517c389 100644 --- a/release_build_files/CMakeLists.txt +++ b/release_build_files/CMakeLists.txt @@ -50,11 +50,6 @@ unity_pack_file( PACK_PATH "Firebase/Editor" ) -unity_pack_file( - "${FIREBASE_UNITY_DIR}/docs/dynamic_links/DynamicLinksReadme.md" - PACK_PATH "Firebase/Editor" -) - unity_pack_file( "${FIREBASE_UNITY_DIR}/docs/firebaseai/FirebaseAIReadme.md" PACK_PATH "Firebase/Editor" diff --git a/scripts/build_scripts/build_package.py b/scripts/build_scripts/build_package.py index 1b14bc275..c987270da 100644 --- a/scripts/build_scripts/build_package.py +++ b/scripts/build_scripts/build_package.py @@ -41,7 +41,7 @@ SUPPORT_TARGETS = [ - "analytics", "app_check", "auth", "crashlytics", "database", "dynamic_links", + "analytics", "app_check", "auth", "crashlytics", "database", "firebaseai", "firestore", "functions", "installations", "messaging", "remote_config", "storage" ] diff --git a/scripts/build_scripts/build_zips.py b/scripts/build_scripts/build_zips.py index 29a588df1..47e7df84a 100644 --- a/scripts/build_scripts/build_zips.py +++ b/scripts/build_scripts/build_zips.py @@ -32,7 +32,7 @@ SUPPORT_PLATFORMS = ("linux", "macos", "windows", "ios", "tvos", "android") SUPPORT_TARGETS = [ - "analytics", "app_check", "auth", "crashlytics", "database", "dynamic_links", + "analytics", "app_check", "auth", "crashlytics", "database", "firebaseai", "firestore", "functions", "installations", "messaging", "remote_config", "storage" ] @@ -193,11 +193,6 @@ def get_targets_args(targets): support_targets = TVOS_SUPPORT_TARGETS if not targets: targets = TVOS_SUPPORT_TARGETS - else: - if 'dynamic_links' in targets: - logging.warning("Dynamic Links is not supported on tvOS. " + - "Removing it from the api build list.") - targets.remove('dynamic_links') if targets: # check if all the entries are valid diff --git a/scripts/create_debug_export.py b/scripts/create_debug_export.py index 44b912b87..d8119a4e8 100644 --- a/scripts/create_debug_export.py +++ b/scripts/create_debug_export.py @@ -34,7 +34,6 @@ "auth": "FirebaseAuth.unitypackage", "crashlytics": "FirebaseCrashlytics.unitypackage", "database": "FirebaseDatabase.unitypackage", - "dynamic_links": "FirebaseDynamicLinks.unitypackage", "firebaseai": "FirebaseAI.unitypackage", "firestore": "FirebaseFirestore.unitypackage", "functions": "FirebaseFunctions.unitypackage", diff --git a/scripts/gha-encrypted/dynamic_links/GoogleService-Info.plist.gpg b/scripts/gha-encrypted/dynamic_links/GoogleService-Info.plist.gpg deleted file mode 100644 index ec086e286..000000000 Binary files a/scripts/gha-encrypted/dynamic_links/GoogleService-Info.plist.gpg and /dev/null differ diff --git a/scripts/gha-encrypted/dynamic_links/google-services.json.gpg b/scripts/gha-encrypted/dynamic_links/google-services.json.gpg deleted file mode 100644 index 028edfb44..000000000 Binary files a/scripts/gha-encrypted/dynamic_links/google-services.json.gpg and /dev/null differ diff --git a/scripts/gha-encrypted/dynamic_links/uri.txt.gpg b/scripts/gha-encrypted/dynamic_links/uri.txt.gpg deleted file mode 100644 index eda9bbdb2..000000000 --- a/scripts/gha-encrypted/dynamic_links/uri.txt.gpg +++ /dev/null @@ -1 +0,0 @@ -Œ  ;È}dØTÿÒNŽ¡èÎ|Ìó ØXSá¬;¬ŽÄ'£NȶÁÓ7Å