Add Firebase In-App Messaging SDK
@@ -141,7 +141,14 @@ dependencies {
implementation "com.google.firebase:firebase-core:16.0.9"
implementation "com.google.firebase:firebase-messaging:18.0.0"
// Add the dependency for the Performance Monitoring library
- implementation 'com.google.firebase:firebase-perf:17.0.0'
+ implementation 'com.google.firebase:firebase-perf:17.0.2'
+ // Add the In-App Messaging dependency:
+ implementation('com.google.firebase:firebase-inappmessaging-display:17.2.0') {
+ // This exclusion has been added due to a conflict between this library and Roboguice
+ // (which has already added the javax.inject group) causing the following error during
+ // compile time: Error: Program type already present: javax.inject.Inject
+ exclude group: 'javax.inject'
+ }
// Exo Player
implementation 'com.google.android.exoplayer:exoplayer:2.9.2'
