Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 20be169

Browse files
authored
Merge pull request #1630 from SConaway/patch-1
Add explanation to DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN in app
2 parents c1880e7 + addd6f5 commit 20be169

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ public class MainApplication extends Application implements ReactApplication {
220220
## Usage
221221

222222
**DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN `App`**
223+
> 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`.
224+
223225

224226
```javascript
225227
import PushNotificationIOS from "@react-native-community/push-notification-ios";

0 commit comments

Comments
 (0)