Skip to content

Instantly share code, notes, and snippets.

View heberth2788's full-sized avatar
💭
Mindfulness & Determination

Heberth Deza heberth2788

💭
Mindfulness & Determination
  • Big Bang Soft
  • Peru/La Libertad/Pacasmayo/Guadalupe
  • 10:51 (UTC -05:00)
  • LinkedIn in/heberthdeza
View GitHub Profile
@heberth2788
heberth2788 / FirebaseEmulatorConfig.kt
Last active April 3, 2025 17:22
Example of Kotlin class with configuration for Firebase emulators
/**
* 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.
* */
@heberth2788
heberth2788 / network_security_config.xml
Last active April 3, 2025 17:23
Example of network security config for Android app to connect a local Firebase emulators
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<!--
Allow traffic to the Firebase Emulator Suite
See: https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted
-->
<domain includeSubdomains="true">192.168.1.38</domain>
</domain-config>
</network-security-config>