We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting this error:
[ERROR] TiExceptionHandler: (main) [0,10090] - In ts.httprequest.js:1,69 [ERROR] TiExceptionHandler: (main) [0,10090] - Message: Uncaught Error: Attempt to invoke interface method 'boolean java.util.Map.isEmpty()' on a null object reference [ERROR] TiExceptionHandler: (main) [0,10090] - Source: (r,"handleError for url ("+e.method+") "+e.url),Ti.API.error(r,JSON.stringify( [ERROR] V8Exception: Exception occurred at ts.httprequest.js:1: Uncaught Error: Attempt to invoke interface method 'boolean java.util.Map.isEmpty()' on a null object reference
my code to fire httpRequest:
var _params = { cidade: Alloy.User.cidade , estado: Alloy.User.estado , lat: userLat || Alloy.User.lat , long: userLng || Alloy.User.lng }; new Alloy.Globals.HTTP({ method: "POST" , url: config.url + 'consulta_todos.php' , data: _params }).then(_callbackConsulta).catch(_callbackError);
On iOS works just fine but on Android I got that error
ts-httprequest v1.4.2
The text was updated successfully, but these errors were encountered:
Looks like it doesn't like the response. How does your API response look like ?
Sorry, something went wrong.
it returns an json encoded as string from my php
No branches or pull requests
I'm getting this error:
my code to fire httpRequest:
On iOS works just fine but on Android I got that error
ts-httprequest v1.4.2
The text was updated successfully, but these errors were encountered: