File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 150150
151151** iOS 🍏**
1521521 . At the bottom of your ` Info.plist ` insert a key for ` CFBundleIcons `
153+ - Note: For iPad, you need to add the key ` CFBundleIcons~ipad `
1531542 . Within this dictionary add another key for ` CFBundleAlternateIcons `
1541553 . Finally then within this dictionary you can add in the keys for you new icons
155156 - The ` key ` is the name you will reference from within code.
@@ -201,4 +202,21 @@ getIcon();
201202resetIcon ();
202203```
203204
204- > All functions are typed and return a promise that either resolves successfully, or will reject with the error that has occurred.
205+ > All functions are typed and return a promise that either resolves successfully, or will reject with the error that has occurred.
206+
207+ ** react-native-push-notification**
208+
209+ When using ` react-native-push-notification ` , notifications won't work as we are using ` activity-alias ` .
210+
211+ To fix this, you need to create a Java file for each of the ` activity-alias ` in your ` AndroidManifest.xml ` .
212+
213+ The file should be placed alongside you ` MainActivity.java ` . Example:
214+ ```
215+ android/app/src/main/java/com/myapp/MainActivity<KEY>.java
216+ ```
217+ The content of this file should be:
218+ ```
219+ package com.myapp;
220+ public class MainActivity<KEY> extends MainActivity {}
221+ ```
222+ Replace ` <KEY> ` with the icon name used in the manifest. Replace com.myapp with your android app structure.
You can’t perform that action at this time.
0 commit comments