From addd6f563372d5059400ad9ab1623352419c1f46 Mon Sep 17 00:00:00 2001 From: Steven Conaway Date: Fri, 4 Sep 2020 11:32:13 -0700 Subject: [PATCH] Add explanation to DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN `App` --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 82a14c3ad..47b4ccd80 100644 --- a/README.md +++ b/README.md @@ -220,6 +220,8 @@ public class MainApplication extends Application implements ReactApplication { ## Usage **DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN `App`** +> If you do, notification handlers will not fire, because they are not loaded. Instead, use `.configure()` in the app's first file, usually `index.js`. + ```javascript import PushNotificationIOS from "@react-native-community/push-notification-ios";