I manage to register a firebase notification topic with this code:
FirebaseMessaging.getInstance().subscribeToTopic("news");
But I want to register this topic after the installation,so even if the application never got launched it would receive the notification. How can I run this line or define it with the installation?