Comments (2)
So, for an explanation on why this happens. The important part is that any of the OAuthProviders (like the Microsoft one) require adding the custom URL scheme to your XCode project's Info.plist, as documented here: https://firebase.google.com/docs/auth/ios/microsoft-oauth#handle_the_sign-in_flow_with_the_firebase_sdk
The Unity SDK tries to automate that step, by copying it from the REVERSED_CLIENT_ID in your GoogleServices-Info.plist, which is happening here:
That is also where that error about how Google Sign-In will fail to initialize comes up.Now I'm not sure why the REVERSED_CLIENT_ID seems to only be present in the GoogleServices-Info.plist when Google Sign-In is turned on, I can reach out to folks on my end about that part. I think there is also a CLIENT_ID, that one can derive the reversed version from if needed, so I can see if that is more likely to be present, and if so add some logic for that. At the very least, I can improve that error message, cause it is definitely missing that other things depend on that field as well.
from firebase-unity-sdk.
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
from firebase-unity-sdk.
Related Issues (20)
- [FR]: Make Timestamp's Constructor Public HOT 2
- [Bug] Android devices alert users that they are offline when Firestore tries to connect without internet connection HOT 10
- ANR HOT 4
- [Bug] DllNotFoundException: Unable to load DLL 'FirebaseCppApp-12_1_0' HOT 18
- [Bug] Crashed: com.google.firebase.crashlytics.ios.exception HOT 9
- [Bug] [Crashlytics][Messaging] DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION causes "incorrectly registered broadcast receiver: error HOT 6
- [FR]: Don't require a custom AndroidManifest.xml. Make required changes via 'IPostGenerateGradleAndroidProject' HOT 1
- [Bug] Offline Support For Realtime DB does not work with Unity Android SDK HOT 2
- [Bug] Crash when opening application by clicking push notifications HOT 10
- [Bug] Undefined symbols for architecture arm64 HOT 6
- [Bug] Unity development build crashes after sdk version up HOT 1
- [Bug] iOS Crash when receiving Push Notification HOT 4
- [Bug] Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file HOT 2
- [Bug] Unity 2021.3.43f1 Android build fails. HOT 4
- SIGSEGV CRASH HOT 6
- [Question] Auth not working in Unity editor HOT 10
- [Bug] internal::IsInitialized() Error When LogEvent HOT 5
- [Bug] Mac editor crashes HOT 7
- [Bug] SIGSEGV in firebase::analytics::SetConsent HOT 5
- [Bug] Crash on macOS build when using any Firestore method call HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-unity-sdk.