0

I am trying to create a kivy app and I am wondering how can I use firebase remote config in my app. Here is my code:

import kivy
from kivy.uix.label import Label
from kivy.uix.screenmanager import Screen, ScreenManager
from kivy.uix.gridlayout import GridLayout
from kivy.app import App

class screen1(Screen):
    def __init__(self, **kwargs):
        super(screen1,self).__init__(**kwargs)

        layout = GridLayout(cols=1, rows=2)
        self.add_widget(layout)
        label = Label(text="Hello there!", color=(0,1,1,1))
        layout.add_widget(label)

class app (App):
    def build(self):
        screenmanager = ScreenManager()
        screenmanager.add_widget(screen1(name='screen1'))

        return screenmanager

if __name__ == '__main__':
    app().run()`

Goal: I want to change the color of the current label and then add a second label2 saying "Thank you".

I have created the parameters and conditions in the Firebase console but I am not sure how to integrate this with my code.

I have tried following Firebase tutorials, however, most of them are conducted in Java or Javascript. Please feel free to suggest tutorials or readings that can help me get started with Firebase-remote-config in Python.

2 Answers 2

1

For future reference,
It seems using Remote config from a python server environment is possible now.
Use Remote Config in server environments - Python

Sign up to request clarification or add additional context in comments.

Comments

0

I am afraid that your requirement is impossible for now.

As in the Firebase Remote Config Docs, there is no clue about Python support.

If we want to use Python and Feature Flags (the idea behind Firebase Remote Config), Firebase Remote Config is not an available pair.

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.