Comments (14)
@SamarpanCoder2002 I would like to take up this issue.
PS: Assign "hacktoberfest" label to an issue and "hacktoberfest-accepted" label only to an approved/ merged PR.
from generation.
@agent515 Sure... Please provide your email address so that I can make you a collaborator in firebase and can assign you to that issue.
And make sure you work in a newly created different branch by yourself after fork and send a pull request from that newly created working branch.
Sure.
from generation.
You can generate an API key from google cloud console with enable Maps SDK for Android API, and add that API key under AndroidManifest.xml file with replacing Google-Map-API-Key.
@SamarpanCoder2002 to get the Google Maps API key, I would need a credit card. And I don't have that. If you can share a temporary Google-Maps-API key, that would be great.
from generation.
Now, I am figuring out how to set up a billing account without a Credit card. I will let you know.
UPDATE: After selecting Generation project in Google Cloud Console, I see Maps SDK for Android already enabled. So, no issues I guess.
from generation.
Now, I am figuring out how to set up a billing account without a Credit card. I will let you know.
UPDATE: After selecting Generation project in Google Cloud Console, I see Maps SDK for Android already enabled. So, no issues I guess.
@agent515 I understand your problem... But that issue is not related to the Google Maps API key
. You can start working without generating an API key because your work is not related to any map. Just let it be in the AndroidManifest.xml
file as usual Google-Map-API-Key
. #9 (comment) -> here, you can ignore 3rd point, and considering only the first two points, you can easily start working on that issue.
Thank u @agent515
Hope you understand.
from generation.
Do you done Gradle sync before running the project?? @agent515
Yes @SamarpanCoder2002
using command gradlew --refresh-dependencies
in VS Code
from generation.
@SamarpanCoder2002 I would like to take up this issue.
PS: Assign "hacktoberfest" label to an issue and "hacktoberfest-accepted" label only to an approved/ merged PR.
@agent515 Sure... Please provide your email address so that I can make you a collaborator in firebase and can assign you to that issue.
And make sure you work in a newly created different branch by yourself after fork and send a pull request from that newly created working branch.
Thank u
from generation.
Added you as a collaborator in the firebase project.
Some Points:
- After Adding the SHA1 and SHA256 keys, download the
google-services.json
file. - I use a package
encrypt
. Search that in pub.dev, to know to generate a secret unique encryption key and under encryption_maker.dart file with replacing'Encryption Unique Key'
. - You can generate an API key from google cloud console with enable
Maps SDK for Android
API, and add that API key underAndroidManifest.xml
file with replacingGoogle-Map-API-Key
.
Happy Contributing @agent515
from generation.
If any doubt, check the CONTRIBUTING.md file for clearance.
Thanks
from generation.
You can generate an API key from google cloud console with enable Maps SDK for Android API, and add that API key under AndroidManifest.xml file with replacing Google-Map-API-Key.
@SamarpanCoder2002 to get the Google Maps API key, I would need a credit card. And I don't have that. If you can share a temporary Google-Maps-API key, that would be great.
@agent515 it's not required a credit card to use maps SDK for android with generate API key in Google Cloud Console...
I have a video in my youtube channel that explained how to generate an API key with enabling Maps SDK for Android
API and the process is completely free... You can try it.. It's free and very simple.
Video Link: https://youtu.be/yViWjhS2kd4?t=1118
Please check it out. Hope it helps.
Thank u @agent515
from generation.
@SamarpanCoder2002 I have completed these steps given in CONTRIBUTING.md
-
Add This Project in Firebase . After Adding the SHA1 and SHA256 keys, download the google-services.json file.
-
I use a package encrypt in that project. Search that in pub.dev, to know to generate a secret unique encryption key and under encryption_maker.dart file with replacing 'Encryption Unique Key'.
4YA7utX64xjybCg8T4cTqKsvhD1Nn49T7ZgyAMYJMY4=
is the key I have replaced it with. -
You can generate an API key from google cloud console with enable Maps SDK for Android API, and add that API key under AndroidManifest.xml file with replacing Google-Map-API-Key.
-
'SERVER-KEY(Generated from Firebase Project Settings Cloud Messaging)' under notification_configuration.dart file will replace by SERVER-KEY Generated Manually From Firebase Project Settings -> Cloud Messaging -> Generate New Server Key and use it as SERVER-KEY.
But still, I am getting this error.
E/FirebaseMessaging( 7444): Failed to get FIS auth token
E/FirebaseMessaging( 7444): java.util.concurrent.ExecutionException: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.
E/FirebaseMessaging( 7444): at com.google.android.gms.tasks.Tasks.zzb(Unknown Source:61)
E/FirebaseMessaging( 7444): at com.google.android.gms.tasks.Tasks.await(Unknown Source:23)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.GmsRpc.setDefaultAttributesToBundle(com.google.firebase:firebase-messaging@@22.0.0:11)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.GmsRpc.startRpc(com.google.firebase:firebase-messaging@@22.0.0:1)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.GmsRpc.getToken(com.google.firebase:firebase-messaging@@22.0.0:2)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.FirebaseMessaging.lambda$blockingGetToken$8$FirebaseMessaging(com.google.firebase:firebase-messaging@@22.0.0:1)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.FirebaseMessaging$$Lambda$9.start(Unknown Source:4)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.RequestDeduplicator.getOrStartGetTokenRequest(com.google.firebase:firebase-messaging@@22.0.0:6)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.FirebaseMessaging.lambda$blockingGetToken$9$FirebaseMessaging(com.google.firebase:firebase-messaging@@22.0.0:1)
E/FirebaseMessaging( 7444): at com.google.firebase.messaging.FirebaseMessaging$$Lambda$8.then(Unknown Source:4)
E/FirebaseMessaging( 7444): at com.google.android.gms.tasks.zzf.run(Unknown Source:2)
E/FirebaseMessaging( 7444): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/FirebaseMessaging( 7444): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/FirebaseMessaging( 7444): at com.google.android.gms.common.util.concurrent.zza.run(com.google.android.gms:play-services-basement@@17.1.0:6)
E/FirebaseMessaging( 7444): at java.lang.Thread.run(Thread.java:919)
E/FirebaseMessaging( 7444): Caused by: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.
E/FirebaseMessaging( 7444): at com.google.firebase.installations.remote.FirebaseInstallationServiceClient.createFirebaseInstallation(FirebaseInstallationServiceClient.java:158)
E/FirebaseMessaging( 7444): at com.google.firebase.installations.FirebaseInstallations.registerFidWithServer(FirebaseInstallations.java:533)
E/FirebaseMessaging( 7444): at com.google.firebase.installations.FirebaseInstallations.doNetworkCallIfNecessary(FirebaseInstallations.java:388)
E/FirebaseMessaging( 7444): at com.google.firebase.installations.FirebaseInstallations.lambda$doRegistrationOrRefresh$2$FirebaseInstallations(FirebaseInstallations.java:377)
E/FirebaseMessaging( 7444): at com.google.firebase.installations.-$$Lambda$FirebaseInstallations$VZq1h0TBcWNH8Y5yY86ujrFFyLo.run(Unknown Source:4)
E/FirebaseMessaging( 7444): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/FirebaseMessaging( 7444): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/FirebaseMessaging( 7444): ... 1 more
E/FirebaseMessaging( 7444): Failed to sync topics. Won't retry sync. java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
I saw Firebase API is also there in Google Cloud. Is it required somewhere in the app?
from generation.
Do you done Gradle sync before running the project?? @agent515
from generation.
Do you done Gradle sync before running the project?? @agent515
Yes @SamarpanCoder2002 using command
gradlew --refresh-dependencies
in VS Code
Under the Android folder write gradlew clean build
.
If the prb still persist, then open any build.gradle
file in android studio and click on the option open editing in Android studio
in new window and wait until gradle sync completed.
Hope it helps @agent515
from generation.
@SamarpanCoder2002 Sorry, I am still facing the same error. Also, I will be busy for the next 7-8 days.
So, if someone wants to give a try at solving the issue. You can assign it to them.
from generation.
Related Issues (13)
- Getting an Error in lib/BackendAndDatabaseManager/global_controller/encrytion_maker.dart HOT 4
- Please EXPLAIN how to configure and build the project perfectly. HOT 2
- Please Help! I am getting this error. HOT 1
- There is no notification_configuration.dart file. - `'SERVER-KEY(Generated from Firebase Project Settings Cloud Messaging)'` under [notification_configuration.dart](https://github.com/SamarpanCoder2002/Generation/blob/main/lib/BackendAndDatabaseManager/general_services/notification_configuration.dart) file will replace by `SERVER-KEY` Generated Manually From Firebase Project Settings -> Cloud Messaging -> Generate New Server Key and use it as `SERVER-KEY`.</br> HOT 4
- There is no notification_configuration.dart file HOT 4
- I am getting a FormatException: Invalid Charcter (at character 1). HOT 1
- Help HOT 7
- Help HOT 8
- Help HOT 3
- Help HOT 1
- Add suggestion HOT 2
- Add Seen/Unseen Message Status in Chatbox
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 generation.