Source language: Translate to:

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

NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby Neosoft Support » Fri Oct 30, 2015 5:48 pm

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
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby luishp » Sat Oct 31, 2015 1:29 pm

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
luishp
 
Posts: 361
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby PaulTomo » Mon Dec 07, 2015 3:56 am

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
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby Neosoft Support » Mon Dec 07, 2015 7:15 pm

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
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby PaulTomo » Fri Dec 11, 2015 3:08 am

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!
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby Neosoft Support » Mon Dec 14, 2015 9:10 pm

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
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby PaulTomo » Tue Dec 29, 2015 7:14 am

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/config_xml_changes_part_two/

http://docs.build.phonegap.com/en_US/configuring_access_elements.md.html#Access%20Elements

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

Thanks
User avatar
PaulTomo
 
Posts: 62
Joined: Tue Apr 28, 2009 1:15 am
Location: UK

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

Postby Neosoft Support » Tue Dec 29, 2015 6:54 pm

Thanks for your research and for the information. I'll will see if this can be included in a maintenance update shortly.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 0 guests