diff --git a/docs/assets/GettingStartedAVDManagerMacOS.png b/docs/assets/GettingStartedAVDManagerMacOS.png index a10e8d43f9f..c4c6fa57b56 100644 Binary files a/docs/assets/GettingStartedAVDManagerMacOS.png and b/docs/assets/GettingStartedAVDManagerMacOS.png differ diff --git a/docs/assets/GettingStartedAVDManagerWindows.png b/docs/assets/GettingStartedAVDManagerWindows.png index 515c6c49798..e201dee3fba 100644 Binary files a/docs/assets/GettingStartedAVDManagerWindows.png and b/docs/assets/GettingStartedAVDManagerWindows.png differ diff --git a/docs/assets/GettingStartedAndroidSDKManagerInstallsMacOS.png b/docs/assets/GettingStartedAndroidSDKManagerInstallsMacOS.png index b7356311656..522d8b4436d 100644 Binary files a/docs/assets/GettingStartedAndroidSDKManagerInstallsMacOS.png and b/docs/assets/GettingStartedAndroidSDKManagerInstallsMacOS.png differ diff --git a/docs/assets/GettingStartedAndroidSDKManagerInstallsWindows.png b/docs/assets/GettingStartedAndroidSDKManagerInstallsWindows.png index 58536e8dbd0..0acde613777 100644 Binary files a/docs/assets/GettingStartedAndroidSDKManagerInstallsWindows.png and b/docs/assets/GettingStartedAndroidSDKManagerInstallsWindows.png differ diff --git a/docs/assets/GettingStartedAndroidSDKManagerMacOS.png b/docs/assets/GettingStartedAndroidSDKManagerMacOS.png index 1b77eb0ae58..9a145be12e6 100644 Binary files a/docs/assets/GettingStartedAndroidSDKManagerMacOS.png and b/docs/assets/GettingStartedAndroidSDKManagerMacOS.png differ diff --git a/docs/assets/GettingStartedAndroidSDKManagerSDKToolsMacOS.png b/docs/assets/GettingStartedAndroidSDKManagerSDKToolsMacOS.png index facce994962..fc126365d55 100644 Binary files a/docs/assets/GettingStartedAndroidSDKManagerSDKToolsMacOS.png and b/docs/assets/GettingStartedAndroidSDKManagerSDKToolsMacOS.png differ diff --git a/docs/assets/GettingStartedAndroidSDKManagerSDKToolsWindows.png b/docs/assets/GettingStartedAndroidSDKManagerSDKToolsWindows.png index cb0dd0f13b6..8624567632b 100644 Binary files a/docs/assets/GettingStartedAndroidSDKManagerSDKToolsWindows.png and b/docs/assets/GettingStartedAndroidSDKManagerSDKToolsWindows.png differ diff --git a/docs/assets/GettingStartedAndroidSDKManagerWindows.png b/docs/assets/GettingStartedAndroidSDKManagerWindows.png index 2e33f9a44e2..72a102486cc 100644 Binary files a/docs/assets/GettingStartedAndroidSDKManagerWindows.png and b/docs/assets/GettingStartedAndroidSDKManagerWindows.png differ diff --git a/docs/assets/GettingStartedCreateAVDx86MacOS.png b/docs/assets/GettingStartedCreateAVDx86MacOS.png index 9b454a69635..e645701fee1 100644 Binary files a/docs/assets/GettingStartedCreateAVDx86MacOS.png and b/docs/assets/GettingStartedCreateAVDx86MacOS.png differ diff --git a/docs/assets/GettingStartedCreateAVDx86Windows.png b/docs/assets/GettingStartedCreateAVDx86Windows.png index b3f0de008ee..5a9a8a68c6d 100644 Binary files a/docs/assets/GettingStartedCreateAVDx86Windows.png and b/docs/assets/GettingStartedCreateAVDx86Windows.png differ diff --git a/docs/next/getting-started.html b/docs/next/getting-started.html index 96a3e463af8..be5c873d356 100644 --- a/docs/next/getting-started.html +++ b/docs/next/getting-started.html @@ -254,7 +254,7 @@

Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.

2. Install the Android SDK

-

Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 6.0 (Marshmallow) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.

+

Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 8.0 (Oreo) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.

The SDK Manager can be accessed from the "Welcome to Android Studio" screen. Click on "Configure", then select "SDK Manager".

Android Studio Welcome

@@ -264,11 +264,9 @@

The SDK Manager can also be found within the Android Studio "Preferences" dialog, under Appearance & BehaviorSystem SettingsAndroid SDK.

-

Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 6.0 (Marshmallow) entry, then make sure the following items are all checked:

+

Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 8.0 (Oreo) entry, then make sure the following items are all checked:

@@ -276,11 +274,11 @@

Android SDK Manager

-

Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that 23.0.1 is selected.

+

Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that 26.0.3 is selected.

-

Android SDK Manager - 23.0.1 Build Tools

+

Android SDK Manager - 26.0.3 Build Tools

-

Android SDK Manager - 23.0.1 Build Tools

+

Android SDK Manager - 26.0.3 Build Tools

Finally, click "Apply" to download and install the Android SDK and related build tools.

@@ -353,7 +351,7 @@

Android Studio AVD Manager

-

