-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jimin/dev8 #1179
Jimin/dev8 #1179
Conversation
jiminwen-msft
commented
Aug 23, 2022
- Modify the error message thrown for users not making push notification configurations.
- Deprecate existing startPushNotification method with error handler. And create new methods without error handlers. The error handling logic will get executed in the RegistrationRenewalWorker class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things look good to me from the technical standpoint. I would wait to hear back from Jonathan to go ahead with this though.
...e-communication-chat/src/main/java/com/azure/android/communication/chat/ChatAsyncClient.java
Outdated
Show resolved
Hide resolved
...zure/android/communication/chat/implementation/notifications/fcm/PushNotificationClient.java
Outdated
Show resolved
Hide resolved
@@ -225,11 +225,26 @@ public void stopRealtimeNotifications() { | |||
* @param deviceRegistrationToken Device registration token obtained from the FCM SDK. | |||
* @param errorHandler error handler callback for registration failures | |||
* @throws RuntimeException if push notifications failed to start. | |||
* @deprecated The function will be replaced by startPushNotifications(String deviceRegistrationToken) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment about using JavaDoc linking.
...e/android/communication/chat/implementation/notifications/fcm/RegistrationRenewalWorker.java
Outdated
Show resolved
Hide resolved
...e/android/communication/chat/implementation/notifications/fcm/RegistrationRenewalWorker.java
Outdated
Show resolved
Hide resolved
…zure/android/communication/chat/implementation/notifications/fcm/RegistrationRenewalWorker.java Co-authored-by: vcolin7 <vicolina@microsoft.com>
…zure/android/communication/chat/implementation/notifications/fcm/RegistrationRenewalWorker.java Co-authored-by: vcolin7 <vicolina@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just make sure to get the JavaDoc changes in for the public clients.