Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Holy Hot Push! "Firebase Remote Config" support please! #56

Closed
jlooper opened this issue Jun 14, 2016 · 6 comments
Closed

Holy Hot Push! "Firebase Remote Config" support please! #56

jlooper opened this issue Jun 14, 2016 · 6 comments
Assignees

Comments

@jlooper
Copy link
Contributor

jlooper commented Jun 14, 2016

One more! We constantly are asked for support for hot push (e.g. deploying changes to the app stores without resubmitting), and it looks like Firebase Remote Config supports this. I would love to see this available for Firebase-configured apps!

Thanks!

@EddyVerbruggen
Copy link
Owner

What I'm reading here it's a way to remotely configure your app by flipping (boolean) switches or activating parts of your app after you shipped a version.

So you can't add content remotely but you can manipulate app behavior remotely (but you need to pre-cook those behaviors in your app beforehand).

I guess you can achieve the same results by looking at specific values in the database and manipulate those through the Firebase console, but this has a much cleaner API for that purpose.

I'm on it!

@jlooper
Copy link
Contributor Author

jlooper commented Jun 18, 2016

Fabulous!!

@EddyVerbruggen
Copy link
Owner

Added in plugin version 3.2.0, see https://github.com/EddyVerbruggen/nativescript-plugin-firebase#getremoteconfig

Note that the Firebase SDK version is also bumped - update your local Android SDK as suggested in the readme.

@jlooper
Copy link
Contributor Author

jlooper commented Jun 21, 2016

ugh, sadly I am getting this error. I believe the RemoteConfig is successfully being included in the new pod build, but the functionality isn't happening...:

Error: Uncaught (in promise): TypeError: firebase.getRemoteConfigDefaults is not a function. (In 'firebase.getRemoteConfigDefaults(art.properties)', 'firebase.getRemoteConfigDefaults' is undefined)

@EddyVerbruggen
Copy link
Owner

Crap, that may be an error on my part. Hang on.

EddyVerbruggen added a commit that referenced this issue Jun 21, 2016
@EddyVerbruggen
Copy link
Owner

Yep this line needs to go. Was a last minute refactor which I tested on Android... Just pushed to master but you can manually drop it from the local firebase.js file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants