Skip to content

Commit

Permalink
Merge pull request #96 from BranchMetrics/chore/update-plugin-readme-…
Browse files Browse the repository at this point in the history
…for-multidex-support

[CHORE] Updated README for fixing issues on duplicate `android-suppor…
  • Loading branch information
aaustin committed Apr 11, 2016
2 parents eb38b43 + a9b41b4 commit 3a1f20e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,25 @@ To be able to use all of the deep linking capabilities of the Branch SDK, some m

If you are enabling both iOS Universal Links and Android App Links, these keys in the following sections should be combined into a single parent item without duplicates.

#### Android: Resolving issue with multiple support-lib v4

Branch.IO doesn't depends on `android-support-v4` file. But in any case you will be integrating other Cordova plugins along with Branch.IO, here are possible ways to fix the issue:

* Adding `multiDexEnabled true` inside defaultConfig tag in `build.gradle`
```
defaultConfig {
multiDexEnabled true
}
```
* Removing the `android-support-v4.jar` in Android `libs` directory.
* Executing `./gradlew clean` in the Android directory
* Excluding `android-support-v4` file for compiling
```
compile ('com.google.android.gms:play-services:6.5.87') {
exclude module: 'support-v4'
}
```

#### iOS: Enable Universal Links

In iOS 9.2, Apple dropped support for URI scheme redirects. You must enable Universal Links if you want Branch-generated links to work in your iOS app. To do this:
Expand Down

0 comments on commit 3a1f20e

Please sign in to comment.