Configure the Mendix Feedback Widget for iOS

Last update: Edit

1 Introduction

When you first start a Mendix hybrid mobile app for iOS, the feedback button does not work, due to an iOS security policy whereby the application is only allowed to make requests and load content from file:/// URLs. Because the content in the feedback widget is hosted at, the widget does not work

This how-to will teach you how to do the following:

  • Configure your hybrid mobile app to allow access to the Developer Portal feedback portal in your iOS hybrid app

2 Prerequisites

  • Ensure that you have access to the Developer Portal and the Custom Cordova configuration section on the Mobile App page (accessible via DEPLOY)
  • Alternatively, you can make this change directly in the config.xml file, if you have that available

3 Extending the config.xml File

To make the feedback button work as it should, you need only to add two lines to your config.xml file inside the <widget> element:

<!-- Don't block any requests -->
<access origin="*" />
<!-- Allow links to -->
<allow-navigation href="*" />

Now build your appliaction and you will see a correctly rendered feedback widget!

For more information on the Cordova Whitelist plugin, see cordova-plugin-whitelist.

4 Read More