Skip to content

Commit 6cc8ce3

Browse files
committed
docs: update gif troubleshooting for android
1 parent 41aa246 commit 6cc8ce3

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docusaurus/docs/reactnative/basics/troubleshooting.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -236,17 +236,15 @@ You will need to add some modules in your `android/app/build.gradle`
236236

237237
```java
238238
dependencies {
239-
// For Android versions less than Ice Cream Sandwich (API level 14)
240-
implementation 'com.facebook.fresco:animated-base-support:1.3.0'
239+
// For animated GIF support
240+
implementation 'com.facebook.fresco:animated-gif:2.6.0'
241241

242-
// For GIF support
243-
implementation 'com.facebook.fresco:animated-gif:2.0.0'
242+
// For WebP support, including animated WebP
243+
implementation 'com.facebook.fresco:animated-webp:2.6.0'
244+
implementation 'com.facebook.fresco:webpsupport:2.6.0'
244245

245-
// For WebP support, with animations
246-
implementation 'com.facebook.fresco:animated-webp:2.1.0'
247-
248-
// For WebP support, without animations
249-
implementation 'com.facebook.fresco:webpsupport:2.0.0'
246+
// Provide the Android support library (you might already have this or a similar dependency)
247+
implementation 'com.android.support:support-core-utils:24.2.1'
250248
...
251249
}
252250
```

0 commit comments

Comments
 (0)