Since we've upgraded from GCM to FCM we have a problem because the app suddenly needs a custom google-services.json and I don't seem to find a API or cli tool which enables me to add new apps and generate a new file.
Has someone found a way to automate this?
There is currently no API to generate a google-services.json. You can download it from your Firebase Console by selecting your project and then clicking to manage your Android app.
Related
I have a firebase project using some auth features but now I wish to add some functionality that is only available in firebase using admin sdk. as far as I know, admin sdk cannot run directly in front end so I have thought about integrating nuxtjs to run a local-ish server. I was wondering if it is possible to add nuxtJs to my existing project and if yes, how would I go about adding it to run the admin sdk locally?
Successfully created an Android app of my PWA using PWA builder.
Also Added web push notifications with the Service worker and web Firebase messaging API.
But due to certain shortcomings of web push notifications, I want to use the native push notifications using firebase SDK for Android instead.
Reading a few of these answers How to use push notification for trusted web activity, Cannot understand how to open a simple TWA inside an app (using AndroidX) gives me the impression that I need to have access to Main Activity and put Firebase onMessageReceived inside onCreate function.
But given PWA builder is a Node application that builds APK, I don't know where to start. I understand that I have to 1. Include the Firebase SDK & 2. Put onMessageReceived
But how to go about it using PWA builder?
Or Is it not possible at all? I need to create a brand new Andriod studio project and add TwaLauncher, from android-browser-helper as some of the answers mention?
Also posted this question on PWA builder issues.
When you are generating Android APK, enable the "Notification Delegation" option.
Can anyone link any documents on using Instagram private API or Instagram web API with react native Expo Cli. I read about it and didn't find a way to do it due to the need for native code. However, I am unable to use XCode for several reasons.
Does anyone have a way to integrate or is anyone able to find any documents about using mentioned APIs (or modules however you want to call them) with Expo (problem lies mainly on the nodejs-mobile-react-native module as far as I have understood). Or is anyone able to link another framework with the capabilities of building Android and iOS applications with the same code or am I asking for impossibilities? I have tried flutter with flutter_insta but it has the limitation of getting only public account data etc.
Any help will be appreciated!
A few years ago I created an application with react-native. In this app, I used the firebase cloud message. Now I recreate this application with Flutter. Both applications have the same ApplicationId.
Now I am trying to use google-services.json that I created for react-native in the Flutter application. After using google-services.json in my flutter project, when I send a message from my firebase console, the flutter app doesn't do any action! Mean not received a message from the console!
Is it possible to use the old google-services.json in the new Flutter app with the same ApplicationId?
I am implementing GCM with android client and according to the google documentation I need to download the google-services.json and add it to the module. I notice that the google-services.json contains the api key for the project. Is it wise to include the api key in the project?
In my scenario I have to use GCM with android using AWS, in the aws documentation they are simply adding the project number for registration
http://docs.aws.amazon.com/sns/latest/dg/mobile-push-gcm.html
But in android studio when I add dependency in the build.gradle I am getting compilation error for missing google-services.json.
com.google.gms:google-services:
so my question is there a way I can skip the google-services.json in the android studio project? and if not then is it wise to include the api key in that file?
Thanks
P
As have been discussed in this thread, "google-services.json contains developer credentials and configuration settings, which is needed to verify while connecting with GoogleApiClient". However, it was also mentioned that GCM has been used before without google-services.json .