Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81227

Hybrid mobile app and redirects

$
0
0

I am still strugling a bit with redirects on a mobile app. It seems that the cordova-plugin-whitelist plugin has changed it behaviour so now all redirects are forbidden unless an allow-navigation  is put in the config.xml of the phonegap.zip package. If you do this it will work again in app you put on your mobile device however it still does not work in de Mendix developer app when you test the app on your local machine. This makes the whole proces of debugging your mobile app impossible when you also have anonymous user roles. In our case in the desktop mode the anonymous users have a role and all works well. In our mobile app we used to redirect an anonymous user to the login.html. We have got this working again and filed a feature request to whitelist automaticly the domain of the  app to the config.xml (note also for persons interested in creating mobile apps that currently Icons and splashscreens also need to be adjusted in the config.xml. The specs have changed and I filed a support ticket for this also to get the phonegap.zip changed).

But now how to get the Mendix developer app to redirect again, so I can test and develop the mobile app further without going through the hassle of creating an app to put on my phone? I hope somebody from the Mendix team can chime in here about the inner workings of the Mendix developer app. If my assumption is correct that Phonegap is also the basis for this app then the blocking of redirects can be explained and the app should be adapted in my opinion to allow redirects. If anybody has a suggestion how to redirect in the Mendix developer app please share your findings because now it is a real pain in the .... to develop the mobile part.

Regards,

Ronald

 


Viewing all articles
Browse latest Browse all 81227

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>