Compare commits

...

1 Commits

Author SHA1 Message Date
Gerzon Z 555e33a89a chore: add webp support 2022-03-30 20:22:28 -04:00
3 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,7 @@ commands:
echo -e "android.useAndroidX=true" >> ./gradle.properties
echo -e "android.enableJetifier=true" >> ./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
if [[ $CIRCLE_JOB == "android-build-official" ]]; then

View File

@ -304,6 +304,8 @@ dependencies {
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.github.bumptech.glide:glide:4.9.0"
annotationProcessor "com.github.bumptech.glide:compiler:4.9.0"

View File

@ -29,6 +29,9 @@ android.enableJetifier=true
# Version of flipper SDK to use with React Native
FLIPPER_VERSION=0.75.1
# Version of fresco for WebP support on React Native
FRESCO_VERSION=2.0.0
# Application ID
APPLICATION_ID=chat.rocket.reactnative