From 28a1d2c88039e672b58ff370f5ffdf8711fbd7b2 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sat, 20 Jun 2020 08:10:53 +0000 Subject: [PATCH] Deploy website Deploy website version based on fb5e95373058c0daec2c4901caf110c5d8efb2ac --- docs/0.10/images.html | 2 +- docs/0.10/images/index.html | 2 +- docs/0.11/images.html | 2 +- docs/0.11/images/index.html | 2 +- docs/0.12/images.html | 2 +- docs/0.12/images/index.html | 2 +- docs/0.13/images.html | 2 +- docs/0.13/images/index.html | 2 +- docs/0.14/images.html | 2 +- docs/0.14/images/index.html | 2 +- docs/0.15/images.html | 2 +- docs/0.15/images/index.html | 2 +- docs/0.16/images.html | 2 +- docs/0.16/images/index.html | 2 +- docs/0.17/images.html | 2 +- docs/0.17/images/index.html | 2 +- docs/0.18/images.html | 2 +- docs/0.18/images/index.html | 2 +- docs/0.19/images.html | 2 +- docs/0.19/images/index.html | 2 +- docs/0.20/images.html | 2 +- docs/0.20/images/index.html | 2 +- docs/0.21/images.html | 2 +- docs/0.21/images/index.html | 2 +- docs/0.22/images.html | 2 +- docs/0.22/images/index.html | 2 +- docs/0.23/images.html | 2 +- docs/0.23/images/index.html | 2 +- docs/0.24/images.html | 2 +- docs/0.24/images/index.html | 2 +- docs/0.25/images.html | 2 +- docs/0.25/images/index.html | 2 +- docs/0.26/images.html | 2 +- docs/0.26/images/index.html | 2 +- docs/0.27/images.html | 2 +- docs/0.27/images/index.html | 2 +- docs/0.28/images.html | 2 +- docs/0.28/images/index.html | 2 +- docs/0.29/images.html | 2 +- docs/0.29/images/index.html | 2 +- docs/0.30/images.html | 2 +- docs/0.30/images/index.html | 2 +- docs/0.31/images.html | 2 +- docs/0.31/images/index.html | 2 +- docs/0.32/images.html | 2 +- docs/0.32/images/index.html | 2 +- docs/0.33/images.html | 2 +- docs/0.33/images/index.html | 2 +- docs/0.34/images.html | 2 +- docs/0.34/images/index.html | 2 +- docs/0.35/images.html | 2 +- docs/0.35/images/index.html | 2 +- docs/0.36/images.html | 2 +- docs/0.36/images/index.html | 2 +- docs/0.37/images.html | 2 +- docs/0.37/images/index.html | 2 +- docs/0.38/images.html | 2 +- docs/0.38/images/index.html | 2 +- docs/0.39/images.html | 2 +- docs/0.39/images/index.html | 2 +- docs/0.40/images.html | 2 +- docs/0.40/images/index.html | 2 +- docs/0.41/images.html | 2 +- docs/0.41/images/index.html | 2 +- docs/0.42/images.html | 2 +- docs/0.42/images/index.html | 2 +- docs/0.43/images.html | 2 +- docs/0.43/images/index.html | 2 +- docs/0.44/images.html | 2 +- docs/0.44/images/index.html | 2 +- docs/0.45/images.html | 2 +- docs/0.45/images/index.html | 2 +- docs/0.46/images.html | 2 +- docs/0.46/images/index.html | 2 +- docs/0.47/images.html | 2 +- docs/0.47/images/index.html | 2 +- docs/0.48/images.html | 2 +- docs/0.48/images/index.html | 2 +- docs/0.49/images.html | 2 +- docs/0.49/images/index.html | 2 +- docs/0.5/images.html | 2 +- docs/0.5/images/index.html | 2 +- docs/0.50/images.html | 2 +- docs/0.50/images/index.html | 2 +- docs/0.51/images.html | 2 +- docs/0.51/images/index.html | 2 +- docs/0.52/images.html | 2 +- docs/0.52/images/index.html | 2 +- docs/0.53/images.html | 2 +- docs/0.53/images/index.html | 2 +- docs/0.54/images.html | 2 +- docs/0.54/images/index.html | 2 +- docs/0.55/images.html | 2 +- docs/0.55/images/index.html | 2 +- docs/0.56/images.html | 2 +- docs/0.56/images/index.html | 2 +- docs/0.57/images.html | 2 +- docs/0.57/images/index.html | 2 +- docs/0.58/images.html | 2 +- docs/0.58/images/index.html | 2 +- docs/0.59/images.html | 2 +- docs/0.59/images/index.html | 2 +- docs/0.6/images.html | 2 +- docs/0.6/images/index.html | 2 +- docs/0.60/images.html | 2 +- docs/0.60/images/index.html | 2 +- docs/0.61/images.html | 2 +- docs/0.61/images/index.html | 2 +- docs/0.7/images.html | 2 +- docs/0.7/images/index.html | 2 +- docs/0.8/images.html | 2 +- docs/0.8/images/index.html | 2 +- docs/0.9/images.html | 2 +- docs/0.9/images/index.html | 2 +- docs/images.html | 2 +- docs/images/index.html | 2 +- 116 files changed, 116 insertions(+), 116 deletions(-) diff --git a/docs/0.10/images.html b/docs/0.10/images.html index fc311839f13..f8126f7d63c 100644 --- a/docs/0.10/images.html +++ b/docs/0.10/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.10/images/index.html b/docs/0.10/images/index.html index fc311839f13..f8126f7d63c 100644 --- a/docs/0.10/images/index.html +++ b/docs/0.10/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.11/images.html b/docs/0.11/images.html index 7a95dbda1e5..ce685195cd4 100644 --- a/docs/0.11/images.html +++ b/docs/0.11/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.11/images/index.html b/docs/0.11/images/index.html index 7a95dbda1e5..ce685195cd4 100644 --- a/docs/0.11/images/index.html +++ b/docs/0.11/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.12/images.html b/docs/0.12/images.html index 794d11ee1f3..9f7a14e43e0 100644 --- a/docs/0.12/images.html +++ b/docs/0.12/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.12/images/index.html b/docs/0.12/images/index.html index 794d11ee1f3..9f7a14e43e0 100644 --- a/docs/0.12/images/index.html +++ b/docs/0.12/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.13/images.html b/docs/0.13/images.html index 7bc10c05f90..471eea82e8d 100644 --- a/docs/0.13/images.html +++ b/docs/0.13/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.13/images/index.html b/docs/0.13/images/index.html index 7bc10c05f90..471eea82e8d 100644 --- a/docs/0.13/images/index.html +++ b/docs/0.13/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.14/images.html b/docs/0.14/images.html index c7546b98c65..359b5ab67e9 100644 --- a/docs/0.14/images.html +++ b/docs/0.14/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.14/images/index.html b/docs/0.14/images/index.html index c7546b98c65..359b5ab67e9 100644 --- a/docs/0.14/images/index.html +++ b/docs/0.14/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.15/images.html b/docs/0.15/images.html index c78e813036c..f6f625dd776 100644 --- a/docs/0.15/images.html +++ b/docs/0.15/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.15/images/index.html b/docs/0.15/images/index.html index c78e813036c..f6f625dd776 100644 --- a/docs/0.15/images/index.html +++ b/docs/0.15/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.16/images.html b/docs/0.16/images.html index 98b318911a7..0c5cc05b386 100644 --- a/docs/0.16/images.html +++ b/docs/0.16/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.16/images/index.html b/docs/0.16/images/index.html index 98b318911a7..0c5cc05b386 100644 --- a/docs/0.16/images/index.html +++ b/docs/0.16/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.17/images.html b/docs/0.17/images.html index 09b8d836fc9..72fee880012 100644 --- a/docs/0.17/images.html +++ b/docs/0.17/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.17/images/index.html b/docs/0.17/images/index.html index 09b8d836fc9..72fee880012 100644 --- a/docs/0.17/images/index.html +++ b/docs/0.17/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.18/images.html b/docs/0.18/images.html index f1c3f11c371..ee63a43b665 100644 --- a/docs/0.18/images.html +++ b/docs/0.18/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.18/images/index.html b/docs/0.18/images/index.html index f1c3f11c371..ee63a43b665 100644 --- a/docs/0.18/images/index.html +++ b/docs/0.18/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.19/images.html b/docs/0.19/images.html index d1a2d8e282a..b08bb2f1655 100644 --- a/docs/0.19/images.html +++ b/docs/0.19/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.19/images/index.html b/docs/0.19/images/index.html index d1a2d8e282a..b08bb2f1655 100644 --- a/docs/0.19/images/index.html +++ b/docs/0.19/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.20/images.html b/docs/0.20/images.html index f6bc209af2a..2cfe1c681c4 100644 --- a/docs/0.20/images.html +++ b/docs/0.20/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.20/images/index.html b/docs/0.20/images/index.html index f6bc209af2a..2cfe1c681c4 100644 --- a/docs/0.20/images/index.html +++ b/docs/0.20/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.21/images.html b/docs/0.21/images.html index 328d942de29..3a6d7c89ed3 100644 --- a/docs/0.21/images.html +++ b/docs/0.21/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.21/images/index.html b/docs/0.21/images/index.html index 328d942de29..3a6d7c89ed3 100644 --- a/docs/0.21/images/index.html +++ b/docs/0.21/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.22/images.html b/docs/0.22/images.html index a340ce95544..8cfca81a364 100644 --- a/docs/0.22/images.html +++ b/docs/0.22/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.22/images/index.html b/docs/0.22/images/index.html index a340ce95544..8cfca81a364 100644 --- a/docs/0.22/images/index.html +++ b/docs/0.22/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.23/images.html b/docs/0.23/images.html index ea51829bfa6..d57e452b3cc 100644 --- a/docs/0.23/images.html +++ b/docs/0.23/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.23/images/index.html b/docs/0.23/images/index.html index ea51829bfa6..d57e452b3cc 100644 --- a/docs/0.23/images/index.html +++ b/docs/0.23/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.24/images.html b/docs/0.24/images.html index 0bed9e18cdb..c14bc36022f 100644 --- a/docs/0.24/images.html +++ b/docs/0.24/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.24/images/index.html b/docs/0.24/images/index.html index 0bed9e18cdb..c14bc36022f 100644 --- a/docs/0.24/images/index.html +++ b/docs/0.24/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.25/images.html b/docs/0.25/images.html index 55163550b5b..86c00551ff5 100644 --- a/docs/0.25/images.html +++ b/docs/0.25/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.25/images/index.html b/docs/0.25/images/index.html index 55163550b5b..86c00551ff5 100644 --- a/docs/0.25/images/index.html +++ b/docs/0.25/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.26/images.html b/docs/0.26/images.html index 5f4dac7baf1..456e5029741 100644 --- a/docs/0.26/images.html +++ b/docs/0.26/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.26/images/index.html b/docs/0.26/images/index.html index 5f4dac7baf1..456e5029741 100644 --- a/docs/0.26/images/index.html +++ b/docs/0.26/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.27/images.html b/docs/0.27/images.html index c4431ababa9..2ef9d171c75 100644 --- a/docs/0.27/images.html +++ b/docs/0.27/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.27/images/index.html b/docs/0.27/images/index.html index c4431ababa9..2ef9d171c75 100644 --- a/docs/0.27/images/index.html +++ b/docs/0.27/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.28/images.html b/docs/0.28/images.html index aa7f556b8d9..0f811898a6e 100644 --- a/docs/0.28/images.html +++ b/docs/0.28/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.28/images/index.html b/docs/0.28/images/index.html index aa7f556b8d9..0f811898a6e 100644 --- a/docs/0.28/images/index.html +++ b/docs/0.28/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.29/images.html b/docs/0.29/images.html index b7b50d45d63..63519d1c5c3 100644 --- a/docs/0.29/images.html +++ b/docs/0.29/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.29/images/index.html b/docs/0.29/images/index.html index b7b50d45d63..63519d1c5c3 100644 --- a/docs/0.29/images/index.html +++ b/docs/0.29/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.30/images.html b/docs/0.30/images.html index 794cea82cb8..5618e6ae315 100644 --- a/docs/0.30/images.html +++ b/docs/0.30/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.30/images/index.html b/docs/0.30/images/index.html index 794cea82cb8..5618e6ae315 100644 --- a/docs/0.30/images/index.html +++ b/docs/0.30/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.31/images.html b/docs/0.31/images.html index 3924753903c..c8f2141b922 100644 --- a/docs/0.31/images.html +++ b/docs/0.31/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.31/images/index.html b/docs/0.31/images/index.html index 3924753903c..c8f2141b922 100644 --- a/docs/0.31/images/index.html +++ b/docs/0.31/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.32/images.html b/docs/0.32/images.html index a7f03eab678..feeb4bc10a0 100644 --- a/docs/0.32/images.html +++ b/docs/0.32/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.32/images/index.html b/docs/0.32/images/index.html index a7f03eab678..feeb4bc10a0 100644 --- a/docs/0.32/images/index.html +++ b/docs/0.32/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.33/images.html b/docs/0.33/images.html index 89cd9c94ef0..c2e077b5381 100644 --- a/docs/0.33/images.html +++ b/docs/0.33/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.33/images/index.html b/docs/0.33/images/index.html index 89cd9c94ef0..c2e077b5381 100644 --- a/docs/0.33/images/index.html +++ b/docs/0.33/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.34/images.html b/docs/0.34/images.html index 0a62e547af2..ca03bb82de5 100644 --- a/docs/0.34/images.html +++ b/docs/0.34/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.34/images/index.html b/docs/0.34/images/index.html index 0a62e547af2..ca03bb82de5 100644 --- a/docs/0.34/images/index.html +++ b/docs/0.34/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.35/images.html b/docs/0.35/images.html index fbddab759e1..bae1295c010 100644 --- a/docs/0.35/images.html +++ b/docs/0.35/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.35/images/index.html b/docs/0.35/images/index.html index fbddab759e1..bae1295c010 100644 --- a/docs/0.35/images/index.html +++ b/docs/0.35/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.36/images.html b/docs/0.36/images.html index 923add01cab..beca1c898e6 100644 --- a/docs/0.36/images.html +++ b/docs/0.36/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.36/images/index.html b/docs/0.36/images/index.html index 923add01cab..beca1c898e6 100644 --- a/docs/0.36/images/index.html +++ b/docs/0.36/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.37/images.html b/docs/0.37/images.html index 376ca4288a7..42f01e9cb0c 100644 --- a/docs/0.37/images.html +++ b/docs/0.37/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.37/images/index.html b/docs/0.37/images/index.html index 376ca4288a7..42f01e9cb0c 100644 --- a/docs/0.37/images/index.html +++ b/docs/0.37/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.38/images.html b/docs/0.38/images.html index c5deef74a58..eff9ffc1dff 100644 --- a/docs/0.38/images.html +++ b/docs/0.38/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.38/images/index.html b/docs/0.38/images/index.html index c5deef74a58..eff9ffc1dff 100644 --- a/docs/0.38/images/index.html +++ b/docs/0.38/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.39/images.html b/docs/0.39/images.html index d38798743da..6a8d3639177 100644 --- a/docs/0.39/images.html +++ b/docs/0.39/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.39/images/index.html b/docs/0.39/images/index.html index d38798743da..6a8d3639177 100644 --- a/docs/0.39/images/index.html +++ b/docs/0.39/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.40/images.html b/docs/0.40/images.html index 8338491e112..12204408602 100644 --- a/docs/0.40/images.html +++ b/docs/0.40/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.40/images/index.html b/docs/0.40/images/index.html index 8338491e112..12204408602 100644 --- a/docs/0.40/images/index.html +++ b/docs/0.40/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.41/images.html b/docs/0.41/images.html index 6b0a91f5637..5dcec412496 100644 --- a/docs/0.41/images.html +++ b/docs/0.41/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.41/images/index.html b/docs/0.41/images/index.html index 6b0a91f5637..5dcec412496 100644 --- a/docs/0.41/images/index.html +++ b/docs/0.41/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.42/images.html b/docs/0.42/images.html index 121cebc55f8..7296c296a62 100644 --- a/docs/0.42/images.html +++ b/docs/0.42/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.42/images/index.html b/docs/0.42/images/index.html index 121cebc55f8..7296c296a62 100644 --- a/docs/0.42/images/index.html +++ b/docs/0.42/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.43/images.html b/docs/0.43/images.html index b0469909501..2f372f4634c 100644 --- a/docs/0.43/images.html +++ b/docs/0.43/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.43/images/index.html b/docs/0.43/images/index.html index b0469909501..2f372f4634c 100644 --- a/docs/0.43/images/index.html +++ b/docs/0.43/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.44/images.html b/docs/0.44/images.html index e1ee1db1833..e75ea15bb0f 100644 --- a/docs/0.44/images.html +++ b/docs/0.44/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.44/images/index.html b/docs/0.44/images/index.html index e1ee1db1833..e75ea15bb0f 100644 --- a/docs/0.44/images/index.html +++ b/docs/0.44/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.45/images.html b/docs/0.45/images.html index 43cf2a27037..defb623e083 100644 --- a/docs/0.45/images.html +++ b/docs/0.45/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.45/images/index.html b/docs/0.45/images/index.html index 43cf2a27037..defb623e083 100644 --- a/docs/0.45/images/index.html +++ b/docs/0.45/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.46/images.html b/docs/0.46/images.html index 136cdeadce2..c49d8ec0ec5 100644 --- a/docs/0.46/images.html +++ b/docs/0.46/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.46/images/index.html b/docs/0.46/images/index.html index 136cdeadce2..c49d8ec0ec5 100644 --- a/docs/0.46/images/index.html +++ b/docs/0.46/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.47/images.html b/docs/0.47/images.html index c301fb437eb..eff685d6ef8 100644 --- a/docs/0.47/images.html +++ b/docs/0.47/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.47/images/index.html b/docs/0.47/images/index.html index c301fb437eb..eff685d6ef8 100644 --- a/docs/0.47/images/index.html +++ b/docs/0.47/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.48/images.html b/docs/0.48/images.html index 0a228777be0..8e11bb65d58 100644 --- a/docs/0.48/images.html +++ b/docs/0.48/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.48/images/index.html b/docs/0.48/images/index.html index 0a228777be0..8e11bb65d58 100644 --- a/docs/0.48/images/index.html +++ b/docs/0.48/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.49/images.html b/docs/0.49/images.html index ec35889240e..dd1cf340509 100644 --- a/docs/0.49/images.html +++ b/docs/0.49/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.49/images/index.html b/docs/0.49/images/index.html index ec35889240e..dd1cf340509 100644 --- a/docs/0.49/images/index.html +++ b/docs/0.49/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.5/images.html b/docs/0.5/images.html index 33da45edae2..48cdeb9f618 100644 --- a/docs/0.5/images.html +++ b/docs/0.5/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.5/images/index.html b/docs/0.5/images/index.html index 33da45edae2..48cdeb9f618 100644 --- a/docs/0.5/images/index.html +++ b/docs/0.5/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.50/images.html b/docs/0.50/images.html index c3235ce2882..87581f9710f 100644 --- a/docs/0.50/images.html +++ b/docs/0.50/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.50/images/index.html b/docs/0.50/images/index.html index c3235ce2882..87581f9710f 100644 --- a/docs/0.50/images/index.html +++ b/docs/0.50/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.51/images.html b/docs/0.51/images.html index e0ac2672637..2c22a85e228 100644 --- a/docs/0.51/images.html +++ b/docs/0.51/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.51/images/index.html b/docs/0.51/images/index.html index e0ac2672637..2c22a85e228 100644 --- a/docs/0.51/images/index.html +++ b/docs/0.51/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.52/images.html b/docs/0.52/images.html index ae9aefc0f33..01f87715184 100644 --- a/docs/0.52/images.html +++ b/docs/0.52/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.52/images/index.html b/docs/0.52/images/index.html index ae9aefc0f33..01f87715184 100644 --- a/docs/0.52/images/index.html +++ b/docs/0.52/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.53/images.html b/docs/0.53/images.html index 63b286d270b..98706cd6339 100644 --- a/docs/0.53/images.html +++ b/docs/0.53/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.53/images/index.html b/docs/0.53/images/index.html index 63b286d270b..98706cd6339 100644 --- a/docs/0.53/images/index.html +++ b/docs/0.53/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.54/images.html b/docs/0.54/images.html index befc87d099d..036c3ecad1b 100644 --- a/docs/0.54/images.html +++ b/docs/0.54/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.54/images/index.html b/docs/0.54/images/index.html index befc87d099d..036c3ecad1b 100644 --- a/docs/0.54/images/index.html +++ b/docs/0.54/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.55/images.html b/docs/0.55/images.html index 070103d2ebe..84e4e352c92 100644 --- a/docs/0.55/images.html +++ b/docs/0.55/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.55/images/index.html b/docs/0.55/images/index.html index 070103d2ebe..84e4e352c92 100644 --- a/docs/0.55/images/index.html +++ b/docs/0.55/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.56/images.html b/docs/0.56/images.html index dcb5befce23..d908b1bc033 100644 --- a/docs/0.56/images.html +++ b/docs/0.56/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.56/images/index.html b/docs/0.56/images/index.html index dcb5befce23..d908b1bc033 100644 --- a/docs/0.56/images/index.html +++ b/docs/0.56/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.57/images.html b/docs/0.57/images.html index 8faaf9e368a..09c4885db3f 100644 --- a/docs/0.57/images.html +++ b/docs/0.57/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.57/images/index.html b/docs/0.57/images/index.html index 8faaf9e368a..09c4885db3f 100644 --- a/docs/0.57/images/index.html +++ b/docs/0.57/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.58/images.html b/docs/0.58/images.html index a412c17d057..bb9c04bcbef 100644 --- a/docs/0.58/images.html +++ b/docs/0.58/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.58/images/index.html b/docs/0.58/images/index.html index a412c17d057..bb9c04bcbef 100644 --- a/docs/0.58/images/index.html +++ b/docs/0.58/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.59/images.html b/docs/0.59/images.html index 4345bd36334..866dea18eb3 100644 --- a/docs/0.59/images.html +++ b/docs/0.59/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.59/images/index.html b/docs/0.59/images/index.html index 4345bd36334..866dea18eb3 100644 --- a/docs/0.59/images/index.html +++ b/docs/0.59/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.6/images.html b/docs/0.6/images.html index 6035cea9e7e..682afbdef31 100644 --- a/docs/0.6/images.html +++ b/docs/0.6/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.6/images/index.html b/docs/0.6/images/index.html index 6035cea9e7e..682afbdef31 100644 --- a/docs/0.6/images/index.html +++ b/docs/0.6/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.60/images.html b/docs/0.60/images.html index 90e1c44525c..4921c08c8c1 100644 --- a/docs/0.60/images.html +++ b/docs/0.60/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.60/images/index.html b/docs/0.60/images/index.html index 90e1c44525c..4921c08c8c1 100644 --- a/docs/0.60/images/index.html +++ b/docs/0.60/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.61/images.html b/docs/0.61/images.html index 1be3c07cf10..129bce9fa23 100644 --- a/docs/0.61/images.html +++ b/docs/0.61/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.61/images/index.html b/docs/0.61/images/index.html index 1be3c07cf10..129bce9fa23 100644 --- a/docs/0.61/images/index.html +++ b/docs/0.61/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.7/images.html b/docs/0.7/images.html index 38a38c6d917..f8e310b919f 100644 --- a/docs/0.7/images.html +++ b/docs/0.7/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.7/images/index.html b/docs/0.7/images/index.html index 38a38c6d917..f8e310b919f 100644 --- a/docs/0.7/images/index.html +++ b/docs/0.7/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.8/images.html b/docs/0.8/images.html index e90cf80bc2a..a081ca49fdd 100644 --- a/docs/0.8/images.html +++ b/docs/0.8/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.8/images/index.html b/docs/0.8/images/index.html index e90cf80bc2a..a081ca49fdd 100644 --- a/docs/0.8/images/index.html +++ b/docs/0.8/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.9/images.html b/docs/0.9/images.html index c5ef839262c..5a243f95540 100644 --- a/docs/0.9/images.html +++ b/docs/0.9/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/0.9/images/index.html b/docs/0.9/images/index.html index c5ef839262c..5a243f95540 100644 --- a/docs/0.9/images/index.html +++ b/docs/0.9/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/images.html b/docs/images.html index 92d688d309f..5f58a790713 100644 --- a/docs/images.html +++ b/docs/images.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.

diff --git a/docs/images/index.html b/docs/images/index.html index 92d688d309f..5f58a790713 100644 --- a/docs/images/index.html +++ b/docs/images/index.html @@ -115,7 +115,7 @@

Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set { width: undefined, height: undefined } on the style attribute.

Static Non-Image Resources

The require syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including .mp3, .wav, .mp4, .mov, .html and .pdf. See bundler defaults for the full list.

-

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

+

You can add support for other types by adding an assetExts resolver option in your Metro configuration.

A caveat is that videos must use absolute positioning instead of flexGrow, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.

Images From Hybrid App's Resources

If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.