Let's explain what just happened:
- First, we started by adding our dependencies to our application to our build.gradle file. This is important, as, without it, the functionality won't work.
- We defined/initialized our remote config object and turned the developer mode on. This changes during production, but since we're still in development we need to keep it on.
- We set a HashMap with our default values and passed it to our Remote Config default values.
- Since our value was a Boolean we used the getBoolean() function with the field name we wanted to retrieve.
- We set that field name and put its value in our Firebase project Console Remote config section.
- After that, we fetched that value and used the activateFetched() method; ...