Adding the new firebase console - android-studio

I'm trying to add the new firebase console and while changing the gradle files an error kept popping up... The error message and its respective gradle file.

Related

Google Maps JavaScript API warning: InvalidKey and Google Maps JavaScript API error: InvalidKeyMapError

I am trying to deploy an open source project (https://github.com/LiteFarmOrg/LiteFarm) on local host through docker composer and i have followed the instructions provided in the link, the app is a node.js app with frontend in react.js i have provided the (google_api_key) for the map to work in the application in the ".env" file but i am getting the error of "invalidkey" yet i tried to provide another newly generated key same error i faced. the screenshot is as
invalid key error
also in the location text field the "icon of something went wrong is coming".

Google play still thinks I'm using "com.example" and won't let me upload

I'm trying to publish my app on the play store. I tried to upload, and got the error that I need to "use a different package name because "com.example" is restricted."
So, I changed the package from com.example to com.MyPackage, and redid the "generate signed apk" thing (used the same key), and tried again to upload, got the exact same error as before.
You have to change the applicationId on the app/build.gradle.
NOT the package name of the sources inside this directory app/src/main/java/YOUR_SOURCES

django: code changes not getting reflected

I am using Django 2.0.
I wanted to use firebase cloud messaging, so i have installed fcm_django.
I have to replace is_authenticated() with is_authenticated (without the brackets) in the rest_framework.py file.
SO i have edited the file
/home/test/venv_btg/lib/python3.6/site-packages/fcm_django/api/rest_framework.py
Then i save the file.
But when i run the url. It shows the following error in the file rest_framework.py
if user is not None and user.is_authenticated():
but i have changed is_authenticated() to is_aunthenticated
Why django is not reflecting the changes?

Google Firebase: HTTP Error: 401, The entered credentials were incorrect

I am just getting started with Firebase. I logged in using firebase login and it says I am logged in. I used firebase init to create a new project, used hosting option, and used the default firebase application. When I went to deploy using firebase deploy it said "The entered credentials were incorrect".
I'm not sure where I went wrong. To set up, I used brew install npm and then npm install -g firebase-tools (I'm on a mac).
I found some posts saying the project ID could be incorrect in the .firebaserc file, but it looks correct when compared to the firebase list output.
It looks like the default HTML that was generated will probably work, but it just won't deploy!
I found my own answer for this. When you tell it to use the default project, if you say firebase deploy, it tries to deploy to the default project's host system.
To fix it, create a project on the firebase server, init the firebase project (pointed at the new project name) and that will allow you to push to the server.

NPM component - Strava

i'm currently trying to use Strava api through NPM but i'm facing an issue with strava_config file.
Each time i launch my page in browser i get an error in the console "no 'data/strava_config' file, continuing without..." but the folder and file exists. So i don't see what i'm missing. I don't think it's related to the path.
My strava_config look like this (i've removed the values of course)
screenshot

Resources