最近の検索
最近の検索はありません

Giulio
参加日2023年11月28日
·
前回のアクティビティ2025年1月14日
フォロー中
0
フォロワー
0
合計アクティビティ
31
投票
17
受信登録
10
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Giulio
Giulioさんがコメントを作成しました:
コメントPerforming calculations
is it possible to use the IF formula in result metric calculations ?
コメントを表示 · 投稿日時:2024年8月20日 · Giulio
0
フォロワー
0
投票
0
コメント
Giulioさんが投稿を作成しました:
投稿 Developer - Zendesk SDKs
Hi,
I am writing because we are finding some issues integrating the Android push notifications in the Zendesk messages. After following the instructions in https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/android/push_notifications/ (we made the custom implementation of
I am writing because we are finding some issues integrating the Android push notifications in the Zendesk messages. After following the instructions in https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/android/push_notifications/ (we made the custom implementation of
FirebaseMessagingService
since we have other handlers in the app), we found out that notifications were not received. After some digging, it seems that the root cause is the fact that onNewToken
is only invoked when the device token is invalid (normally because a new app install), but it is not invoked for existing users. So, in practice, for apps with pre-existing notifications, I believe it’s needed to add an extra step on the documentation, with something like:FirebaseMessaging.getInstance().token.addOnSuccessListener(activity) { result -> PushNotifications.updatePushNotificationToken(token) }
On top of that, now with that part of the code fixed, we are finding a second problem that we do not know how to resolve, and might require any assistance. When the app receives a push with a message, it can be in 3 states: foreground, background or killed. The first 2 states are handled properly, the use of
PushNotifications.displayNotification(context = this, messageData = remoteMessage.data)
handles a local notification that when clicked it redirects the user to the specific conversation in Zendesk by using a custom pending intent. However, when the app is in killed state, the notification management is different (the OS is the one showing the notification), and when user clicks the invoked method is a
onNewIntent
or onStart
in the launch activity of the app, which is not handling the zendesk data and therefore does not open the conversation screen. How can we fix this? can we invoke any method in ZendeskSdk when we get the new intent so zendesk can inspect it and open the conversation accordingly?Thanks for the help投稿日時:2024年2月01日 · Giulio
0
フォロワー
2
投票
2
コメント