diff --git a/docs/next/backhandler.html b/docs/next/backhandler.html index bf2d8f8f872..db09b545f18 100644 --- a/docs/next/backhandler.html +++ b/docs/next/backhandler.html @@ -74,7 +74,8 @@

Android: Detect hardware back button presses, and programmatically invoke the default back button functionality to exit the app if there are no listeners or if none of the listeners return true.

tvOS: Detect presses of the menu button on the TV remote. (Still to be implemented: programmatically disable menu button handling functionality to exit the app if there are no listeners or if none of the listeners return true.)

iOS: Not applicable.

-

The event subscriptions are called in reverse order (i.e. last registered subscription first), and if one subscription returns true then subscriptions registered earlier will not be called.

+

The event subscriptions are called in reverse order (i.e. last registered subscription first), and if one subscription returns true then subscriptions registered earlier will not be called. +Beware: If your app shows an opened Modal, BackHandler will not publish any events (see Modal docs).

Example:

BackHandler.addEventListener('hardwareBackPress', function() {
   // this.onMainScreen and this.goBack are just examples, you need to use your own implementation here
diff --git a/docs/next/backhandler/index.html b/docs/next/backhandler/index.html
index bf2d8f8f872..db09b545f18 100644
--- a/docs/next/backhandler/index.html
+++ b/docs/next/backhandler/index.html
@@ -74,7 +74,8 @@
 

Android: Detect hardware back button presses, and programmatically invoke the default back button functionality to exit the app if there are no listeners or if none of the listeners return true.

tvOS: Detect presses of the menu button on the TV remote. (Still to be implemented: programmatically disable menu button handling functionality to exit the app if there are no listeners or if none of the listeners return true.)

iOS: Not applicable.

-

The event subscriptions are called in reverse order (i.e. last registered subscription first), and if one subscription returns true then subscriptions registered earlier will not be called.

+

The event subscriptions are called in reverse order (i.e. last registered subscription first), and if one subscription returns true then subscriptions registered earlier will not be called. +Beware: If your app shows an opened Modal, BackHandler will not publish any events (see Modal docs).

Example:

BackHandler.addEventListener('hardwareBackPress', function() {
   // this.onMainScreen and this.goBack are just examples, you need to use your own implementation here
diff --git a/docs/next/native-modules-android.html b/docs/next/native-modules-android.html
index cc7fedd5596..5707be35cfa 100644
--- a/docs/next/native-modules-android.html
+++ b/docs/next/native-modules-android.html
@@ -100,7 +100,7 @@
   private static final String DURATION_SHORT_KEY = "SHORT";
   private static final String DURATION_LONG_KEY = "LONG";
 
-  public ToastModule(ReactApplicationContext reactContext) {
+  ToastModule(ReactApplicationContext reactContext) {
     super(reactContext);
   }
 }
@@ -401,7 +401,7 @@ ToastExample.}
   };
 
-  public ImagePickerModule(ReactApplicationContext reactContext) {
+  ImagePickerModule(ReactApplicationContext reactContext) {
     super(reactContext);
 
     // Add the listener for `onActivityResult`
diff --git a/docs/next/native-modules-android/index.html b/docs/next/native-modules-android/index.html
index cc7fedd5596..5707be35cfa 100644
--- a/docs/next/native-modules-android/index.html
+++ b/docs/next/native-modules-android/index.html
@@ -100,7 +100,7 @@
   private static final String DURATION_SHORT_KEY = "SHORT";
   private static final String DURATION_LONG_KEY = "LONG";
 
-  public ToastModule(ReactApplicationContext reactContext) {
+  ToastModule(ReactApplicationContext reactContext) {
     super(reactContext);
   }
 }
@@ -401,7 +401,7 @@ ToastExample.}
   };
 
-  public ImagePickerModule(ReactApplicationContext reactContext) {
+  ImagePickerModule(ReactApplicationContext reactContext) {
     super(reactContext);
 
     // Add the listener for `onActivityResult`
diff --git a/docs/next/removing-default-permissions.html b/docs/next/removing-default-permissions.html
index 2b5d467ec92..d07a4d3a1e8 100644
--- a/docs/next/removing-default-permissions.html
+++ b/docs/next/removing-default-permissions.html
@@ -116,7 +116,7 @@
 </manifest>
 
-

That's it. We did not remove the INTERNET permission as pretty much all apps use it. Now whenever you create a production APK all these 4 permissions will be removed. When you create a debug APK (react-native run-android) it will install the APK with all four permissions removed.

+

That's it. We did not remove the INTERNET permission as pretty much all apps use it. Now whenever you create a production APK, these 3 permissions will be removed. When you create a debug APK (react-native run-android) it will install the APK with these permissions added.