unity app crashes, when login with google using firebase - firebase

I am trying to add a 'sign in with google' option to my app, using firebase. However when I click the button which calls the sign in script on my android device, the app crashes and closes completely.
I cannot run this script in the editor. so is there another way of finding out what the error is?
I am using the script found here https://www.dropbox.com/s/qss2wk4v52d48j4/GoogleSignInDemo.cs?dl=0 and have taken the web client id from my firebase project, and enabled google sign in.
I have also added the sha1 fingerprint to my firebase project and have copied the google-services.json file to my unity project. I am using Unity 2020.1.6f1 My firebase packages are version 10.2.0 and the google sign in plugin 1.0.4
I have no idea why it's not working please help me.I finding the solution but no result
[Solved]
I upgrade my pc windows 7 to windows 10 and upgrade unity 2020 to unity 2021 then it automatically fix and work.Thanks for all

Related

Google Sign in Fails

I have a Xamarin Forms Application where a user can sign in with Google.
The Google Sign in works fine in debug and Release Mode.
The Google Sign in works fine when I deploy the Application to my Android device or deploy it to Android Emulator.
The Problem occurs when I Archive the File into APK or AAB format.
When I deploy the Application on my Android Device through the APK File Generated by Archiving Google Authentication Fails.
I have created an Internal Testing on Google Play Console, by Uploading the Archived AAB file. The Internal Test also gives the Same Error Google Authentication Failed.
I have added the SHA-1 keys to the Firebase Console. and downloaded Google-Services. Json File and added it to my Android project. With build action as GoogleservicesJson.
I tried Adding the SHA-1 Fingerprint of the App Signing certificate to the FireBaseConsole/Settings/SHA Certificate Fingerprints
This is a common pitfall, which happened to me a couple of times already as well.
Make sure that you don't only register the fingerprints for the different apps in Firebase, also make sure that you have the same fingerprints registered in the Google API Console of your app when working with API restrictions.
On the Credentials page, look for the desired API key, edit it and add the package names and fingerprints in the Restrictions section:

Firebase phone authentication not working after creating .apk file

I initialized a react native app with Expo Bare Workflow, installed the #react-native-firebase/app and #react-native-firebase/auth package and followed all the setup instructions from the rnfirebase.io website. When I'm in development the firebase phone number authentication works fine but when I build using EAS (Expo Application Services) the reCAPTCHA screen doesn't open and I don't get the code of confirmation.
I need help to solve this problem

Packaging a cross-platform electron app with firebase auth

I am trying to follow the firebase-electron guide instructions documented in the readme file here:
https://firebaseopensource.com/projects/david-asher/electron-firebase/#create-a-firebase-project
But I eventually get to a step which says
It is highly recommended that you add firebase-config.json to your .gitignore file. It contains project-specific information that you do not want to check in with the app, nor should it be packaged when building your app.
I was planning on releasing my electron app on the mac / windows / linux stores. And if firebase-electron needs the firebase-config.json file variables, then is there no way to release my electron app with authentication using firebase?
My end goal is to release an electron app with login capabilities that can work on both an electron app and browser. Specifically the YouTube API for uploading videos in node.js which requires a request to be made using the user's auth token (which you can get signing in through google using firebase, but can I release an app with firebase?)
Or maybe is there a better solution / example

Test dynamic link on iOS without publishing first to the app store

My flutter project is using firebase_dynamic_link package. I followed the instruction to register both my android and ios app on the firebase console without any problem. I've tested it out on android and it's working fine, opening the app I have running.
On iOS, I was expecting it to open the app I have running on it, instead I just get redirected to a preview page link.
Is it not opening my ios app because :
It's not yet published on the app store ?
Or is it because of an error in setup?
You can disable it in Firebase Console when you create/edit the dynamic link.

VS2015 + Cordova + HockeyApp +Windows Mobile

Anyone have experience/documentation integrating the HockeyApp SDK into a VS2015 Community Windows 10 Mobile Cordova app and adding the version to the HockeyApp dashboard?
When I use HockeyApp on my Windows device, I see the following error when I try to install
This App cannot be installed over the air.
I packaged the app using Project > Store > Create App Packages and uploaded the .aapx from the AppPackages. I select no when the wizard asks if Do you want to build packages to upload to the Windows Phone
Store?
Any thoughts?
In addition, When I upload the release apk, or aapx I get the following on the HockeyApp dashboard.
No statistics found. Please integrate HockeySDK to collect analytics, crash reports, and feedback:
Note: I am using the cordova-hockeyapp-plugin for Android and IOS.
https://github.com/wnyc/cordova-plugin-hockeyapp
Right click your project and select store, then click Create App Packages. Select no as you mentioned, click next, you can set Version and output type in the page. Check ARM and click create button. You may upload .appx file to Hockeyapp. Hockeyapp will create a new project in the dashboard.
Did you sign your app for company app distribution as described here?
If yes, please upload your .aetx token to the app page, then the download page should offer both files and the installation should work.
Did you set the right App ID? Does the version exist on HockeyApp? If you set right, the crash report will appear.
This App cannot be installed over the air. error appears because an .aetx is required. An .aetx is generated using a purchased Enterprise Mobile Code Signing Certificate from Symantec Corp and AetGenerator.exe
However, if you want to use the native HockeyApp for sideloading on the device, you'll still get This App cannot be installed over the air.
Note: An .aetx is not necessary for sideloading Windows 10 mobile apps. Unfortunately, the native HockeyApp does not have the ability to download and install the app for sideloading. Instead, the app should be download and sideloaded to the device via the web ui.
Solution:
Purchase Symantec Certificate to create .aetx
or
Sideload apps using the HockeyApp web ui.
Hope this helps!

Resources