Firebase Remote Config feature for web app (after Firebase expansion)

前端 未结 5 1303
生来不讨喜
生来不讨喜 2021-02-03 23:02

I am building a web application with Firebase and I saw they released their expansion with all great new features. However, the Remote Config section is now only available for A

相关标签:
5条回答
  • 2021-02-03 23:34

    Firebase released a Remote Config REST API on 3/7/2018.

    https://firebase.google.com/docs/remote-config/use-config-rest

    0 讨论(0)
  • 2021-02-03 23:35

    One alternative is google optimize if you are only doing web stuff. If you need to target all 3 platforms with one tool though not sure if it would be useful for that.

    https://www.google.com/analytics/optimize/

    0 讨论(0)
  • 2021-02-03 23:47

    firebaser here

    Since September 2019 it is possible to use Remote Config from your web applications. Have a look at Get started with Firebase Remote Config on Web to get started.

    0 讨论(0)
  • 2021-02-03 23:48

    I use myself launchdarkly.com to do just that. It's not free ($79/mo for the first plan) but supports lot of things (user segmentation, progressive rollout, etc).

    0 讨论(0)
  • 2021-02-03 23:49

    If you are interested in remote config on the web I suggest the following tips: I did this on my web app and it is working perfectly.

    in the firebase database create a config node for example:

    sampleFirebaseDB-c2555
    {
        config : 
        {
        'lang':'EN',
         'color':'blue',    ...
        }
    }
    

    read that from javascript using regular firebase database read

    firebase.database.ref('/config/').once('value').then(function(snap){
    
    });
    

    and store that in an object or locally. and you can access the object proprietes by dot notation in your application

    and to change the config you can make an admin page to change those database objects or to change them in firebase directly

    I hope that helps :D

    0 讨论(0)
提交回复
热议问题