You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix channel and channel group implementation (#750)
#535 started implementing custom channel and channels group creation but there were some missing parts that this PR finishes:
- Using the incoming channel in `PostNotification` after creating it
- Add channel group name and add this group to the custom channel
- Show it in the example app
This PR also fixes very old tests
Closes#723
Co-authored-by: Yogev Ben David <[email protected]>
@@ -148,6 +167,9 @@ class NotificationsExampleApp extends Component {
148
167
<Buttontitle={'Request permissions with provisional'}onPress={()=>this.requestPermissionsIos(['Provisional'])}testID={'requestPermissionsWithAppSettings'}/>
149
168
<Buttontitle={'Request permissions with app notification settings and provisional'}onPress={()=>this.requestPermissionsIos(['ProvidesAppNotificationSettings','Provisional'])}testID={'requestPermissionsWithAppSettings'}/>
Copy file name to clipboardExpand all lines: lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/NotificationChannelProps.java
Copy file name to clipboardExpand all lines: lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotificationProps.java
Copy file name to clipboardExpand all lines: lib/android/app/src/test/java/com/wix/reactnativenotifications/core/notification/PushNotificationTest.java
0 commit comments