my app has gone live reason worked fine during testing phase broke when published on google play.
i submitting information server eg. logging in through angular.js json requests used work now, getting invalid callback name error in vendor/symfony/symfony/src/symfony/component/httpfoundation/jsonresponse.php @ line 77.
the callback name not valid.
the issue emanates callback string attached angular.js
&callback=angular.callbacks._0
even though url constructed this:
url = servicebase + q + '?' + obj.serialize(object) + '&callback=json_callback';
this how handle response in symfony action
$response = new jsonresponse(); $response->setcallback($callback); $response->setdata($feedback); return $response;
is there way remedied? tried looking around , googling there no definitive answer not hack. in advance, hope me before wakes , tries register or logs in
Comments
Post a Comment