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

Commit 2e2226d

Browse files
author
Boris Tacyniak
authored
Document: Override on onNewIntent
1 parent 4110df8 commit 2e2226d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,17 @@ In `android/app/src/main/res/values/colors.xml` (Create the file if it doesn't e
142142
</resources>
143143
```
144144

145+
If your app has an @Override on onNewIntent in `MainActivity.java` ensure that function includes a super call on onNewIntent (if your `MainActivity.java` does not have an @Override for onNewIntent skip this):
146+
147+
```java
148+
@Override
149+
public void onNewIntent(Intent intent) {
150+
...
151+
super.onNewIntent(intent);
152+
...
153+
}
154+
```
155+
145156
### If you use remote notifications
146157

147158
Make sure you have installed setup Firebase correctly.

0 commit comments

Comments
 (0)