firebase-remote-config

Android Firebase Remote Config initial fetch does not return value

折月煮酒 提交于 2020-06-11 21:46:37
问题 I'm using Firebase Remote Config to fetch data when app first open for the first time. But problem is I cannot fetch data on first start of the app. onComplete() method triggers but returns no value. If I close app and run again it returns value from Remote Config. Tried to call fetch() in onCreate() , onStart() , onResume() , gave it a second delay with postDelay() still the same, initial fetch is always empty. I know, Remote Config has setDefaults() method to store defaults before it is

Android Firebase Remote Config initial fetch does not return value

倖福魔咒の 提交于 2020-06-11 21:45:00
问题 I'm using Firebase Remote Config to fetch data when app first open for the first time. But problem is I cannot fetch data on first start of the app. onComplete() method triggers but returns no value. If I close app and run again it returns value from Remote Config. Tried to call fetch() in onCreate() , onStart() , onResume() , gave it a second delay with postDelay() still the same, initial fetch is always empty. I know, Remote Config has setDefaults() method to store defaults before it is

FirebaseRemoteConfig Error “No value of type 'String' exists for parameter key”

梦想与她 提交于 2020-06-09 08:18:34
问题 I am using Firebase Core and some other Features, but not Remote Config. Multiple times a second the following Output is on Logcat. Where can I disable the Remote Config functionality or even set those non-existing values? Dependencies: // Project classpath 'com.android.tools.build:gradle:3.2.1' classpath 'com.google.gms:google-services:4.2.0' classpath 'com.google.firebase:firebase-plugins:1.2.0' classpath 'io.fabric.tools:gradle:1.26.1' // Module implementation 'com.android.support

Remote config in Flutter app throws exception on fetch

爷,独闯天下 提交于 2020-05-26 19:14:29
问题 I have a Flutter app and I am using remote config to retrieve some information, but the code throws an exception when fetching data. This is my method for setting up remote config. Future<RemoteConfig> setupRemoteConfig() async { final RemoteConfig remoteConfig = await RemoteConfig.instance; // Enable developer mode to relax fetch throttling remoteConfig.setConfigSettings(RemoteConfigSettings(debugMode: true)); remoteConfig.setDefaults(<String, dynamic>{ 'categories': "food,drink", }); await

“'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. ” What is isDeveloperModeEnabled used for

房东的猫 提交于 2020-05-14 22:47:21
问题 As a part of upgrading the code base to Swift5, I have updated Firebase pod in my project. After that i started getting warning as below. isDeveloperModeEnabled is deprecated: This no longer needs to be set during development. Refer to documentation for additional details.. Can somebody explain what is the alternative way to resolve this issue remoteConfig = RemoteConfig.remoteConfig() let conSettings = RemoteConfigSettings(developerModeEnabled: true) if TargetBuild.isProd { remoteConfig

“'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. ” What is isDeveloperModeEnabled used for

╄→гoц情女王★ 提交于 2020-05-14 22:45:11
问题 As a part of upgrading the code base to Swift5, I have updated Firebase pod in my project. After that i started getting warning as below. isDeveloperModeEnabled is deprecated: This no longer needs to be set during development. Refer to documentation for additional details.. Can somebody explain what is the alternative way to resolve this issue remoteConfig = RemoteConfig.remoteConfig() let conSettings = RemoteConfigSettings(developerModeEnabled: true) if TargetBuild.isProd { remoteConfig

FirebaseRemoteConfig.activateFetched() is deprecated. What to use instead?

微笑、不失礼 提交于 2020-05-14 18:58:04
问题 Firebase Remote Config activateFetched() is deprecated. What to use instead? firebaseRemoteConfig.activateFetched(); 回答1: Use firebaseRemoteConfig.activate(); instead. See documentation https://firebase.google.com/docs/reference/android/com/google/firebase/remoteconfig/FirebaseRemoteConfig.html#activate() 回答2: Use activate() instead. firebaseRemoteConfig.activate(); I had to search for this. I hope it helps others. 来源: https://stackoverflow.com/questions/57494893/firebaseremoteconfig

Firebase Remote Config Fetch failed with user not authorized

倖福魔咒の 提交于 2020-04-10 08:40:47
问题 I'm trying to set up my production application to use remote config, but I'm getting a FirebaseRemoteConfigFetchException. This project is already deployed, we use FCM, Crashlytics and Dynamic Links. If I use the dev project on firebase everything work just fine. So I don't think it's the google-service.json configuration. The only difference between the configurations is in the production instance I have the SHA certificate fingerprint setup. 2019-02-08 22:59:52.755 19724-19744/? W/System

Can I use Firebase remote config for updating strings.xml of Android app?

坚强是说给别人听的谎言 提交于 2020-02-22 19:08:54
问题 Well known that 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. I was wondering that can I use Firebase Remote Config for updating strings.xml ? Sometime I need to update file strings.xml (for example: correct the translation of locale languages). And to do this I have to update my app. It's great if we can store the strings in server like Firebase . 回答1: I think you cannot do it through

Can I use Firebase remote config for updating strings.xml of Android app?

一笑奈何 提交于 2020-02-22 19:05:33
问题 Well known that 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. I was wondering that can I use Firebase Remote Config for updating strings.xml ? Sometime I need to update file strings.xml (for example: correct the translation of locale languages). And to do this I have to update my app. It's great if we can store the strings in server like Firebase . 回答1: I think you cannot do it through