Is there a way in react native to see the log from native (java) modules of android?
I'm using javas log module https://developer.android.com/reference/android/util/Log.html - but I'm not getting anything from there. and to be honest I'm not sure how to use it if it's at all possible. atm there isn't much code - it's just
Log.d("Notification","Notify App");
Because I want to see if I can see the notifications somewhere - I do know the java module is registered correctly as I'm calling other functions from it.
Thanks!
If you put Log.d
s in your native code, you can access the logs with Android Device Monitor in android studio, or with this command on the terminal: adb -d logcat <your package name>:<log level> *:S
Make sure USB debugging is enabled in your phone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With