Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Remote Config/Realtime database on Huawei devices

Are all of the Firebase services for Android unable to work on Huawei or is it just the cloud messaging service that does not work? Do all of the firebase services rely on Google Play Services?

like image 669
dephinera Avatar asked Jun 12 '20 08:06

dephinera


People also ask

Does Firebase remote config work on Huawei?

Cloud Storage Using this SDK, you don't need to change your existing Firebase Realtime Database code. It will start working on Huawei devices and also GMS devices as well.

Does Firebase support Huawei?

Newest Huawei devices come without support for any Google services including the traditional push notifications service - Firebase Cloud Messaging, which makes the delivery of push notifications in the traditional way impossible.

Is Firebase remote config realtime?

Using the Remote Config background function triggering provided by Cloud Functions for Firebase along with FCM, you can propagate Remote Config updates in real-time. You create a function that triggers when you publish or roll back your Remote Config template from the dashboard or the API.

What is Firebase remote config Android?

Firebase Remote Config is a cloud service that lets you change the behavior and appearance of your app without requiring users to download an app update at no cost. When using Remote Config, you create in-app default values that control the behavior and appearance of your app.


1 Answers

Firebase SDKs can be divided into three categories:

  1. Play services required — These SDKs require Google Play services, otherwise they have no functionality.

  2. Play services recommended — These SDKs require Google Play services to have full functionality, but they still offer most functionality even without Google Play services.

  3. Play services not required — These SDKS do not require Google Play services to have full functionality.

List of Firebase SDKs that don't require Google Play services

List of Firebase SDKs that you need to include Google Play services

Remote Config SDK com.google.firebase:firebase-config:20.0.0 doesn't require Google Play Services.

Realtime Database SDK com.google.firebase:firebase-database:19.5.1 doesn't require Google Play Services. But keep in mind that Realtime Database depends on Firebase Auth (it needs an authenticated user to work) which depends on Google Play Services. For that you can use Firebase Auth REST API instead of Firebase Auth SDK.

For more info Use Firebase Authentication without Google Play services


Update 27 Oct 2020:

Firebase Auth SDK v20.0.0 com.google.firebase:firebase-auth:20.0.0 doesn't require Google Play Service.

like image 102
Mahmoud Avatar answered Sep 24 '22 06:09

Mahmoud