Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

Configure the Mendix Feedback Widget for iOS

Last modified: October 12, 2023

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 https://sprintr.home.mendix.com, the widget does not work

This how-to teaches 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:

1
2
3
4
<!-- Don't block any requests -->
<access origin="*" />
<!-- Allow links to sprintr.home.mendix.com -->
<allow-navigation href="https://sprintr.home.mendix.com/*" />

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

4 Read More