[Firebase Mobile] Debug mode

Forge Component
(20)
Published on 26 May by Patrícia Glória Ferreira
20 votes
Published on 26 May by Patrícia Glória Ferreira

Is there a way to enable Debug mode ?

https://firebase.google.com/docs/analytics/debugview


Thank you.

For which OS ('droid / iOs)?

Swatantra Kumar wrote:

For which OS ('droid / iOs)?


iOS

Hello Team,

How to enable Debug mode?

Hi Suhas,

Checkout how to enable Debug Mode flag in all eSpaces.

Regards,

Swatantra

Swatantra Kumar wrote:

Hi Suhas,

Checkout how to enable Debug Mode flag in all eSpaces.

Regards,

Swatantra

Hello,


I want to check debug view of firebase. So how to enable debugview?

Hi Abdullah Alosaimi & Suhas Jamdade,

Try below steps to setup the application with debug view :

1- Make sure you have adb-shell installed on your windows-machine, you can also prefer the machine which has Android Studio installed.

2- Install your application on the device for which the Debug option is allowed, You can find that after u enable the developer option, by default it is hidden but u can find easily on google the hidden steps to enable it. For instance some device manufacture enable developer option when we tap on BUILD NUMBER for min 6 times.

3- After you install the Outsystems application- open it, now connect the device with a cable to Machine.

4- Open Android Studio > Logcat, confirm that u are able to see logs.

5- Now right in the bottom in Android Studio you will find Terminal i.e adb-shell


6- Run the following commands on adb-shell [ make sure your device is connected to machine]

To enable Analytics Debug mode on an Android device, execute the following commands:

adb shell setprop debug.firebase.analytics.app package_name

if you see the text * daemon started successfully, you'll know it worked.

7- Keep app connect & Navigate to firebase Reporting :

https://firebase.google.com/docs/analytics/debugview#reporting


Ref :

https://firebase.google.com/docs/analytics/debugview


Note: I didn't personally test/confirm same, but I am sure it will work for you, I posted the solution on my Native Dev Perspective. Also, the Point-2 might not be mandatory for this but it may help you to find what's going wrong.. with the help of logCat


Let me know, else we'll try to attempt the same.

Hope it Helps,

Assif