Skip to content

Commit e09971a

Browse files
committed
chore: exclude the Google Play service Maps SDK on example app
1 parent ed017b6 commit e09971a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

example/android/build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,18 @@ allprojects {
4242
maven {
4343
url("$rootDir/../node_modules/detox/Detox-android")
4444
}
45-
}
45+
}
4646

47+
// Required: you must exclude the Google Play service Maps SDK from
48+
// your transitive dependencies to make sure there won't be
49+
// multiple copies of Google Maps SDK in your binary, as the Navigation
50+
// SDK already bundles the Google Maps SDK.
51+
configurations {
52+
implementation {
53+
exclude group: 'com.google.android.gms', module: 'play-services-maps'
54+
}
55+
}
56+
4757
subprojects {
4858
afterEvaluate { project ->
4959
if (project.hasProperty('android')) {

0 commit comments

Comments
 (0)