docs: add note about notifications on real devices (#3592)

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
This commit is contained in:
Andre Nunes
2020-06-18 11:18:24 +01:00
committed by GitHub
parent a4837579b5
commit 5f3825a4bc

View File

@@ -167,6 +167,8 @@ function App() {
The call to `getInitialNotification` should happen within a React lifecycle method after mounting (e.g. `componentDidMount` or `useEffect`).
If it's called too soon (e.g. within a class constructor or global scope), the notification data may not be available.
**Quick Tip:** On `Android` you can test receiving remote notifications on the emulator but on `iOS` you will need to use a real device as the iOS simulator does not support receiving remote notifications.
# Notifee - Advanced Notifications
FCM provides support for displaying basic notifications to users with minimal integration required. If however you require