Debugging
Once you've released an update, the React Native plugin has been integrated into your app, it can be helpful to diagnose how the plugin is behaving, especially if you run into an issue and want to understand why. In order to debug the Turbopush update discovery experience, you can run the following command in order to easily view the diagnostic logs produced by the Turbopush plugin within your app:
turbopush debug <platform>
# View all Turbopush logs from a running
# instance of the iOS simulator.
turbopush debug ios
# View all Turbopush logs from a running
# Android emulator or attached device.
turbopush debug android

Under the covers, this command simply automates the usage of the iOS system logs and ADB logcat, but provides a platform-agnostic, filtered view of all logs coming from the Turbopush plugin. This way, you don't need to learn and/or use another tool simply to be able to answer basic questions about how Turbopush is behaving.
NOTE: The debug command supports both emulators and devices for Android, but currently only supports listening to logs from the iOS simulator. We hope to add device support soon.