Skip to content

GetSocial SDK Debug Logs

Enabling Debug Logs

By default GetSocial SDK prints only Warnings and Errors to the log. To enable debug logs follow the guide below.

Android

From the terminal on your computer execute:

adb shell setprop debug.getsocial.sdk.app [your package name]

You have to restart the app to see the logs.

To disable debug logs reboot the device or execute the command below:

adb shell setprop debug.getsocial.sdk.app none

iOS

With Recompiling your project

To enable debug logs set debug property to true in your getsocial.json file:

...
"debug": true
...

Without Recompiling your project

Enabling debug logs require finishing of Getting Started with GetSocial iOS SDK guide.

To enable debug logs, use your app Smart Link with getsocial_debug_mode query parameter with true value:
<YOUR_APP_LINK>/getsocial_debug_mode=true

Example:
https://getsocialdemo.gsc.im/getsocial_debug_mode=true

To disable debug logs:

To disable debug logs, use your app Smart Link with getsocial_debug_mode query parameter with false value:
<YOUR_APP_LINK>/getsocial_debug_mode=false

Example:
https://getsocialdemo.gsc.im/getsocial_debug_mode=false

Give us your feedback! Was this article helpful?

😀 🙁