Firebase provides the following methods:
https://firebase.google.com/docs/remote-config/use-config-android#get-parametervalues-to-use-in-your-app
But getInt() is missing from this list, I'm curious if there's a reason for this? Is the preferred approach to use Long or String and cast/convert to an int?
Looks like iOS has it, oddly enough.
Since int
is a subset of long
, you should use this to store your integer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With