Post

Replies

Boosts

Views

Activity

Problems with APNS (push notifications feedback)
Hello here,I am having issues to connect to 'feedback.push.apple.com:2196' for feedback push notifications. My PHP script has been working perfectly until I have renewed the push notification .pem certificate, but now it gives me this error:PHP Warning: stream_socket_client(): Failed to enable crypto in myscript.php on line 10Fact is: the new certificate works because I am able to send out push notifications to my app users, so, where is the problem??!!Here is the PHP script I am using to connect to the service ( I left out the part working on the returned data which is irrilevant for the connection issue):$passphrase = 'mypw'; $stream_context = stream_context_create(); stream_context_set_option($stream_context, 'ssl', 'local_cert', '/path/to/mycertificate.pem'); stream_context_set_option($stream_context, 'ssl', 'passphrase', $passphrase); $apns = stream_socket_client('ssl://feedback.push.apple.com:2196', $errcode, $errstr, 60, STREAM_CLIENT_CONNECT, $stream_context); if(!$apns) { echo "ERROR $errcode: $errstr\n"; return; } ///Read data here... fclose($apns);Any ideas are very welcome!Thanks to everyone in advance.Fab.
2
1
2.4k
Jan ’16
Is there an API to submit and update mass in-app purchases items?
Hello here.We are selling our digital products as in-app purchases on our iOS app (digital sheet music and audio files), and we currently have around 2,500 items. We have been using Application Loader to mass upload and update our items on a weekly basis for the past 4 years, and so far it has been working ok for us.Now, we plan to extend our offering to over 150,000 items that would need to be updated on a daily basis (with new items to be added as well on a daily basis). With such a bigger offering of digital products and the need to update it daily, Application Loader isn't going to be the most efficient way to do the job.I am wondering: is there an API or a more flexible system which we could use, and that we could interface with our server to update our big offering of products automatically on a daily basis?Any information on that front is very welcome.Thanks in advance for any information and/or help.
1
0
1.3k
Dec ’19
Is it possible to automate in-app review submissions?
Hello everyone.I am using iTMSTransporter to submit automatically any changes we have in our in-app offering, but despite iTMSTransporter works pretty well for automation, I see no way to automate the review submittal process that we still have to manually do on iTunes connect once the updated in-app records have been uploaded to Apple.Is there a way to automate the review submission as well? We have thousands of articles that are updated daily and we'd like to be able to automate everything in our backend by avoiding any "manual" processes.Any help, hints or suggestions are greatly appreciated.Thanks in advance to anyone.All the best,Fab.
0
0
409
Jan ’20
App Store Server Notifications stopped working
Hello everyone. I set up an URL on our server to receive App Store Server Notifications (for refunds) a couple of months ago, and it worked well for the first month. Then, it stopped working, or at least, for some reason, we haven't received any new notification from Apple since March 1st. Any ideas? Has anyone else experienced the same issue? The URL is still perfectly working, and still defined inside App Store Connect as before, nothing has changed. It just looks like Apple just stopped using it. Any thoughts on this are very welcome! All the best, Fab.
2
0
770
Mar ’21