Skip to content

Commit e86593b

Browse files
author
Hanno Gödecke
committed
Fixing issue with olm aar dependency
1 parent d9eff5c commit e86593b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

android/build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,8 @@ dependencies {
8585
implementation 'com.facebook.react:react-native:+' // From node_modules
8686

8787
// Matrix android SDK https://github.com/matrix-org/matrix-android-sdk
88-
implementation('com.github.matrix-org:matrix-android-sdk:v0.9.35') {
89-
exclude group: 'org.matrix.gitlab.matrix-org', module: 'olm'
90-
}
91-
// This one is broken: https://github.com/jitpack/jitpack.io/issues/3908#issuecomment-526767673
92-
//implementation 'org.matrix.gitlab.matrix-org:olm:3.1.5'
93-
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
88+
// the peer dependency 'olm' sometimes becomes broken: https://github.com/jitpack/jitpack.io/issues/3908#issuecomment-526767673
89+
implementation('com.github.matrix-org:matrix-android-sdk:v0.9.35')
9490

9591
// For converting JSON stuff (is done with GSON in matrixSDK)
9692
implementation 'com.google.code.gson:gson:2.8.6'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-matrix-sdk",
33
"title": "React Native Matrix Sdk",
4-
"version": "1.0.0-alpha60",
4+
"version": "1.0.0-alpha61",
55
"description": "React Native SDK for Matrix.org",
66
"main": "index.js",
77
"types": "./types/index.d.ts",

0 commit comments

Comments
 (0)