Skip to content

Commit

Permalink
don't force invalid multidex version when forcing similar supportLibV…
Browse files Browse the repository at this point in the history
  • Loading branch information
ruddell committed Aug 27, 2019
1 parent c8fab8a commit 53d1d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/react-native-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const updateAndroidFiles = async (context, props) => {
insert: `configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (requested.group == 'com.android.support' && (requested.name != 'multidex' && requested.name != 'multidex-instrumentation')) {
details.useVersion "\${rootProject.ext.supportLibVersion}"
}
}
Expand Down

0 comments on commit 53d1d3e

Please sign in to comment.