Add example specifying the type for Android file expansion

This commit is contained in:
Hampton Maxwell 2018-06-22 21:10:16 -07:00 committed by GitHub
parent 98639d7c84
commit e4f83439f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "background.mp4" in your expansion file. Just add your main and (if applicable) patch version
``` ```
<Video <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. This will look for an .mp4 file (background.mp4) in the given expansion version.