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

Malcolm Murray
参加日2022年5月11日
·
前回のアクティビティ2022年6月15日
フォロー中
0
フォロワー
0
合計アクティビティ
9
投票
0
受信登録
4
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Malcolm Murray
Malcolm Murrayさんがコメントを作成しました:
I'm using the latest version of the SDK. I had full debug logging on but didn't see any errors as such - although I did see some 202 responses from the Smooch API server.
It's also worth noting that I wrap the returned view controller in a UINavBarController and have attached a UIBarButtonItem to that so that we can dismiss the chat view. It's triggered from the user pressing on a tab bar button and appears as a modal.
I tried a couple of things:
- I stored the returned View Controller in a singleton so we only ever requested it once. This fixed the problem, but created another in that new messages were always marked as read even if the user wasn't in the chat view (presumably because it's still active in memory).
- The second thing I tried was to make set the nav controller and Zendesk messaging view controller to nil after dismissing it. This seems to have improved things in that I don't get the endless spinner any more although I need to test this more. Was clutching at straws a bit here so tried manually destroying resources - which seems to help. Difficult to know exactly what's going on as the SDK is pretty black box really.
コメントを表示 · 編集日時:2022年5月17日 · Malcolm Murray
0
フォロワー
0
投票
0
コメント
Malcolm Murrayさんが投稿を作成しました:
I'm currently having an issue with the Zendesk Messaging iOS SDK where I see a spinner that does not dismiss after doing the following:
- Open chat view controller (renders as expected).
- Dismiss view.
- Open view again (shown spinner that does not go away). I also see the chat input box and adding text to this does actually get sent as expected, but I cannot see any new messages and the spinner does not go away.
- This behaviour continues until I completely restart my app.
So, I'm wondering if anyone else has seen this behaviour, and if so how do I deal with it? Is there a way of refreshing the view?
The following screenshot shows the spinner:
投稿日時:2022年5月12日 · Malcolm Murray
0
フォロワー
3
投票
5
コメント
Malcolm Murrayさんがコメントを作成しました:
Yeah, the following should work (does for me):
- Open messaging view controller in app, send a message. Close app, or navigate away from the chat view.
- In the Zendesk Agent view, reply to the message.
- A push notification should appear. Note that PNs don't appear if you are still in the chat view. However they should if on a different view, or if the app is closed.
コメントを表示 · 投稿日時:2022年5月12日 · Malcolm Murray
0
フォロワー
0
投票
0
コメント
Malcolm Murrayさんがコメントを作成しました:
I did follow the setup guide here https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/ios/push_notifications/ quite closely, but the main difference being that I'm having to integrate this with some existing code that we have that handles PNs from other providers. I also request PN permission just before opening the chat window to make sure users are registered. Otherwise it's pretty much as per the guide. I get the PNs working when I deploy to TestFlight. It's a total pain though as very slow to develop. Seems to be quite an outdated way of handling PNs... and very annoying that at a minimum there isn't a toggle for switching to Sandbox APN in the Zendesk admin. I've previosuly integrated Smooch, and I seem to remember that this did have the option - Zendesk Messaging seems to be built on Smooch so not sure why they haven't supported this.
コメントを表示 · 投稿日時:2022年5月11日 · Malcolm Murray
0
フォロワー
0
投票
0
コメント
Malcolm Murrayさんがコメントを作成しました:
I've been trying to get Push Notifications working on my app via the Zendesk Messaging IOS SDK and have found that Zendesk don't seem to have an option of sending PNs via the Sandbox APN.. so you basically need to deploy the app to TestFlight or have it published as an Ad Hoc build to see the PNs. It's quite frustrating as it makes it nearly impossible to test PN behaviour properly. I wonder if this was your issue?
コメントを表示 · 投稿日時:2022年5月11日 · Malcolm Murray
0
フォロワー
0
投票
0
コメント