Page 1 of 1

NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Fri Oct 30, 2015 5:48 pm
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.

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Sat Oct 31, 2015 1:29 pm
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 :-)

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Mon Dec 07, 2015 3:56 am
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

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Mon Dec 07, 2015 7:15 pm
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.

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Fri Dec 11, 2015 3:08 am
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!

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Mon Dec 14, 2015 9:10 pm
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.

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Tue Dec 29, 2015 7:14 am
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/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

Re: NeoAppBuilder Beta Test (Interim Update 15.10.30)

PostPosted: Tue Dec 29, 2015 6:54 pm
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.