I want to include the ability to create a ticket and browse the solutions in my Android app. I could do this via the API but since I don't make money with my app yet, I don't want to pay for 2 agents to secure the access to Freshdesk. But if I use my API key, and people get it via decompiling the app they could access all the customer information(I know I can secure it a bit with ProGuard and in a C++ file, but that's not fool proof).
So I included the Help Widget via a Webview in Android per the instructions, but when you press the close 'X' or close the widget after creating a ticket, the widget will close but that will leave an empty WebView. How can I detect that the widget is closes and close the WebView as well?
I'm Karthik from the Freshdesk product team, and I'm part of the team that works on the help widget. Thank you for writing to us with your question about the help widget.
Unfortunately, this isn't possible as of today. However, I've passed your feedback to the Freshdesk product team. We also have long term plans to work on an SDK and communicate events from the help widget.
2 months ago
Thank you for your response. That's what I thought, so I solved it in a different way and listen for ontouch events and then see if the Freshdesk Widget HTML element is still visible. So as long as you keep the ID's the same, I'm good ;)
15 days ago
Glad you were able to figure this out, Rutger. We'll pass on your feedback and keep you posted if we have any progress on the same.
Comments to this discussion are now closed!
Sign up for Freshdesk today
Start your 21-day free trial. No credit card required. No strings attached.