Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(remote-config): support realtime config updates #499

Closed
1 of 9 tasks
davideramoaxa opened this issue Nov 20, 2023 · 5 comments · Fixed by #502
Closed
1 of 9 tasks

feat(remote-config): support realtime config updates #499

davideramoaxa opened this issue Nov 20, 2023 · 5 comments · Fixed by #502

Comments

@davideramoaxa
Copy link

davideramoaxa commented Nov 20, 2023

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Messaging
  • Performance
  • Remote Config

Current problem

It's currently not possible to register for realtime remote config changes

Preferred solution

Implementation of Firebase remote config realtime API

https://firebase.google.com/docs/remote-config/real-time

https://firebase.google.com/docs/remote-config/get-started?platform=android#add-real-time-listener

Alternative options

No response

Additional context

No response

@davideramoaxa davideramoaxa changed the title feat: feat(remoteConfig): Realtime config updates Nov 20, 2023
@robingenz
Copy link
Member

Thank you! This feature is definitely missing.

@robingenz robingenz added this to the v5.3.0 milestone Nov 21, 2023
@f1ght4fun
Copy link

f1ght4fun commented Nov 24, 2023

+1 ... this is a deal-breaker feature to receive updates on config changes.

Is there any timeframe when this feature might be added to plugin as part of 5.3.0 !?

@robingenz
Copy link
Member

The Realtime API is quite new. You still receive updates on config changes but not yet in realtime. There is no ETA yet. PRs are welcome (please let me know beforehand). You can also prioritize this issue as sponsor.

@robingenz robingenz changed the title feat(remoteConfig): Realtime config updates feat(remote-config): support realtime config updates Nov 28, 2023
@robingenz robingenz modified the milestones: v5.3.0, v5.4.0 Nov 28, 2023
@robingenz
Copy link
Member

robingenz commented Dec 6, 2023

The task is to add support for realtime config updates to the Firebase Remote Config plugin. The base branch to be used is feat/issue-499. This branch already contains the necessary type definitions (see #502). The implementation should be the same as the addDocumentSnapshotListener method of the Firebase Cloud Firestore plugin.

@robingenz
Copy link
Member

This is now available as dev version:

npm i @capacitor-firebase/remote-config@5.3.0-dev.8e93695.1702565523

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants