Last active
April 3, 2025 17:22
-
-
Save heberth2788/8a438b2622384ba555d9772114d30e39 to your computer and use it in GitHub Desktop.
Example of Kotlin class with configuration for Firebase emulators
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Static constants to give support to emulator connection | |
* */ | |
class FirebaseEmulatorConfig { | |
companion object { | |
/** | |
* Local IP(WLAN connection) of the dev computer | |
* This computer have to run the firebase emulators. | |
* */ | |
const val HOST_FB_EMULATOR = "192.168.1.38" | |
const val PORT_FB_DATABASE_EMULATOR = 9000 | |
const val PORT_FB_STORAGE_EMULATOR = 9199 | |
const val PORT_FB_AUTH_EMULATOR = 9099 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment