expo-image 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +20 -1
- package/package.json +2 -2
package/android/build.gradle
CHANGED
|
@@ -45,7 +45,7 @@ android {
|
|
|
45
45
|
minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
|
|
46
46
|
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
|
|
47
47
|
versionCode 1
|
|
48
|
-
versionName "0.2.
|
|
48
|
+
versionName "0.2.1"
|
|
49
49
|
}
|
|
50
50
|
lintOptions {
|
|
51
51
|
abortOnError false
|
|
@@ -95,3 +95,22 @@ dependencies {
|
|
|
95
95
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.4.21')}"
|
|
96
96
|
implementation "jp.wasabeef:glide-transformations:4.3.0"
|
|
97
97
|
}
|
|
98
|
+
|
|
99
|
+
// [BEGIN] Workaround okhttp/okio compatibility issue
|
|
100
|
+
// Remove when we drop support for SDK 44
|
|
101
|
+
def okhttpPinnedArtifacts = []
|
|
102
|
+
configurations.api.getDependencies().removeIf { it ->
|
|
103
|
+
if (['com.squareup.okhttp3', 'com.squareup.okio'].contains(it.group)) {
|
|
104
|
+
okhttpPinnedArtifacts.add("${it.group}:${it.name}:${it.version}")
|
|
105
|
+
return true
|
|
106
|
+
}
|
|
107
|
+
return false
|
|
108
|
+
}
|
|
109
|
+
okhttpPinnedArtifacts.each { artifact ->
|
|
110
|
+
dependencies.add('compileOnly', artifact)
|
|
111
|
+
dependencies.add('testApi', artifact)
|
|
112
|
+
configurations.all {
|
|
113
|
+
resolutionStrategy.force(artifact)
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
// [END] Workaround okhttp/okio compatibility issue
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-image",
|
|
3
3
|
"title": "Expo Image",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "A cross-platform, performant image component for React Native and Expo with Web support",
|
|
6
6
|
"main": "build/index.js",
|
|
7
7
|
"types": "build/index.d.ts",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"expo": "*"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "693e58494ed4753b55d3f379b1da1cf796cdf4e3"
|
|
37
37
|
}
|