How to use Firebase component Discovery service in On-demand feature module

394 views Asked by At

If I add firebase.ComponentDiscoveryService in AndroidManifest.xml of the on-demand module,

<service android:name="com.google.firebase.components.ComponentDiscoveryService">
</service>

When I launch the app, it immediately crashes. Stating, App has crashed. java.lang.NullPointerException: Firebase Messaging component is not present

0

There are 0 answers