chore: add webp support
This commit is contained in:
parent
c483abfa60
commit
555e33a89a
|
@ -115,6 +115,7 @@ commands:
|
||||||
echo -e "android.useAndroidX=true" >> ./gradle.properties
|
echo -e "android.useAndroidX=true" >> ./gradle.properties
|
||||||
echo -e "android.enableJetifier=true" >> ./gradle.properties
|
echo -e "android.enableJetifier=true" >> ./gradle.properties
|
||||||
echo -e "FLIPPER_VERSION=0.51.0" >> ./gradle.properties
|
echo -e "FLIPPER_VERSION=0.51.0" >> ./gradle.properties
|
||||||
|
echo -e "FRESCO_VERSION=2.0.0" >> ./gradle.properties
|
||||||
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
|
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
|
||||||
|
|
||||||
if [[ $CIRCLE_JOB == "android-build-official" ]]; then
|
if [[ $CIRCLE_JOB == "android-build-official" ]]; then
|
||||||
|
|
|
@ -304,6 +304,8 @@ dependencies {
|
||||||
implementation jscFlavor
|
implementation jscFlavor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
implementation "com.facebook.fresco:animated-webp:${FRESCO_VERSION}"
|
||||||
|
implementation "com.facebook.fresco:webpsupport:${FRESCO_VERSION}"
|
||||||
implementation "com.google.code.gson:gson:2.8.5"
|
implementation "com.google.code.gson:gson:2.8.5"
|
||||||
implementation "com.github.bumptech.glide:glide:4.9.0"
|
implementation "com.github.bumptech.glide:glide:4.9.0"
|
||||||
annotationProcessor "com.github.bumptech.glide:compiler:4.9.0"
|
annotationProcessor "com.github.bumptech.glide:compiler:4.9.0"
|
||||||
|
|
|
@ -29,6 +29,9 @@ android.enableJetifier=true
|
||||||
# Version of flipper SDK to use with React Native
|
# Version of flipper SDK to use with React Native
|
||||||
FLIPPER_VERSION=0.75.1
|
FLIPPER_VERSION=0.75.1
|
||||||
|
|
||||||
|
# Version of fresco for WebP support on React Native
|
||||||
|
FRESCO_VERSION=2.0.0
|
||||||
|
|
||||||
# Application ID
|
# Application ID
|
||||||
APPLICATION_ID=chat.rocket.reactnative
|
APPLICATION_ID=chat.rocket.reactnative
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue