Skip to content

Instantly share code, notes, and snippets.

@Gustavo-Kuze
Created January 20, 2021 15:05
Show Gist options
  • Save Gustavo-Kuze/82daa1057de0a7c1cc622584f722b546 to your computer and use it in GitHub Desktop.
Save Gustavo-Kuze/82daa1057de0a7c1cc622584f722b546 to your computer and use it in GitHub Desktop.
Como depurar o Analytics no React Native Firebase

iOS

  1. No XCode, acesse a tela "Edit Scheme" (menu -> Product -> Scheme -> Edit Scheme...)
  2. Na aba Arguments, passe a flag "-FIRDebugEnabled" para habilitar o debug do Firebase
  3. Passe a flag "-FIRDebugDisabled" para desabilitar o debug.

Android

  1. Para habilitar o debug, execute o comando:

adb shell setprop debug.firebase.analytics.app com.meuapp.massa

  1. Para desabilitar, execute o comando:

adb shell setprop debug.firebase.analytics.app .none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment