Error "Data fectch failed!" in mobile application created in Iris via Import > Domino Application

Hello,

I'm testing "Import >Domino Application" feature in Iris (Volt MX Go). I've been successfull importing an application on a brand new Iris Web App project. On executing it via Live Preview and after authenticating, against Domino REST API, the app can retrieve the documents from the NSF view and show them in the Web App.

But, if the project is a Native App, and after following the same import procedure, there's an error "Data fectch failed!" when executing the application. The app is run in Android inside the Volt MX App. However, if this same project is Live Previewed as an Adaptative Web for Android and run via Chrome (in Windows machine), everything runs just fine.

So, I suspect that the problem could be, when run as a Native app, in the authentication process. As this happens in the Android default browser, outside the Volt MX App where the Native App is running.

First, could the authentication process be the cause of the problem ? And second, how to deal with that?

Any help appreciated.

Hi Miguel,

The data fetch error you are seeing when running as Android native app (vs successful run as web app) may be is due to a missing Android "Manifest Permission". Go to: Project -> Settings -> Native -> Android Mobile/Tablet. Check your configuration for 1) Android Architecture Support and 2) Permissions.

You can also debug the Android native app to determine that exact cause of the "Data fetch failed!" error. First connect your Android mobile to your PC/laptop via a USB cable, then perform a Build -> Build Native Local -> Run on My Device/Emulator. Make sure the Build Mode is "Debug" and "Clean Build" is checked.

After building, your app will be installed to your mobile and it will attempt to run. There should be a prompt in your mobile for waiting for Debug ...

At that point go back to your Volt Iris and select Debug -> Debug Native App -> Android Devices/Simulators. You should then see a link in which you can copy it to your Chrome browser to start the debug session with your mobile native app.