Native mobile app doesnt load on mobile

0
Hi all, At this moment I follow the course Advanced Developer. Just I finished this: https://gettingstarted.mendixcloud.com/link/module/233/Native-Mobile-Development I want to test this page on my mobile. I follow the instructions, so: from https://gettingstarted.mendixcloud.com/link/module/233/lecture/1830/4.1.1-Testing-Your-Mobile-App Make sure your app is Running Locally Make sure your smartphone and pc are connected to the same network → It is Before testing I download the Mendix Zakelijk App from the IOS App store. This app can read the generated QR Code. Next the app (on my phone) show a button ‘Okay, show me the app!’, but after click a spinner is available, but nothing happens. After a while the message appers ‘Connot initialize app’ I now have new information. The problems described above can be solved by temporarily disabling the firewall. With that I can load a Hybrid App (With the Mendix app) on the phone, but when I use the Make It Native app it suddenly shows a port difference. When reading the QR code, port 8080 will probably be read, while when loading the Make It Native app you will see port 8083 approaching. Then an attempt is made to load the app, but this ends in an error. See enclosed screenshots.  
asked
6 answers
0

Go to the scan page, click on the http link, and manually change 8083 to 8080.  I had the same problem and wasted days to figure it out with no other postings to help.

answered
0

Thanks a lot, but the same error appears. (And firewall is disabled)

answered
0

Hi,

Make sure role based home pages are mapped properly. Re-run your application, scan the qr code and check once.

Else, logic might be wrong while navigating to the next screen, add log message activity and check

 

answered
0

Thank you all very much, but back to the basics of the question. I am working on this course https://gettingstarted.mendixcloud.com/link/module/233/Native-Mobile-Development. Now to implement the suggestions as described here (very valuable by the way), it seems to me too much for a starting Mobile App builder. Could the app as downloaded from the IoS Store (Make IT Native) also use the same Phone Gap that is no longer supported? I am looking for a solution to easily test the Mobile App as demonstrated in the training. Maybe someone from Mendix support who can help me? Thanks in advance. With kind regards, GertThank you all very much, but back to the basics of the question. I am working on this course https://gettingstarted.mendixcloud.com/link/module/233/Native-Mobile-Development. Now to implement the suggestions as described here (very valuable by the way), it seems to me too much for a starting Mobile App builder. Could the app as downloaded from the IoS Store (Make IT Native) also use the same Phone Gap that is no longer supported? I am looking for a solution to easily test the Mobile App as demonstrated in the training. Maybe someone from Mendix support who can help me? Thanks in advance. With kind regards, Gert

answered
0

I have a working solution with this issue. I uninstalled and re-downloaded the Make It Native app on my phone from the IoS Store. Now when I want to try out the built-in training app on my phone, I don't scan the QR code, but directly type in the url in the Make It Native app. Then it goes well. !!

Thanks again to all who contributed to achieving this result. Good day.

answered
-1

I don’t know if this is related but I found this a few days ago:

 

https://docs.mendix.com/developerportal/deploy/mobileapp#3-ios-android

“Building in the cloud uses the PhoneGap Build service from Adobe. Unfortunately, Adobe no longer maintains this service. As a result, as of April 30th 2020, iOS apps built through the platform or using the PhoneGap Build service are not being accepted on Apple’s App Store.

If you wish to build your iOS app, continue with either the Doing It Yourself section for remote building or Building Your iOS App Locally for local building.”

answered