From ce99b7b417ca3819b122319b199c4bfc4d02741c Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Tue, 10 Mar 2020 14:08:13 +0000 Subject: [PATCH] Deploy website Deploy website version based on ce1d49387fbf3bbb32e6692e4f999ba04689cf61 --- docs/dimensions.html | 4 +- docs/dimensions/index.html | 4 +- docs/next/hermes.html | 3 +- docs/next/hermes/index.html | 3 +- docs/next/settings.html | 75 ++++++++++++++++++++++++++++++----- docs/next/settings/index.html | 75 ++++++++++++++++++++++++++++++----- 6 files changed, 140 insertions(+), 24 deletions(-) diff --git a/docs/dimensions.html b/docs/dimensions.html index 4821096ebc3..6cac39d7ac3 100644 --- a/docs/dimensions.html +++ b/docs/dimensions.html @@ -1,4 +1,4 @@ -Dimensions · React Native
Edit

Dimensions

-

useWindowDimensions is the preffered API for React components. Unlike Dimensions, it updates as the window's dimensions update. This works nicely with the React paradigm.

+

useWindowDimensions is the preffered API for React components. Unlike Dimensions, it updates as the window's dimensions update. This works nicely with the React paradigm.

import {Dimensions} from 'react-native';
 
diff --git a/docs/dimensions/index.html b/docs/dimensions/index.html index 4821096ebc3..6cac39d7ac3 100644 --- a/docs/dimensions/index.html +++ b/docs/dimensions/index.html @@ -1,4 +1,4 @@ -Dimensions · React Native
Edit

Dimensions

-

useWindowDimensions is the preffered API for React components. Unlike Dimensions, it updates as the window's dimensions update. This works nicely with the React paradigm.

+

useWindowDimensions is the preffered API for React components. Unlike Dimensions, it updates as the window's dimensions update. This works nicely with the React paradigm.

import {Dimensions} from 'react-native';
 
diff --git a/docs/next/hermes.html b/docs/next/hermes.html index 147c52f32b7..25e0769419b 100644 --- a/docs/next/hermes.html +++ b/docs/next/hermes.html @@ -85,8 +85,9 @@ + enableHermes: true // clean and rebuild if changing ] -

Also, if you're using ProGuard, you will need to add this rule in proguard-rules.pro :

+

Also, if you're using ProGuard, you will need to add these rules in proguard-rules.pro :

-keep class com.facebook.hermes.unicode.** { *; }
+-keep class com.facebook.jni.** { *; }
 

Next, if you've already built your app at least once, clean the build:

$ cd android && ./gradlew clean
diff --git a/docs/next/hermes/index.html b/docs/next/hermes/index.html
index 147c52f32b7..25e0769419b 100644
--- a/docs/next/hermes/index.html
+++ b/docs/next/hermes/index.html
@@ -85,8 +85,9 @@
 +     enableHermes: true  // clean and rebuild if changing
   ]
 
-

Also, if you're using ProGuard, you will need to add this rule in proguard-rules.pro :

+

Also, if you're using ProGuard, you will need to add these rules in proguard-rules.pro :

-keep class com.facebook.hermes.unicode.** { *; }
+-keep class com.facebook.jni.** { *; }
 

Next, if you've already built your app at least once, clean the build:

$ cd android && ./gradlew clean
diff --git a/docs/next/settings.html b/docs/next/settings.html
index 57b004fb20d..f0a0ee382aa 100644
--- a/docs/next/settings.html
+++ b/docs/next/settings.html
@@ -69,28 +69,85 @@
               }
             });
         
Edit

Settings

Settings serves as a wrapper for NSUserDefaults, a persistent key-value store available only on iOS.

-
+

Example

+

Reference

Methods

clearWatch()

-
static clearWatch(watchId)
+
static clearWatch(watchId: number)
 

watchId is the number returned by watchKeys() when the subscription was originally configured.

get()

-
static get(key)
+
static get(key: string): mixed
 
-

Get the current value for a key in NSUserDefaults.

+

Get the current value for a given key in NSUserDefaults.


set()

-
static set(settings)
+
static set(settings: object)
 

Set one or more values in NSUserDefaults.


watchKeys()

-
static watchKeys(keys, callback)
-
-

Subscribe to be notified when the value for any of the keys specified by the keys array changes in NSUserDefaults. Returns a watchId number that may be used with clearWatch() to unsubscribe.

-
Edit

Settings

Settings serves as a wrapper for NSUserDefaults, a persistent key-value store available only on iOS.

-
+

Example

+

Reference

Methods

clearWatch()

-
static clearWatch(watchId)
+
static clearWatch(watchId: number)
 

watchId is the number returned by watchKeys() when the subscription was originally configured.

get()

-
static get(key)
+
static get(key: string): mixed
 
-

Get the current value for a key in NSUserDefaults.

+

Get the current value for a given key in NSUserDefaults.


set()

-
static set(settings)
+
static set(settings: object)
 

Set one or more values in NSUserDefaults.


watchKeys()

-
static watchKeys(keys, callback)
-
-

Subscribe to be notified when the value for any of the keys specified by the keys array changes in NSUserDefaults. Returns a watchId number that may be used with clearWatch() to unsubscribe.

-