Select the "x86 Images" tab, then look for the Marshmallow API Level 23, x86_64 ABI image with a Android 6.0 (Google APIs) target.

+

Select the "x86 Images" tab, then look for the Oreo API Level 26, x86_64 ABI image with a Android 8.0 (Google APIs) target.

We recommend configuring VM acceleration on your system to improve performance. Once you've followed those instructions, go back to the AVD Manager.

diff --git a/docs/next/getting-started/index.html b/docs/next/getting-started/index.html index 96a3e463af8..be5c873d356 100644 --- a/docs/next/getting-started/index.html +++ b/docs/next/getting-started/index.html @@ -254,7 +254,7 @@

Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.

2. Install the Android SDK

-

Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 6.0 (Marshmallow) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.

+

Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 8.0 (Oreo) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.

The SDK Manager can be accessed from the "Welcome to Android Studio" screen. Click on "Configure", then select "SDK Manager".

Android Studio Welcome

@@ -264,11 +264,9 @@

The SDK Manager can also be found within the Android Studio "Preferences" dialog, under Appearance & BehaviorSystem SettingsAndroid SDK.

-

Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 6.0 (Marshmallow) entry, then make sure the following items are all checked:

+

Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 8.0 (Oreo) entry, then make sure the following items are all checked:

@@ -276,11 +274,11 @@

Android SDK Manager

-

Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that 23.0.1 is selected.

+

Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that 26.0.3 is selected.

-

Android SDK Manager - 23.0.1 Build Tools

+

Android SDK Manager - 26.0.3 Build Tools

-

Android SDK Manager - 23.0.1 Build Tools

+

Android SDK Manager - 26.0.3 Build Tools

Finally, click "Apply" to download and install the Android SDK and related build tools.

@@ -353,7 +351,7 @@

Android Studio AVD Manager

-

Select the "x86 Images" tab, then look for the Marshmallow API Level 23, x86_64 ABI image with a Android 6.0 (Google APIs) target.

+

Select the "x86 Images" tab, then look for the Oreo API Level 26, x86_64 ABI image with a Android 8.0 (Google APIs) target.

We recommend configuring VM acceleration on your system to improve performance. Once you've followed those instructions, go back to the AVD Manager.

diff --git a/docs/next/performance.html b/docs/next/performance.html index 7492c4a4975..34cdb245b99 100644 --- a/docs/next/performance.html +++ b/docs/next/performance.html @@ -257,10 +257,12 @@ export default Adding a packager config file

Create a folder in your project called packager, and create a single file named config.js. Add the following:

const config = {
-  getTransformOptions: () => {
-    return {
-      transform: { inlineRequires: true },
-    };
+  transformer: {
+    getTransformOptions: () => {
+      return {
+        transform: { inlineRequires: true },
+      };
+    },
   },
 };
 
@@ -321,18 +323,19 @@ module.exports = config;
 const ROOT_FOLDER = path.resolve(__dirname, '..');
 
 const config = {
-  getTransformOptions: () => {
-    const moduleMap = {};
-    modulePaths.forEach(path => {
-      path = resolve(ROOT_FOLDER, path);
-      if (fs.existsSync(path)) {
-        moduleMap[path] = true;
-      }
-    });
-    return {
-      preloadedModules: moduleMap,
-      transform: { inlineRequires: { blacklist: moduleMap } },
-    };
+  transformer: {
+    getTransformOptions: () => {
+      const moduleMap = {};
+      modulePaths.forEach(path => {
+        if (fs.existsSync(path)) {
+          moduleMap[resolve(path)] = true;
+        }
+      });
+      return {
+        preloadedModules: moduleMap,
+        transform: { inlineRequires: { blacklist: moduleMap } },
+      };
+    },
   },
 };
 
diff --git a/docs/next/performance/index.html b/docs/next/performance/index.html
index 7492c4a4975..34cdb245b99 100644
--- a/docs/next/performance/index.html
+++ b/docs/next/performance/index.html
@@ -257,10 +257,12 @@ export default Adding a packager config file
 

Create a folder in your project called packager, and create a single file named config.js. Add the following:

const config = {
-  getTransformOptions: () => {
-    return {
-      transform: { inlineRequires: true },
-    };
+  transformer: {
+    getTransformOptions: () => {
+      return {
+        transform: { inlineRequires: true },
+      };
+    },
   },
 };
 
@@ -321,18 +323,19 @@ module.exports = config;
 const ROOT_FOLDER = path.resolve(__dirname, '..');
 
 const config = {
-  getTransformOptions: () => {
-    const moduleMap = {};
-    modulePaths.forEach(path => {
-      path = resolve(ROOT_FOLDER, path);
-      if (fs.existsSync(path)) {
-        moduleMap[path] = true;
-      }
-    });
-    return {
-      preloadedModules: moduleMap,
-      transform: { inlineRequires: { blacklist: moduleMap } },
-    };
+  transformer: {
+    getTransformOptions: () => {
+      const moduleMap = {};
+      modulePaths.forEach(path => {
+        if (fs.existsSync(path)) {
+          moduleMap[resolve(path)] = true;
+        }
+      });
+      return {
+        preloadedModules: moduleMap,
+        transform: { inlineRequires: { blacklist: moduleMap } },
+      };
+    },
   },
 };