User Feedback Methods
Apphance allows you to add a feedback widget to your app, providing you with a tool to gather and track insights provided by your customers. Learn what your customers care about by giving them the opportunity to tell you what they think from within the app experience itself – and not in the app store. This feature is only available in the production version of Apphance.
Enabling feedback in your app is easy, and you have the choice of using Apphance’s built-in feedback window or creating your own.
The feedback method opens Apphance’s feedback window. You can call this from inside your own application code – mostly likely tied to a widget of some sort that allows the user to trigger a feedback report.
Apphance’s feedback window does not feature any Apphance branding and can display your own custom window title. The window will use your application’s default color palette, meaning that it will match the look and feel of the rest of your application.
Note: The user is required to type in at least 2 characters and no more than 1,000 characters in their feedback report.
Apphance.feedback(Context currentContext, final String title="Feedback", String placeholder="Write your feedback here")
The parameters are:
- currentContext – The current context where you are calling the feedback process. Usually the context is simply ‘this’.
- title – The title for your feedback window. This parameter is optional – the default title is simply “Feedback”.
- placeholder – Any placeholder text for the feedback box. This parameter is optional – the default placeholder is “Write your feedback here.”
Open a simple feedback window with the default title and placeholder strings.
Open a feedback window using a custom title and placeholder string.
Apphance.feedback(this, ”How Can We Help?”, ”Tell us about your problems here.”);
If you do not want to use Apphance’s built-in feedback window, you can manually send feedback data to Apphance using the sendFeedback method. Using this method, you can custom design your own user feedback experience (complete with your own custom branding), and send the feedback content to Apphance directly.
This method has one required parameter: the feedback content itself. This content may be as short or as long as necessary.
Manually send a feedback report to Apphance.
Apphance.sendFeedback(”The new app version is great, but I am having trouble finding the account settings.”);