NeoAppBuilder Beta Test (Interim Update 15.10.30)

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Locked
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by Neosoft Support »

An update to the NeoAppBuilder Beta is available for download below:

http://www.neosoftware.com/neoappbuilder.html
(Refresh your browser if you don't see the new version.)

This is only an interim update because the previous version was set to expire on October 31st. I had hoped to have the plug-in interface and plug-in generator utility ready by now, but it will not be finished for another week or two. Sorry for the inconvenience.
NeoSoft Support
User avatar
luishp
Posts: 410
Joined: Wed May 23, 2007 10:17 am
Location: Spain
Contact:

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by luishp »

I am sure it will be a great update.
Plugin functionality is a key piece on NAB evolution that will allow it to grow quicker and bigger.
We will wait paciently two more weeks :-)
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
PaulTomo
Posts: 63
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by PaulTomo »

I have just updated one of my test app's today and the Form Submit now fails?

It works from within the Debugger, Chrome etc fine but it fails when it's installed on the Android phone. I have been using the app without any issues since mid year, I made the minor update today and nothing is now returned from the php action, data gives the 440 error. I know for sure that I did not cause this error, as all I changed was a single logo and then recompiled with v15.10.30.

The only way I can find to fix this was to revert back to the saved .apk file and then all is fine again.

I have also just tested on a newly complied NeoAppBuilder "Form Submit" example and this now fails as well on the Android Phone, data returning under the 440 status code!

How's the next release coming along, any chance of this being fixed sooner?

Thanks
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by Neosoft Support »

As far as I know, nothing about the form submit function has changed.

Are you sure that the error code is 440? I think that's a login timeout.
NeoSoft Support
User avatar
PaulTomo
Posts: 63
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by PaulTomo »

Yes 100%

Just compile your example in v15.10.30 "Sample Ajax Form:" and then test it on an Android phone.

Then you will see that via the code in the Forms "fail(data,status)" tab,

Code: Select all

.fail event passes in two parameters
.[data] = information returned by server - usually an error message in html
.[status] = status code returned by server (440,etc.)

SetVar [ReturnStatus] [Status]
SetObjectHTML "Container1" [Data]
no data is returned but the status shows the "440" failure!
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by Neosoft Support »

I'm getting a 404 error. I could be wrong, but I don't think anything about the form submit function has changed on NeoAppBuilder's end. It's possible that some additional config settings are now required by PhoneGap or Android to allow access to a server on a different domain (crossorigin policy). It still works on a PC-based browser, so it seems like a security/permission related issue. Suggestions gladly accepted.
NeoSoft Support
User avatar
PaulTomo
Posts: 63
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by PaulTomo »

Yes, sorry it was an error 404.

As I have had some spare time I have now done some research on this and there have been changes to the phone gap build.

As of Cordova iOS 4.x and Cordova Android 4.x, whitelist management was moved from the core Cordova project to the cordova-whitelist-plugin, including the addition of the allow-navigation and allow-intent elements. You must add this plugin to enable and restrict network access in your application.

So <plugin name="cordova-plugin-whitelist" /> must now be included in the body of the config.xml and then the form will work again.

Full details are in these links.

http://phonegap.com/blog/2015/11/19/con ... _part_two/

http://docs.build.phonegap.com/en_US/co ... 20Elements

Please add any changes needed to fix this and provide a new update link.

Thanks
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Post by Neosoft Support »

Thanks for your research and for the information. I'll will see if this can be included in a maintenance update shortly.
NeoSoft Support
Locked