Comments (8)
from ground-android.
Yes, I added both
from ground-android.
@anandwana001 Did you create the key manually, or did Android Studio create it for you? If you remove/rename your ~/.android/debug.keystore
Android Studio will recreate it for you. Try adding its SHA to Firebase and try again. That will hopefully solve it.
from ground-android.
I am using the command keytool -list -v -keystore "$HOME/.android/debug.keystore" -alias androiddebugkey -storepass android -keypass android
Alias name: VALUE
Creation date: 09-Oct-2019
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: C=US, O=Android, CN=Android Debug
Issuer: C=US, O=Android, CN=Android Debug
Serial number: 1
Valid from: Wed Oct 09 13:55:34 IST 2019 until: Fri Oct 01 13:55:34 IST 2049
Certificate fingerprints:
SHA1: VALUE
SHA256: VALUE
Signature algorithm name: SHA1withRSA (weak)
Subject Public Key Algorithm: 2048-bit RSA key
Version: 1
from ground-android.
That will show you your existing keys; I was suggesting deleting/renaming your key and letting Android Studio generate a new one. The SHA of the new key would then need to be pasted into Firebase.
from ground-android.
Tried, still have the same issue
Alias name: VALUE
Creation date: 11-Mar-2024
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Akshay Nandwana
Issuer: CN=Akshay Nandwana
Serial number: 1
Valid from: Mon Mar 11 20:02:06 IST 2024 until: Fri Mar 05 20:02:06 IST 2049
Certificate fingerprints:
SHA1: VALUE
SHA256: VALUE
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 1
When I checked the Authentication on Firebase, the User gets registered, but in the app, due to the error thrown, the user is stuck at the Login Screen.
I checked the google-services.json, theGOOGLE_MAPS_API_KEY
is not there. Is it a possible reason?
from ground-android.
@anandwana001 Your key doesn't appear to be created by Android Studio. Mine looks like this:
Alias name: androiddebugkey
Creation date: Jan 24, 2023
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: C=US, O=Android, CN=Android Debug
Issuer: C=US, O=Android, CN=Android Debug
Serial number: 1
Valid from: Tue Jan 24 15:48:05 EST 2023 until: Thu Jan 16 15:48:05 EST 2053
Certificate fingerprints:
SHA1: ***
SHA256: ***
Signature algorithm name: SHA1withRSA (weak)
If you rename the existing one and build in AS you should get something similar.
from ground-android.
It seems the issue is not with the SHA1 code but with the following logic, where it's showing an error that it cannot find the Firebase Function.
// FirestoreDataStore.kt
override suspend fun refreshUserProfile() {
firebaseFunctions.getHttpsCallable(PROFILE_REFRESH_CLOUD_FUNCTION_NAME).call().await()
}
I am wondering whether the above code is calling a function in my registered Firebase project through FirebaseFunction, or if it is calling a function registered in the Firebase Datastore managed by Google.
from ground-android.
Related Issues (20)
- [Number question tasks] Add validation & restrictions for numbers allowed
- [Offline map selector] StorageException shown in logs when panning map to areas where there's no imagery
- [Draw area task] Add support for loading previous value from draft
- [ACLs] Don't allow data collectors to see each other's data
- [Code health] Delete legacy dev surveys
- [Data collection snackbar] "Read-only" hint triggers even when data collectors can add LOIs
- [Survey sync] Sync fails silently HOT 5
- [Sync] Zooms out 1-2 zoom levels each time an LOI is changed remotely
- [Sign in] Sign in fails silently when emu can't connect
- [ACLs] Add support for "shared" surveys
- [Code health] Restore tests deleted in #2383
- [UI Bug] Sign out confirmation dialog not Material 3 dialog
- [Capture location] Location permissions requested on wrong task HOT 3
- [Offline sync status] Duplicate entries shown in status screen
- [BLOCKING] User logged out when app killed
- [Code health] Define field names on DocumentReference objects, not converters
- [Data collection] Done button not showing when conditional task is final task HOT 1
- [Nav Drawer] Move user profile and sign out link into popup HOT 20
- [Code health] Migrate to docker images to Artifact Registry HOT 1
- [Select one - other] Disabling "other" option doesn't hide/disable "Other" text HOT 4
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 ground-android.