Unverified Commit e4f83439 authored by Hampton Maxwell's avatar Hampton Maxwell Committed by GitHub
Browse files

Add example specifying the type for Android file expansion

parent 98639d7c
Loading
Loading
Loading
Loading
+1 −1
Changes for README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -566,7 +566,7 @@ Within your render function, assuming you have a file called
"background.mp4" in your expansion file. Just add your main and (if applicable) patch version
```
<Video
  source={{uri: "background", mainVer: 1, patchVer: 0}}
  source={{uri: "background", type: "mp4", mainVer: 1, patchVer: 0}}
/>
```
This will look for an .mp4 file (background.mp4) in the given expansion version.