Hello everyone! I hope you're doing well!
I seem to have hit a wall with an Ajax Callback issue on mobile devices, and I'd really appreciate some advice!
A little background: I work for a small company related to staffing and temporary employment. My background is not in computers, unfortunately. After working for the company for a few years, I recognized that an app allowing workers to clock in and out from their phones would make life easier for everyone involved. Our database guy had built our database in Alpha Anywhere and recommended that I use it for the App. However, he explained that he did not have much experience working with mobile app development. Within the space of a couple months, I created a demo app that did everything we wanted (including wowing people at a trade show) except for communicate with our database. Our database guy then took the demo app and worked on connecting it to the database via an SQL server. Recently, he sent it to me to run through PhoneGap Build and work the bugs out. When I run it on the Working Preview, everything works just fine. When I install it on my Android phone and play with it, though, it does not communicate with the SQL server. After playing with it a bit, I have determined that the Ajax callbacks are failing--but only on my phone. I assume the issue has something to do with either plugins or the Ajax URL setting in the PhoneGap Build menu. I am not very knowledgeable about plugins, unfortunately. The Ajax URL setting appears to only be needed if you are calling the Alpha Anywhere servers, but I am not sure about that.
Has anyone else experienced a similar issue? Thank you so much for your time!
Sincerely,
Alex
I seem to have hit a wall with an Ajax Callback issue on mobile devices, and I'd really appreciate some advice!
A little background: I work for a small company related to staffing and temporary employment. My background is not in computers, unfortunately. After working for the company for a few years, I recognized that an app allowing workers to clock in and out from their phones would make life easier for everyone involved. Our database guy had built our database in Alpha Anywhere and recommended that I use it for the App. However, he explained that he did not have much experience working with mobile app development. Within the space of a couple months, I created a demo app that did everything we wanted (including wowing people at a trade show) except for communicate with our database. Our database guy then took the demo app and worked on connecting it to the database via an SQL server. Recently, he sent it to me to run through PhoneGap Build and work the bugs out. When I run it on the Working Preview, everything works just fine. When I install it on my Android phone and play with it, though, it does not communicate with the SQL server. After playing with it a bit, I have determined that the Ajax callbacks are failing--but only on my phone. I assume the issue has something to do with either plugins or the Ajax URL setting in the PhoneGap Build menu. I am not very knowledgeable about plugins, unfortunately. The Ajax URL setting appears to only be needed if you are calling the Alpha Anywhere servers, but I am not sure about that.
Has anyone else experienced a similar issue? Thank you so much for your time!
Sincerely,
Alex
Comment