diff --git a/Assets/GeneratedLocalRepo.meta b/Assets/GeneratedLocalRepo.meta deleted file mode 100644 index 664b68f2..00000000 --- a/Assets/GeneratedLocalRepo.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 942372e0a39170840b5107589bbc8855 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn.meta b/Assets/GeneratedLocalRepo/GoogleSignIn.meta deleted file mode 100644 index 505c17cd..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0349fcb1e5762334391642aca2cd6ec9 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor.meta deleted file mode 100644 index f050118b..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d29c0cdd54ad5bf42961a942a27587b6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository.meta deleted file mode 100644 index a9b9de47..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 570dd445e1db5f043b0bed2a4b26a858 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com.meta deleted file mode 100644 index f889e5b4..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 81ba2e5a7b10b804b9b3f8f44cd08d65 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google.meta deleted file mode 100644 index 378a5ba2..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4b12ef651963e1647bcf34b06d452359 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin.meta deleted file mode 100644 index f50ac50a..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3fbcb798450a9da458bd1ff200efc8e4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support.meta deleted file mode 100644 index 42a565a6..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 546d95353e1ea6741b19368cca1ccb30 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4.meta deleted file mode 100644 index 39025d4b..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d3a26cbe3cb25014bbe2889e4c379bcc -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar deleted file mode 100644 index 1ebd5a13..00000000 Binary files a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar and /dev/null differ diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar.meta deleted file mode 100644 index 5d304c50..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar.meta +++ /dev/null @@ -1,29 +0,0 @@ -fileFormatVersion: 2 -guid: ed2ae7de4097e26439f6aef5df2ce991 -labels: -- gpsr -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom deleted file mode 100644 index 1ccd2def..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.google.signin - google-signin-support - 1.0.4 - aar - \ No newline at end of file diff --git a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.meta b/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.meta deleted file mode 100644 index 5ade7d7f..00000000 --- a/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 1847715e547531b4d91b87619689c0f1 -labels: -- gpsr -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn.meta b/Assets/GoogleSignIn.meta deleted file mode 100644 index b61c9432..00000000 --- a/Assets/GoogleSignIn.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a089c79cc334748a5a29c5f219b7cfd4 -folderAsset: yes -timeCreated: 1490807626 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor.meta b/Assets/GoogleSignIn/Editor.meta deleted file mode 100644 index d55e3f7a..00000000 --- a/Assets/GoogleSignIn/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a7e77ece57ef34772969fad4915b1a4c -folderAsset: yes -timeCreated: 1490978071 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml b/Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml deleted file mode 100644 index 5aaffe64..00000000 --- a/Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - extra-google-m2repository - - - - - - - - - - diff --git a/Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml.meta b/Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml.meta deleted file mode 100644 index 6493d604..00000000 --- a/Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 938014c9994164100b26d82840a88fbb -labels: -- gvh -- gvh_version-1.0.4 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml b/Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml deleted file mode 100644 index 1ef90349..00000000 --- a/Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - Assets/GoogleSignIn/Editor/m2repository - - - - diff --git a/Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml.meta b/Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml.meta deleted file mode 100644 index 578e49d5..00000000 --- a/Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e8689106c65f445c19cec6044d615c19 -labels: -- gvh -- gvh_version-1.0.4 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/google-signin-plugin_v1.0.4.txt b/Assets/GoogleSignIn/Editor/google-signin-plugin_v1.0.4.txt deleted file mode 100644 index a0e24547..00000000 --- a/Assets/GoogleSignIn/Editor/google-signin-plugin_v1.0.4.txt +++ /dev/null @@ -1,33 +0,0 @@ -Assets/PlayServicesResolver/Editor/Google.VersionHandlerImpl_v1.2.89.0.dll -Assets/PlayServicesResolver/Editor/Google.IOSResolver_v1.2.89.0.dll -Assets/PlayServicesResolver/Editor/Google.VersionHandler.dll -Assets/PlayServicesResolver/Editor/Google.JarResolver_v1.2.89.0.dll -Assets/Plugins/iOS/GoogleSignIn/GoogleSignInAppController.mm -Assets/Plugins/iOS/GoogleSignIn/GoogleSignInAppController.h -Assets/Plugins/iOS/GoogleSignIn/GoogleSignIn.h -Assets/Plugins/iOS/GoogleSignIn/GoogleSignIn.mm -Assets/Parse/LICENSE -Assets/Parse/Plugins/Unity.Compat.dll -Assets/Parse/Plugins/Unity.Tasks.dll -Assets/SignInSample/MainScene.unity -Assets/SignInSample/SigninSampleScript.cs -Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs -Assets/GoogleSignIn/Impl/SignInHelperObject.cs -Assets/GoogleSignIn/Impl/NativeFuture.cs -Assets/GoogleSignIn/Impl/BaseObject.cs -Assets/GoogleSignIn/GoogleSignIn.cs -Assets/GoogleSignIn/GoogleSignInConfiguration.cs -Assets/GoogleSignIn/Future.cs -Assets/GoogleSignIn/GoogleSignInUser.cs -Assets/GoogleSignIn/GoogleSignInStatusCode.cs -Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml -Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5 -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1 -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5 -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1 -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1 -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom -Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5 diff --git a/Assets/GoogleSignIn/Editor/google-signin-plugin_v1.0.4.txt.meta b/Assets/GoogleSignIn/Editor/google-signin-plugin_v1.0.4.txt.meta deleted file mode 100644 index eb7a5d66..00000000 --- a/Assets/GoogleSignIn/Editor/google-signin-plugin_v1.0.4.txt.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a67d5f0cfc09749e6b1ce13e8b8e6e1d -labels: -- gvh -- gvh_manifest -- gvh_version-1.0.4 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository.meta b/Assets/GoogleSignIn/Editor/m2repository.meta deleted file mode 100644 index 26cfc222..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: eefc3dc8b56e545998952bd59ab36247 -folderAsset: yes -timeCreated: 1508956004 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com.meta b/Assets/GoogleSignIn/Editor/m2repository/com.meta deleted file mode 100644 index 9372f2b8..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ade49ef91c70440a0baeac322ecaa2d7 -folderAsset: yes -timeCreated: 1508956004 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google.meta deleted file mode 100644 index a1cf31a7..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 707de6ade212a46b1ab4bf4d42325176 -folderAsset: yes -timeCreated: 1508956004 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin.meta deleted file mode 100644 index 4a56a312..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 34b86fc2e934d482ea5f9d1f5354b0f9 -folderAsset: yes -timeCreated: 1508956004 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support.meta deleted file mode 100644 index 1132fbfe..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e3becceb8680148d59e5bb93e5eb5a24 -folderAsset: yes -timeCreated: 1508956004 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4.meta deleted file mode 100644 index 27236f59..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 001a15402063b4df983ba8bc4ddb269f -folderAsset: yes -timeCreated: 1537405253 -licenseType: Pro -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom deleted file mode 100644 index ce320d07..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom +++ /dev/null @@ -1,9 +0,0 @@ - - - 4.0.0 - com.google.signin - google-signin-support - 1.0.4 - srcaar - diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5 b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5 deleted file mode 100644 index a6bc0c50..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -7cd48eaf454469c04dae63043d467d69 \ No newline at end of file diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5.meta deleted file mode 100644 index 8209b096..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.md5.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 907bf7a19cd7848cabf1f641f61343ee -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.meta deleted file mode 100644 index 94612747..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a3f74b3d329a24e81a6c6f9f1d2f46f1 -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1 b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1 deleted file mode 100644 index 8721bf36..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -f30d09407a5b0e439bfc0e54e33f3a34f7c7d35c \ No newline at end of file diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1.meta deleted file mode 100644 index df944c49..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom.sha1.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e1a3ff77f802d43818521ff3db2bf944 -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar deleted file mode 100644 index 1ebd5a13..00000000 Binary files a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar and /dev/null differ diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5 b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5 deleted file mode 100644 index f7df30ce..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5 +++ /dev/null @@ -1 +0,0 @@ -040097cf545e84135c0e4d783e3b1143 \ No newline at end of file diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5.meta deleted file mode 100644 index ee2f55dd..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.md5.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 79f9d122dd99b483282294f3b1f1bd36 -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.meta deleted file mode 100644 index 4ae20ba3..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 6eab7a3cbdbf34cffaf951dc9210a32c -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1 b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1 deleted file mode 100644 index db669bff..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1 +++ /dev/null @@ -1 +0,0 @@ -632874f93336b4f05e15f55b63656dace924fa72 \ No newline at end of file diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1.meta deleted file mode 100644 index 124743a3..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.srcaar.sha1.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d508eb0e16bb14c8a962b343e755ef01 -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml deleted file mode 100644 index c3049afe..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - com.google.signin - google-signin-support - - 1.0.4 - - 1.0.4 - - 20180920010048 - - diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5 b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5 deleted file mode 100644 index 77f39ed2..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5 +++ /dev/null @@ -1 +0,0 @@ -e243363a85b4f7bd1170918ba674061b \ No newline at end of file diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5.meta deleted file mode 100644 index 49e3156c..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.md5.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c020582c1a85d47c7934908f00a0bd37 -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.meta deleted file mode 100644 index 1236df6d..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f3911d467587242978192a8723c68395 -labels: -- gvh -- gvh_version-1.0.4 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1 b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1 deleted file mode 100644 index e1c0999f..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1 +++ /dev/null @@ -1 +0,0 @@ -43ebede449c3782df517a7156c18c28cde4fd4f4 \ No newline at end of file diff --git a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1.meta b/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1.meta deleted file mode 100644 index 63dc4be7..00000000 --- a/Assets/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/maven-metadata.xml.sha1.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 16b8065a143bb4277af08381a56157dd -labels: -- gvh -- gvh_version-1.0.4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Future.cs b/Assets/GoogleSignIn/Future.cs deleted file mode 100644 index df469423..00000000 --- a/Assets/GoogleSignIn/Future.cs +++ /dev/null @@ -1,84 +0,0 @@ -// -// Copyright (C) 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 Google { - using System.Collections; - using System.Threading.Tasks; - using UnityEngine; - - /// - /// Interface for implementations of the Future API. - /// - internal interface FutureAPIImpl { - bool Pending { get; } - GoogleSignInStatusCode Status { get; } - T Result { get; } - } - - /// - /// Future return value. - /// - /// This class provides a promise of a result from a method call. - /// The typical usage is to check the Pending property until it is false. - /// At this time either the Status or Result will be available for use. - /// Result is only set if the operation was successful. - /// As a convience, a coroutine to complete a Task is provided. - /// - public class Future { - - private FutureAPIImpl apiImpl; - - internal Future(FutureAPIImpl impl) { - apiImpl = impl; - } - - /// - /// Gets a value indicating whether this - /// is pending. - /// - /// true if pending; otherwise, false. - public bool Pending { get { return apiImpl.Pending; } } - - /// - /// Gets the status. - /// - /// The status is set when Pending == false. - GoogleSignInStatusCode Status { get { return apiImpl.Status; } } - - /// - /// Gets the result. - /// - /// The result is set when Pending == false and there is no error. - /// - T Result { get { return apiImpl.Result; } } - - /// - /// Waits for result then completes the TaskCompleationSource. - /// - /// The for result. - /// Tcs. - internal IEnumerator WaitForResult(TaskCompletionSource tcs) { - yield return new WaitUntil(() => !Pending); - if (Status == GoogleSignInStatusCode.Canceled) { - tcs.SetCanceled(); - } else if (Status == GoogleSignInStatusCode.Success || - Status == GoogleSignInStatusCode.SuccessCached) { - tcs.SetResult(Result); - } else { - tcs.SetException(new GoogleSignIn.SignInException(Status)); - } - } - } -} \ No newline at end of file diff --git a/Assets/GoogleSignIn/Future.cs.meta b/Assets/GoogleSignIn/Future.cs.meta deleted file mode 100644 index 75a7f224..00000000 --- a/Assets/GoogleSignIn/Future.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: ad3b09fb652fb4ff0a68d1966f13160e -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/GoogleSignIn.cs b/Assets/GoogleSignIn/GoogleSignIn.cs deleted file mode 100644 index c59ced72..00000000 --- a/Assets/GoogleSignIn/GoogleSignIn.cs +++ /dev/null @@ -1,202 +0,0 @@ -// -// Copyright (C) 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 Google { - using System; - using System.Runtime.Serialization; - using System.Threading.Tasks; - using Google.Impl; - using UnityEngine; - - /// - /// Google sign in API. - /// - /// This class implements the GoogleSignInAPI for Unity. - /// Typical usage is to set the Configuration options as needed, then - /// get the DefaultInstance and call signIn or signInSilently. See - /// the - /// Google Sign-In API documentation for more details. - /// - /// - /// private static readonly GoogleSignInConfiguration configuration = - /// new GoogleSignInConfiguration { - /// WebClientId = "", - /// RequestIdToken = true - /// }; - /// - /// public void OnSignIn() { - /// GoogleSignIn.Configuration = configuration; - /// GoogleSignIn.Configuration.UseGameSignIn = false; - /// GoogleSignIn.Configuration.RequestIdToken = true; - /// GoogleSignIn.DefaultInstance.SignIn().ContinueWith( - /// OnAuthenticationFinished); - /// } - /// - /// - /// - public class GoogleSignIn { - -#if !UNITY_ANDROID && !UNITY_IOS - static GoogleSignIn() { - Debug.LogError("This platform is not supported"); - } -#endif - - private static GoogleSignIn theInstance = null; - private static GoogleSignInConfiguration theConfiguration = null; - private ISignInImpl impl; - - /// The configuration settings for Google Sign-in. - /// The configuration should be set before calling the sign-in - /// methods. Once the configuration is set it cannot be changed. - /// - public static GoogleSignInConfiguration Configuration { - set { - // Can set the configuration until the singleton is created. - if (theInstance == null || theConfiguration == value || theConfiguration == null) { - theConfiguration = value; - } else { - throw new SignInException(GoogleSignInStatusCode.DeveloperError, - "DefaultInstance already created. " + - " Cannot change configuration after creation."); - } - } - - get { - return theConfiguration; - } - } - - /// - /// Singleton instance of this class. - /// - /// The instance. - public static GoogleSignIn DefaultInstance { - get { - if (theInstance == null) { -#if UNITY_ANDROID || UNITY_IOS - theInstance = new GoogleSignIn(new GoogleSignInImpl(Configuration)); -#else - theInstance = new GoogleSignIn(null); - throw new SignInException( - GoogleSignInStatusCode.DeveloperError, - "This platform is not supported by GoogleSignIn"); -#endif - } - return theInstance; - } - } - - internal GoogleSignIn(GoogleSignInImpl impl) { - this.impl = impl; - } - - public void EnableDebugLogging(bool flag) { - impl.EnableDebugLogging(flag); - } - - /// Starts the authentication process. - /// - /// The authenication process is started and may display account picker - /// popups and consent prompts based on the state of authentication and - /// the requested elements. - /// - public Task SignIn() { - var tcs = new TaskCompletionSource(); - SignInHelperObject.Instance.StartCoroutine( - impl.SignIn().WaitForResult(tcs)); - return tcs.Task; - } - - /// Starts the silent authentication process. - /// - /// The authenication process is started and will attempt to sign in without - /// displaying any UI. If this cannot be done, the developer should call - /// SignIn(). - /// - public Task SignInSilently() { - var tcs = new TaskCompletionSource(); - SignInHelperObject.Instance.StartCoroutine( - impl.SignInSilently().WaitForResult(tcs)); - return tcs.Task; - } - - /// - /// Signs out the User. - /// - /// Future sign-in attempts will require the user to select the - /// account to use when signing in. - /// - public void SignOut() { - theConfiguration = null; - impl.SignOut(); - } - - /// - /// Disconnect this instance. - /// - /// When the user is disconnected, it revokes all access that may - /// have been granted to this application. This includes any server side - /// access tokens derived from server auth codes. As a result, future - /// sign-in attempts will require the user to re-consent to the requested - /// scopes. - /// - public void Disconnect() { - impl.Disconnect(); - } - - /// - /// Sign in exception. This is a checked exception for handling specific - /// errors during the sign-in process. - /// - [Serializable] - public class SignInException : Exception { - internal SignInException(GoogleSignInStatusCode status) { - Status = status; - } - - public SignInException(GoogleSignInStatusCode status, string message) : - base(message) { - Status = status; - } - - public SignInException(GoogleSignInStatusCode status, string message, - Exception innerException) : base(message, innerException) { - Status = status; - } - - protected SignInException(GoogleSignInStatusCode status, - SerializationInfo info, - StreamingContext context) : - base(info, context) { - Status = status; - } - - public GoogleSignInStatusCode Status { - get; - internal set; - } - } - } - - internal interface ISignInImpl { - Future SignIn(); - Future SignInSilently(); - void EnableDebugLogging(bool flag); - void SignOut(); - void Disconnect(); - } -} // namespace Google diff --git a/Assets/GoogleSignIn/GoogleSignIn.cs.meta b/Assets/GoogleSignIn/GoogleSignIn.cs.meta deleted file mode 100644 index 31609ffd..00000000 --- a/Assets/GoogleSignIn/GoogleSignIn.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: 138b984208e394be797ce8905a44fd54 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/GoogleSignInConfiguration.cs b/Assets/GoogleSignIn/GoogleSignInConfiguration.cs deleted file mode 100644 index d914c68d..00000000 --- a/Assets/GoogleSignIn/GoogleSignInConfiguration.cs +++ /dev/null @@ -1,63 +0,0 @@ -// -// Copyright (C) 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 Google { - using System.Collections.Generic; - - /// - /// Configuration properties for Google Sign-In. - /// - public class GoogleSignInConfiguration { - /// Set to true to use games signin, false for default signin. - /// - /// Note: The Games configuration is not supported on non-Android - /// platforms. - /// If games configuration is used, you must also add the - /// play-services-games libraries and dependencies. - /// See the README for more details. - /// - public bool UseGameSignIn = false; - /// Web client id associated with this app. - /// Required for requesting auth code or id token. - public string WebClientId = null; - /// Set to true for getting an auth code when authenticating. - /// - public bool RequestAuthCode = false; - /// Set to true to request to reset the refresh token. - /// Causes re-consent. - /// - public bool ForceTokenRefresh = false; - /// Request email address, requires consent. - public bool RequestEmail = false; - /// Request id token, requires consent. - public bool RequestIdToken = false; - /// Request profile information, requires consent. - public bool RequestProfile = false; - /// Hides popup UIs from games services. - /// Used with games signin to show or hide the connecting popup UI - /// and to associate an invisible view for other popups. This is - /// recommended for VR applications. This has no effect if UseGameSignIn is - /// false. - /// - public bool HidePopups = false; - /// Account name to use when authenticating, - /// null indicates use default. - public string AccountName = null; - /// Additional scopes to request, requires consent. - public IEnumerable AdditionalScopes = null; - } -} - diff --git a/Assets/GoogleSignIn/GoogleSignInConfiguration.cs.meta b/Assets/GoogleSignIn/GoogleSignInConfiguration.cs.meta deleted file mode 100644 index 943644cc..00000000 --- a/Assets/GoogleSignIn/GoogleSignInConfiguration.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: 0c3999c0f68f04ae08f04fb3bf2a2050 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/GoogleSignInController.cs b/Assets/GoogleSignIn/GoogleSignInController.cs deleted file mode 100644 index 5383ed44..00000000 --- a/Assets/GoogleSignIn/GoogleSignInController.cs +++ /dev/null @@ -1,50 +0,0 @@ -using UnityEngine; -using Google; -using System.Threading.Tasks; - -public class GoogleSignInController : MonoBehaviour -{ - private GoogleSignInConfiguration configuration; - - void Awake() - { - // Set up the Google Sign-In configuration - configuration = new GoogleSignInConfiguration - { - WebClientId = "624507103444-6agok4g1q29bsb615v235jbf0k585ruk.apps.googleusercontent.com", - RequestEmail = true, - RequestIdToken = false, // ❌ We no longer request IdToken, since we use ServerAuthCode instead - RequestAuthCode = true // ✅ Enable ServerAuthCode for secure backend authentication - }; - - GoogleSignIn.Configuration = configuration; - } - - public void SignInWithGoogle() - { - GoogleSignIn.DefaultInstance.SignIn().ContinueWith(OnGoogleSignIn); - } - - private void OnGoogleSignIn(Task task) - { - if (task.IsFaulted) - { - Debug.LogError("Google Sign-In encountered an error: " + task.Exception); - } - else if (task.IsCanceled) - { - Debug.Log("Google Sign-In was canceled."); - } - else - { - GoogleSignInUser user = task.Result; - Debug.Log("✅ Google Sign-In succeeded!"); - Debug.Log("👤 Display Name: " + user.DisplayName); - Debug.Log("📧 Email: " + user.Email); - Debug.Log("🔑 Server Auth Code: " + user.AuthCode); - - // 🔹 Send this AuthCode to your backend (PlayFab, Firebase, or custom server) - // The backend will exchange this for an access token. - } - } -} diff --git a/Assets/GoogleSignIn/GoogleSignInController.cs.meta b/Assets/GoogleSignIn/GoogleSignInController.cs.meta deleted file mode 100644 index 0b41ba01..00000000 --- a/Assets/GoogleSignIn/GoogleSignInController.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8948afce6ec0e984aa137d3f84aba688 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/GoogleSignInStatusCode.cs b/Assets/GoogleSignIn/GoogleSignInStatusCode.cs deleted file mode 100644 index 0719f2c2..00000000 --- a/Assets/GoogleSignIn/GoogleSignInStatusCode.cs +++ /dev/null @@ -1,72 +0,0 @@ -// -// Copyright (C) 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 Google { - - /// - /// Status code for the SignIn operations. - /// - /// All successful status codes are less than or equal to 0. - /// - public enum GoogleSignInStatusCode { - /// The operation was successful, but used the device's cache. - /// - SuccessCached = -1, - - /// The operation was successful. - Success = 0, - - /// The client attempted to call a method from an API that - /// failed to connect. - ApiNotConnected = 1, - - /// The result was canceled either due to client disconnect - /// or cancel(). - Canceled = 2, - - /// A blocking call was interrupted while waiting and did not - /// run to completion. - Interrupted = 3, - - /// The client attempted to connect to the service with an - /// invalid account name specified. - InvalidAccount = 4, - - /// Timed out while awaiting the result. - Timeout = 5, - - /// The application is misconfigured. - /// This error is not recoverable. - /// - /// The developer should look at the logs after this to determine - /// more actionable information. - /// - DeveloperError = 6, - - /// An internal error occurred. Retrying should resolve the - /// problem. - InternalError = 7, - - /// A network error occurred. Retrying should resolve the problem. - /// - NetworkError = 8, - - /// The operation failed with no more detailed information. - /// - Error = 9, - } -} // namespace GoogleSignIn - diff --git a/Assets/GoogleSignIn/GoogleSignInStatusCode.cs.meta b/Assets/GoogleSignIn/GoogleSignInStatusCode.cs.meta deleted file mode 100644 index 238e45f5..00000000 --- a/Assets/GoogleSignIn/GoogleSignInStatusCode.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: 077933fcaedac412d9762bf3e0a3be68 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/GoogleSignInUser.cs b/Assets/GoogleSignIn/GoogleSignInUser.cs deleted file mode 100644 index a3ea8b3f..00000000 --- a/Assets/GoogleSignIn/GoogleSignInUser.cs +++ /dev/null @@ -1,76 +0,0 @@ -// -// Copyright (C) 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 Google { - using System; - - /// Information for the authenticated user. - public class GoogleSignInUser { - - /// Server AuthCode to be exchanged for an auth token. - /// null if not requested, or if there was an error. - public string AuthCode { - get; - internal set; - } - - /// Email address. - /// null if not requested, or if there was an error. - public string Email { - get; - internal set; - } - - /// Id token. - /// null if not requested, or if there was an error. - public string IdToken { - get; - internal set; - } - - /// Display Name. - public string DisplayName { - get; - internal set; - } - - /// Given Name. - public string GivenName { - get; - internal set; - } - - /// Family Name. - public string FamilyName { - get; - internal set; - } - - /// Profile photo - /// Can be null if the profile is not requested, - /// or none set. - public Uri ImageUrl { - get; - internal set; - } - - /// User ID - public string UserId { - get; - internal set; - } - } -} diff --git a/Assets/GoogleSignIn/GoogleSignInUser.cs.meta b/Assets/GoogleSignIn/GoogleSignInUser.cs.meta deleted file mode 100644 index 587c6861..00000000 --- a/Assets/GoogleSignIn/GoogleSignInUser.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: c56b92217d0144af5907627d1235e0a5 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Impl.meta b/Assets/GoogleSignIn/Impl.meta deleted file mode 100644 index de5f17f2..00000000 --- a/Assets/GoogleSignIn/Impl.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 2fbe4f3ec9db4415e849f9bb89e63a92 -folderAsset: yes -timeCreated: 1502761839 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Impl/BaseObject.cs b/Assets/GoogleSignIn/Impl/BaseObject.cs deleted file mode 100644 index 44d65013..00000000 --- a/Assets/GoogleSignIn/Impl/BaseObject.cs +++ /dev/null @@ -1,70 +0,0 @@ -// -// Copyright (C) 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 Google.Impl { - using System; - using System.Runtime.InteropServices; - using System.Text; - using UnityEngine; - - /// - /// Base object manages the pointer to a native object which provides the - /// implementation of a C# object. - /// - internal abstract class BaseObject : IDisposable { - // handle to native object. - private HandleRef selfHandleRef; - private static HandleRef nullSelf = new HandleRef(); - - public BaseObject(IntPtr intPtr) { - selfHandleRef = new HandleRef(this, intPtr); - } - - protected HandleRef SelfPtr() { - if (selfHandleRef.Equals(nullSelf)) { - throw new InvalidOperationException( - "Attempted to use object after it was cleaned up"); - } - return selfHandleRef; - } - - public virtual void Dispose() { - selfHandleRef = nullSelf; - } - - internal delegate UIntPtr OutStringMethod([In, Out] byte[] out_bytes, - UIntPtr out_size); - - internal static String OutParamsToString(OutStringMethod outStringMethod) { - UIntPtr requiredSize = outStringMethod(null, UIntPtr.Zero); - if (requiredSize.Equals(UIntPtr.Zero)) { - return null; - } - - string str = null; - try { - byte[] array = new byte[requiredSize.ToUInt32()]; - outStringMethod(array, requiredSize); - str = Encoding.UTF8.GetString(array, 0, - (int)requiredSize.ToUInt32() - 1); - } catch (Exception e) { - Debug.LogError("Exception creating string from char array: " + e); - str = string.Empty; - } - return str; - } - } -} diff --git a/Assets/GoogleSignIn/Impl/BaseObject.cs.meta b/Assets/GoogleSignIn/Impl/BaseObject.cs.meta deleted file mode 100644 index 0e24225d..00000000 --- a/Assets/GoogleSignIn/Impl/BaseObject.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: fe250cda690a44cb08f8f7d26c9723b4 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs b/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs deleted file mode 100644 index 78c8081f..00000000 --- a/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs +++ /dev/null @@ -1,187 +0,0 @@ -// -// Copyright (C) 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 Google.Impl { - using System; - using System.Collections.Generic; - using System.Runtime.InteropServices; - - internal class GoogleSignInImpl : BaseObject, ISignInImpl { - -#if UNITY_ANDROID - private const string DllName = "native-googlesignin"; -#else - private const string DllName = "__Internal"; -#endif - - internal GoogleSignInImpl(GoogleSignInConfiguration configuration) - : base(GoogleSignIn_Create(GetPlayerActivity())) { - - if (configuration != null) { - List scopes = new List(); - if (configuration.AdditionalScopes != null) { - scopes.AddRange(configuration.AdditionalScopes); - } - GoogleSignIn_Configure(SelfPtr(), configuration.UseGameSignIn, - configuration.WebClientId, - configuration.RequestAuthCode, - configuration.ForceTokenRefresh, - configuration.RequestEmail, - configuration.RequestIdToken, - configuration.HidePopups, - scopes.ToArray(), - scopes.Count, - configuration.AccountName); - } - } - - /// Enables/Disables verbose logging to help troubleshooting - public void EnableDebugLogging(bool flag) { - GoogleSignIn_EnableDebugLogging(SelfPtr(), flag); - } - - /// - /// Starts the authentication process. - /// - /// - /// The authenication process is started and may display account picker - /// popups and consent prompts based on the state of authentication and - /// the requested elements. - /// - public Future SignIn() { - IntPtr nativeFuture = GoogleSignIn_SignIn(SelfPtr()); - return new Future(new NativeFuture(nativeFuture)); - } - - /// - /// Starts the authentication process. - /// - /// - /// The authenication process is started and may display account picker - /// popups and consent prompts based on the state of authentication and - /// the requested elements. - /// - public Future SignInSilently() { - IntPtr nativeFuture = GoogleSignIn_SignInSilently(SelfPtr()); - return new Future(new NativeFuture(nativeFuture)); - } - - /// - /// Signs out the User. - /// - public void SignOut() { - GoogleSignIn_Signout(SelfPtr()); - } - - /// - /// Disconnects the user from the application and revokes all consent. - /// - public void Disconnect() { - GoogleSignIn_Disconnect(SelfPtr()); - } - - /// - /// Creates an instance of the native Google Sign-In implementation. - /// - /// - /// For Android this must be the JNI raw object for the parentActivity. - /// For iOS it is ignored. - /// - /// The pointer to the instance. - /// Data used in creating the instance. - [DllImport(DllName)] - static extern IntPtr GoogleSignIn_Create(IntPtr data); - - [DllImport(DllName)] - static extern void GoogleSignIn_EnableDebugLogging(HandleRef self, bool flag); - - [DllImport(DllName)] - static extern bool GoogleSignIn_Configure(HandleRef self, - bool useGameSignIn, string webClientId, - bool requestAuthCode, bool forceTokenRefresh, bool requestEmail, - bool requestIdToken, bool hidePopups, string[] additionalScopes, - int scopeCount, string accountName); - - [DllImport(DllName)] - static extern IntPtr GoogleSignIn_SignIn(HandleRef self); - - [DllImport(DllName)] - static extern IntPtr GoogleSignIn_SignInSilently(HandleRef self); - - [DllImport(DllName)] - static extern void GoogleSignIn_Signout(HandleRef self); - - [DllImport(DllName)] - static extern void GoogleSignIn_Disconnect(HandleRef self); - - [DllImport(DllName)] - internal static extern void GoogleSignIn_DisposeFuture(HandleRef self); - - [DllImport(DllName)] - internal static extern bool GoogleSignIn_Pending(HandleRef self); - - [DllImport(DllName)] - internal static extern IntPtr GoogleSignIn_Result(HandleRef self); - - [DllImport(DllName)] - internal static extern int GoogleSignIn_Status(HandleRef self); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetServerAuthCode( - HandleRef self, [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetDisplayName(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetEmail(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetFamilyName(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetGivenName(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetIdToken(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetImageUrl(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - [DllImport(DllName)] - internal static extern UIntPtr GoogleSignIn_GetUserId(HandleRef self, - [In, Out] byte[] bytes, UIntPtr len); - - // Gets the Unity player activity. - // For iOS, this returns Zero. - private static IntPtr GetPlayerActivity() { -#if UNITY_ANDROID - UnityEngine.AndroidJavaClass jc = new UnityEngine.AndroidJavaClass( - "com.unity3d.player.UnityPlayer"); - return jc.GetStatic("currentActivity") - .GetRawObject(); -#else - return IntPtr.Zero; -#endif - } - } -} diff --git a/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs.meta b/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs.meta deleted file mode 100644 index 46c1d561..00000000 --- a/Assets/GoogleSignIn/Impl/GoogleSignInImpl.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: 9ae1f008f9f994b9c96c1a14067d7b48 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Impl/NativeFuture.cs b/Assets/GoogleSignIn/Impl/NativeFuture.cs deleted file mode 100644 index 6d460f22..00000000 --- a/Assets/GoogleSignIn/Impl/NativeFuture.cs +++ /dev/null @@ -1,102 +0,0 @@ -// -// Copyright (C) 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 Google.Impl { - using System; - using System.Runtime.InteropServices; - - /// - /// Native future is an interal class that implements the FutureAPIImpl - /// by calling native methods which are implemented in the native code. - /// - internal class NativeFuture : BaseObject, FutureAPIImpl { - - internal NativeFuture(IntPtr ptr) : base(ptr) { - } - - public override void Dispose() { - GoogleSignInImpl.GoogleSignIn_DisposeFuture(SelfPtr()); - base.Dispose(); - } - - public bool Pending { - get { - return GoogleSignInImpl.GoogleSignIn_Pending(SelfPtr()); - } - } - - public GoogleSignInUser Result { - get { - IntPtr ptr = GoogleSignInImpl.GoogleSignIn_Result(SelfPtr()); - if (ptr != IntPtr.Zero) { - GoogleSignInUser user = new GoogleSignInUser(); - HandleRef userPtr = new HandleRef(user, ptr); - - user.DisplayName = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetDisplayName(userPtr, - out_string, - out_size)); - user.Email = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetEmail(userPtr, out_string, - out_size)); - - user.FamilyName = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetFamilyName(userPtr, out_string, - out_size)); - - user.GivenName = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetGivenName(userPtr, out_string, - out_size)); - - user.IdToken = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetIdToken(userPtr, out_string, - out_size)); - - user.AuthCode = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetServerAuthCode(userPtr, out_string, - out_size)); - - string url = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetImageUrl(userPtr, out_string, - out_size)); - if (url.Length > 0) { - user.ImageUrl = new System.Uri(url); - } - - user.UserId = OutParamsToString((out_string, out_size) => - GoogleSignInImpl.GoogleSignIn_GetUserId(userPtr, out_string, - out_size)); - return user; - } else { - return null; - } - } - } - - /// - /// Gets the status. - /// - /// The platform specific implementation maps the platform specific - /// code to one defined in GoogleSignStatusCode. - /// The status. - public GoogleSignInStatusCode Status { - get { - return (GoogleSignInStatusCode)GoogleSignInImpl.GoogleSignIn_Status( - SelfPtr()); - } - } - } -} diff --git a/Assets/GoogleSignIn/Impl/NativeFuture.cs.meta b/Assets/GoogleSignIn/Impl/NativeFuture.cs.meta deleted file mode 100644 index 0cb0bd1b..00000000 --- a/Assets/GoogleSignIn/Impl/NativeFuture.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: 5f1aae79b1ca4432d9d8ec382c54bf46 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSignIn/Impl/SignInHelperObject.cs b/Assets/GoogleSignIn/Impl/SignInHelperObject.cs deleted file mode 100644 index 6fbf3fe0..00000000 --- a/Assets/GoogleSignIn/Impl/SignInHelperObject.cs +++ /dev/null @@ -1,42 +0,0 @@ -// -// Copyright (C) 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 Google.Impl { - using UnityEngine; - - ///Helper object to connect the Sign-in API to the Unity Game Scene. - /// - ///This class is added to the scene so that the Google Sign-in API - /// can start coroutines. - /// - public class SignInHelperObject : MonoBehaviour { - - private static SignInHelperObject instance; - - internal static SignInHelperObject Instance { - get { - if (Application.isPlaying) { - // add an invisible game object to the scene - GameObject obj = new GameObject("GoogleSignInHelperObject"); - DontDestroyOnLoad(obj); - instance = obj.AddComponent(); - } else { - instance = new SignInHelperObject(); - } - return instance; - } - } - } -} diff --git a/Assets/GoogleSignIn/Impl/SignInHelperObject.cs.meta b/Assets/GoogleSignIn/Impl/SignInHelperObject.cs.meta deleted file mode 100644 index 2dd5652c..00000000 --- a/Assets/GoogleSignIn/Impl/SignInHelperObject.cs.meta +++ /dev/null @@ -1,14 +0,0 @@ -fileFormatVersion: 2 -guid: ad98e5b48888e44eb81dd5884d3a1754 -labels: -- gvh -- gvh_version-1.0.4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/GoogleSigninSDK/GoogleSignInManager.cs b/Assets/GoogleSigninSDK/GoogleSignInManager.cs deleted file mode 100644 index 40d51a75..00000000 --- a/Assets/GoogleSigninSDK/GoogleSignInManager.cs +++ /dev/null @@ -1,328 +0,0 @@ -using UnityEngine; -using UnityEngine.UI; -using Google; -using PlayFab; -using PlayFab.ClientModels; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using OneSignalSDK; -using System.Collections; -using OneSignalSDK.Debug.Models; - -public class GoogleSignInManager : MonoBehaviour -{ - private GoogleSignInConfiguration configuration; - public Bootstrapper bootstrapper; - public Button googleSignInButton; - public Button guestLoginButton; - - void Awake() - { - configuration = new GoogleSignInConfiguration - { - WebClientId = "1021701058525-72qg4sbvqv3m3q7it4eck2h86ekoflla.apps.googleusercontent.com", - RequestEmail = true, - RequestAuthCode = true - }; - - GoogleSignIn.Configuration = configuration; - Application.quitting += SyncPlayerPrefsToPlayFabOnQuit; - string ons_id = ""; -#if UNITY_ANDROID - ons_id = GameConstants.OSN_Android; -#elif UNITY_IOS - ons_id = GameConstants.OSN_iOS; -#endif - Debug.Log($"Initializing with appId {ons_id}"); - OneSignal.Debug.LogLevel = LogLevel.Debug; - OneSignal.Initialize(ons_id); - } - - void Start() - { - googleSignInButton.onClick.RemoveAllListeners(); - googleSignInButton.onClick.AddListener(SignInWithGoogle); - - guestLoginButton.onClick.RemoveAllListeners(); - guestLoginButton.onClick.AddListener(GuestLogin); - - if (PlayerPrefs.HasKey("PlayFabID") && !PlayerPrefs.HasKey("GuestMode")) - { - Debug.Log("User previously signed in with Google. Attempting silent login..."); - googleSignInButton.gameObject.SetActive(false); - guestLoginButton.gameObject.SetActive(false); - SignInSilently(); - } - else if (PlayerPrefs.HasKey("GuestMode")) - { - Debug.Log("Guest mode previously selected. Letting user choose again."); - googleSignInButton.gameObject.SetActive(true); - guestLoginButton.gameObject.SetActive(true); - } - else - { - Debug.Log("No login info found. Showing login options."); - googleSignInButton.gameObject.SetActive(true); - guestLoginButton.gameObject.SetActive(true); - } - } - - public void GuestLogin() - { - Debug.Log("Starting game in Guest Mode..."); - SafePlayerPrefs.SetInt("GuestMode", 1); - PlayerPrefs.Save(); - - googleSignInButton.gameObject.SetActive(false); - guestLoginButton.gameObject.SetActive(false); - - PlayFabSettings.staticSettings.TitleId = GameConstants.PlayfabTitleId; - - string customId = SystemInfo.deviceUniqueIdentifier; - SafePlayerPrefs.SetString("GuestCustomID", customId); // Save customId - - var request = new LoginWithCustomIDRequest - { - CustomId = customId, - CreateAccount = true - }; - - PlayFabClientAPI.LoginWithCustomID(request, result => - { - Debug.Log("✅ Guest Login Success! PlayFab ID: " + result.PlayFabId); - SafePlayerPrefs.SetString("PlayFabID", result.PlayFabId); - PlayerPrefs.Save(); - - if (result.NewlyCreated) - { - SafePlayerPrefs.SetInt("NeedsDisplayNameUpload", 1); - PlayerPrefs.Save(); - } - - bootstrapper.StartGame(); - }, - error => - { - Debug.LogError("❌ Guest PlayFab login failed: " + error.GenerateErrorReport()); - googleSignInButton.gameObject.SetActive(true); - guestLoginButton.gameObject.SetActive(true); - }); - } - - public void SignInWithGoogle() - { - PlayerPrefs.DeleteKey("GuestMode"); - PlayerPrefs.DeleteAll(); - PlayerPrefs.Save(); - - googleSignInButton.interactable = false; - guestLoginButton.interactable = false; - - GoogleSignIn.DefaultInstance.SignIn().ContinueWith(OnGoogleSignIn); - } - - private void OnGoogleSignIn(Task task) - { - if (task.IsFaulted || task.IsCanceled) - { - Debug.LogError("Google Sign-In failed: " + task.Exception); - - googleSignInButton.gameObject.SetActive(true); - googleSignInButton.interactable = true; - - guestLoginButton.gameObject.SetActive(true); - guestLoginButton.interactable = true; - return; - } - - GoogleSignInUser user = task.Result; - string authCode = user.AuthCode; - SafePlayerPrefs.SetString("GoogleAuthCode", authCode); - PlayerPrefs.Save(); - - LoginToPlayFab(authCode); - } - - private void SignInSilently() - { - Debug.Log("Attempting Google Silent Sign-In..."); - - GoogleSignIn.DefaultInstance.SignInSilently().ContinueWith(task => - { - if (task.IsFaulted || task.IsCanceled) - { - Debug.LogWarning("Silent Sign-In failed. Showing login buttons."); - googleSignInButton.gameObject.SetActive(true); - googleSignInButton.interactable = true; - - guestLoginButton.gameObject.SetActive(true); - guestLoginButton.interactable = true; - return; - } - - GoogleSignInUser user = task.Result; - string authCode = user.AuthCode; - SafePlayerPrefs.SetString("GoogleAuthCode", authCode); - PlayerPrefs.Save(); - - LoginToPlayFab(authCode); - }); - } - - private void LoginToPlayFab(string authCode) - { - PlayFabSettings.staticSettings.TitleId = GameConstants.PlayfabTitleId; - var request = new LoginWithGoogleAccountRequest - { - TitleId = GameConstants.PlayfabTitleId, - ServerAuthCode = authCode, - CreateAccount = true - }; - - PlayFabClientAPI.LoginWithGoogleAccount(request, OnPlayFabLoginSuccess, OnPlayFabLoginFailure); - } - - private void OnPlayFabLoginSuccess(LoginResult result) - { - Debug.Log("✅ PlayFab Login Success! PlayFab ID: " + result.PlayFabId); - - SafePlayerPrefs.SetString("PlayFabID", result.PlayFabId); - PlayerPrefs.Save(); - - OneSignal.Login(result.PlayFabId); - StartCoroutine(SaveOneSignalPlayerIdToPlayFab()); - - LoadPlayerPrefsFromPlayFab(() => - { - googleSignInButton.gameObject.SetActive(false); - guestLoginButton.gameObject.SetActive(false); - bootstrapper.StartGame(); - }); - } - - private IEnumerator SaveOneSignalPlayerIdToPlayFab() - { - yield return new WaitForSeconds(1f); - - string playerId = OneSignal.User.PushSubscription.Id; - - if (!string.IsNullOrEmpty(playerId)) - { - Debug.Log("✅ Got OneSignal Player ID: " + playerId); - - var request = new UpdateUserDataRequest - { - Data = new Dictionary - { - { "OneSignalPlayerId", playerId } - } - }; - - PlayFabClientAPI.UpdateUserData(request, - result => Debug.Log("✅ Saved OneSignal Player ID to PlayFab"), - error => Debug.LogError("❌ Failed to save OneSignal Player ID: " + error.GenerateErrorReport())); - } - else - { - Debug.LogWarning("⚠️ OneSignal Player ID not available yet."); - } - } - - private void OnPlayFabLoginFailure(PlayFabError error) - { - Debug.LogError("❌ PlayFab Login Failed: " + error.GenerateErrorReport()); - - googleSignInButton.gameObject.SetActive(true); - googleSignInButton.interactable = true; - - guestLoginButton.gameObject.SetActive(true); - guestLoginButton.interactable = true; - } - - private void LoadPlayerPrefsFromPlayFab(Action onComplete) - { - PlayFabClientAPI.GetUserData(new GetUserDataRequest(), result => - { - if (result.Data != null) - { - foreach (var entry in result.Data) - { - string key = entry.Key; - string rawValue = entry.Value.Value; - - if (rawValue.StartsWith("int:") && int.TryParse(rawValue.Substring(4), out int i)) - SafePlayerPrefs.SetInt(key, i); - else if (rawValue.StartsWith("float:") && float.TryParse(rawValue.Substring(6), out float f)) - SafePlayerPrefs.SetFloat(key, f); - else if (rawValue.StartsWith("string:")) - SafePlayerPrefs.SetString(key, rawValue.Substring(7)); - else - SafePlayerPrefs.SetString(key, rawValue); - - PlayerPrefsKeys.RegisterKey(key); - } - PlayerPrefs.Save(); - } - - onComplete?.Invoke(); - }, - error => - { - Debug.LogError("❌ Failed to load SafePlayerPrefs from PlayFab: " + error.GenerateErrorReport()); - onComplete?.Invoke(); - }); - } - - private void SyncPlayerPrefsToPlayFabOnQuit() - { - if (PlayerPrefs.GetInt("GuestMode", 0) == 1) return; - - Dictionary allPrefs = new Dictionary(); - foreach (var key in PlayerPrefsKeys.GetAllKeys()) - { - allPrefs[key] = PlayerPrefs.GetString(key); - } - - var request = new UpdateUserDataRequest - { - Data = allPrefs - }; - - if (PlayFabClientAPI.IsClientLoggedIn()) - { - PlayFabClientAPI.UpdateUserData(request, - result => Debug.Log("✅ Synced SafePlayerPrefs to PlayFab on quit."), - error => Debug.LogError("❌ Failed to sync SafePlayerPrefs: " + error.GenerateErrorReport())); - } - } - - public void SignOut() - { - // 1) Clear PlayFab session in memory - PlayFabClientAPI.ForgetAllCredentials(); - - // 2) Delete every PlayerPref we’ve registered - foreach (var key in PlayerPrefsKeys.GetAllKeys()) - PlayerPrefs.DeleteKey(key); - // Also remove any extra cruft - PlayerPrefs.DeleteKey("GuestMode"); - PlayerPrefs.DeleteKey("GuestCustomID"); - PlayerPrefs.Save(); - - // 3) Sign out of Google - GoogleSignIn.DefaultInstance.SignOut(); - - // 4) Unlink OneSignal from this user - OneSignal.Logout(); - - // 5) Bring back your login buttons - googleSignInButton.gameObject.SetActive(true); - guestLoginButton.gameObject.SetActive(true); - googleSignInButton.interactable = true; - guestLoginButton.interactable = true; - - Debug.Log("✅ User fully signed out."); - } - -} diff --git a/Assets/GoogleSigninSDK/GoogleSignInManager.cs.meta b/Assets/GoogleSigninSDK/GoogleSignInManager.cs.meta deleted file mode 100644 index 9a5af1d6..00000000 --- a/Assets/GoogleSigninSDK/GoogleSignInManager.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aea303bf6931eb64a925ac187863ae99 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Android/mainTemplate.gradle b/Assets/Plugins/Android/mainTemplate.gradle index 95c81ec2..b88aa40b 100644 --- a/Assets/Plugins/Android/mainTemplate.gradle +++ b/Assets/Plugins/Android/mainTemplate.gradle @@ -15,8 +15,6 @@ dependencies { implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12 implementation 'com.google.android.gms:play-services-ads:23.2.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7 implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' // Assets/IronSource/Editor/IronSourceSDKDependencies.xml:17 - implementation 'com.google.android.gms:play-services-auth:20.7.0' // Assets/GoogleSignIn/Editor/GoogleSignInDependencies.xml:10 - implementation 'com.google.android.gms:play-services-base:18.2.0' implementation 'com.google.android.gms:play-services-basement:18.1.0' // Assets/IronSource/Editor/IronSourceSDKDependencies.xml:25 implementation 'com.google.android.ump:user-messaging-platform:2.2.0' // Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7 implementation 'com.ironsource.sdk:mediationsdk:7.3.1.1' // Assets/IronSource/Editor/IronSourceSDKDependencies.xml:9 diff --git a/Assets/Plugins/Android/settingsTemplate.gradle b/Assets/Plugins/Android/settingsTemplate.gradle index f2e9ce89..2f7e1a48 100644 --- a/Assets/Plugins/Android/settingsTemplate.gradle +++ b/Assets/Plugins/Android/settingsTemplate.gradle @@ -24,9 +24,6 @@ dependencyResolutionManagement { maven { url "https://maven.google.com/" // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7, Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12, Assets/GoogleMobileAds/Editor/GoogleUmpDependencies.xml:7, Assets/IronSource/Editor/IronSourceSDKDependencies.xml:17, Assets/IronSource/Editor/IronSourceSDKDependencies.xml:25 } - maven { - url (unityProjectPath + "/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository") // Assets/GoogleSignIn/Editor/GoogleSignInSupportDependencies.xml:9 - } maven { url "https://android-sdk.is.com/" // Assets/IronSource/Editor/IronSourceSDKDependencies.xml:9 } diff --git a/Assets/Scripts/HomeScene.cs b/Assets/Scripts/HomeScene.cs index 38b53fbf..7c55e687 100644 --- a/Assets/Scripts/HomeScene.cs +++ b/Assets/Scripts/HomeScene.cs @@ -15,7 +15,6 @@ U should buy the asset from home store if u use it in your project! using MS; using System.Collections.Generic; using DG.Tweening; -using Google; using OneSignalSDK; using PlayFab; using PlayFab.ClientModels; @@ -431,7 +430,7 @@ public class HomeScene : MonoBehaviour PlayerPrefs.Save(); // 3) Sign out of Google - GoogleSignIn.DefaultInstance.SignOut(); + // GoogleSignIn.DefaultInstance.SignOut(); // 4) Unlink OneSignal from this user OneSignal.Logout(); diff --git a/Assets/Scripts/TimerManager.cs b/Assets/Scripts/TimerManager.cs index 5a24bb8e..90b2d283 100644 --- a/Assets/Scripts/TimerManager.cs +++ b/Assets/Scripts/TimerManager.cs @@ -1,4 +1,3 @@ -using Google.Impl; using System; using TMPro; using UnityEngine; diff --git a/Assets/Scripts/Top10RankChecker.cs b/Assets/Scripts/Top10RankChecker.cs index 34124985..e0a8c1bc 100644 --- a/Assets/Scripts/Top10RankChecker.cs +++ b/Assets/Scripts/Top10RankChecker.cs @@ -1,7 +1,6 @@ using UnityEngine; using PlayFab; using PlayFab.ClientModels; -using Google.Impl; using MS; using TMPro; // Required for TextMeshPro using System; diff --git a/Assets/google-services.json b/Assets/google-services.json deleted file mode 100644 index 7a0722a8..00000000 --- a/Assets/google-services.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "project_info": { - "project_number": "627393855302", - "project_id": "pipuzzle", - "storage_bucket": "pipuzzle.firebasestorage.app" - }, - "client": [ - { - "client_info": { - "mobilesdk_app_id": "1:627393855302:android:11a665de068b25bb316f47", - "android_client_info": { - "package_name": "com.rizze.pipuzzle" - } - }, - "oauth_client": [ - { - "client_id": "627393855302-c24ki5dspbaoetlldhtq118pdufcm0ku.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.rizze.pipuzzle", - "certificate_hash": "c15e8bb32af9d00af84b991c7063196b01eee2be" - } - }, - { - "client_id": "627393855302-ie99j5loumrkt3gqi5mopa1c1avu7o86.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyBgdajcwHxaGtQx9o5B84OmH_CoZ3SMWv8" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "627393855302-ie99j5loumrkt3gqi5mopa1c1avu7o86.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "627393855302-ce6repr4psq6so09hso87tng6mng16i3.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.rizze.pipuzzle" - } - } - ] - } - } - } - ], - "configuration_version": "1" -} \ No newline at end of file diff --git a/Assets/google-services.json.meta b/Assets/google-services.json.meta deleted file mode 100644 index f55a3703..00000000 --- a/Assets/google-services.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b761fafbd46bb0940a6371875438cdb9 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/ProjectSettings/AndroidResolverDependencies.xml b/ProjectSettings/AndroidResolverDependencies.xml index 842cd8d6..f8e33c3c 100644 --- a/ProjectSettings/AndroidResolverDependencies.xml +++ b/ProjectSettings/AndroidResolverDependencies.xml @@ -3,17 +3,12 @@ androidx.constraintlayout:constraintlayout:2.1.4 com.google.android.gms:play-services-ads:23.2.0 com.google.android.gms:play-services-ads-identifier:18.0.1 - com.google.android.gms:play-services-auth:16+ com.google.android.gms:play-services-basement:18.1.0 com.google.android.ump:user-messaging-platform:2.2.0 - com.google.signin:google-signin-support:1.0.4 com.ironsource.sdk:mediationsdk:7.3.1.1 com.onesignal:OneSignal:5.1.26 - - Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.aar - Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository/com/google/signin/google-signin-support/1.0.4/google-signin-support-1.0.4.pom - +