This shows how to integrate with Pushwoosh plugin, accordingly with the documentation.
If you're using the Pushwoosh plugin in your Android app, do not forget to add "google-services.zip" as resource.
Sample adapted to be compliant with Pushwoosh Plugin Version 4.4.0
Fixes the error reported here, "Failed to register device (status: "Stopped by in-app")"