We have set up a URL in the app profile in iTunes and our server has cleared the ATS security criteria.
Following are the codes that we have tried to implement :
$data = json_decode(file_get_contents('php://input'), true);
$fp = fopen('appdata.txt', 'a');
fwrite($fp, $data);
fclose($fp);
We got no response with this code.
Then we tried -
$data = print_r($_REQUEST, TRUE);
$fp = fopen('appdata.txt', 'a');
fwrite($fp, $data);
fclose($fp);
We get a blank array in our 'appdata.txt' file as -
Array
(
)
Is there any way to find out if we are even receiving a response from Apple server?