Our app working normally on Ipad and when subscribe and cancel subscription it ok, but no notification sent to our server !
I have filled the App Information with the our server Sandbox Server URL,
Our link look like this: https://api.example.com/api/apple-api/noti/v2
[We have read related questions]
We followed the documentation below:
https://developer.apple.com/documentation/storekit/original_api_for_in-app_purchase/subscriptions_and_offers/enabling_app_store_server_notifications
I think WWDC22 feature Request a Test Notification may help you.
ref: https://developer.apple.com/documentation/appstoreserverapi/request_a_test_notification?changes=_2
This feat request Apple to send a Test notification to your link. If you didn't receive, it may be a link error or App Store bug.(To App Store Bug, resave in the App Store Page may help sometimes)
Related
I'm trying to build up a web service to push discount information to end-users. My question is that I know we can push coupon by my own app but is there any possible way to avoid end-user installing our app? Is there any possible way that we only use web service to get device_library_identifier from our users to push notification to apple passbooks?
Very Thanks!
Pkpass files can be downloaded from web pages, attached to emails or loaded via QR code, for example. You don't need to use an app to deliver them.
When a .pkpass file is added to a user's wallet, it will register itself with your webService and you can then push updates to the pass.
This web service is outlined in Apple's documentation and covers what you need to record the pass:
https://developer.apple.com/library/ios/documentation/PassKit/Reference/PassKit_WebService/WebService.html
The section under "Update a Pass" in Apple's Wallet Overview, explains how this works in the context of a pass
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/PassKit_PG/Updating.html#//apple_ref/doc/uid/TP40012195-CH5-SW1
If normally you have new promotion to send coupon to customer time to time, you may start with member pass first so you can send link to download new coupon with notification to your member to load new coupon when they want without coming to your place to download new coupon.
I create one app and I sell it to another dev.
When I try to transfer my the app to the other developer account, by clicking in the 'transfer app' button in itunesconnect, I receive the following error message.
Unable to Process Request
Your request could not be processed. For additional help, send an email to itunesconnect#apple.com.
All my apps receive the same error if I try to tranfers them.
I send an email now to itunesconnect, but I want to know if more people have the same problem.
I found all the app, its status is Ready for Sale. As long as Iclick Transfer app,
Will appear :
Unable to Process Request
Your request could not be processed. For additional help, send anemail to itunesconnect#apple.com.
I tried operating system windows8.1, ubuntu13.1, Mac OSX10.9.1, isthe same problem.
I tried the browser : IE11.0, GoogleChrome_version_33.0,FirefoxESR,
Opera12.15, Safari5.1.7, all of the same problems are tried.
My application need to send mail on background without display any mail compose screen so i got suggestion as skpsmtpmessage api .shall i use this api for my application and any apple rejection by using this api.I am new to ios application development so tell me the way to use third party api in applicatiion without apple rejection.can any one help me.
As Sudha and MarJamRob answered, your app can be rejected if you are sending mails in background but there is a workaround to this.
You can create a web method which takes the mail ids and content to be mailed as inputs and mails to the intended email ids. Call this method from within your iOS app with appropriate parameters. In this way you can fulfill your purpose without a risk of rejection as your app is not mailing in background but you are only giving a call to remote method!
You will get an Apple rejection for sending background e-mail without using the compose screen, or an in-app compose screen (g-mail).
Yes, your application will be rejected from apple because it is illegal to sending background email without display mail compose screen or without user interaction ...
...
I can't afford UrbanAirship so I'm trying to program the server side of a Newsstand app myself.
I plan on using the JavaPNS API.
The one thing I can't seem to figure out is how to find a list of users who have a subscription in my app.
Can I query this information from Apple some how?
If I can't then I guess that means that each time a user subscribes they send their device token directly to my server. I hope this is not the case because I was hopping to run the server on my laptop and send out pushes myself without having to keep the laptop running all day listening for new subscribers.
Thanks!
Looks like I do need to register each device with my server: http://www.ibm.com/developerworks/web/library/mo-ios-push/index.html#resources
You kind of found your answer but just in case you really need a server for not only handling the push notification (for telling your app in Newsstand to check the new issue and download it in the background) but also for subscription and in-app purchasing.
Every time you launch the app you should check few things before you refresh the UI. You should check if the user is a subscriber or has user already bought the issue so you can show view/download button instead of Buy button.
Check out these tutorials if they help to understand these communications better but believe me you will end up with one of those services like Urban Airship (Which I think UA is the best option because it handles all in one not just push notification):
http://ios-blog.co.uk/tutorials/how-to-make-a-magazine-app-in-ios-part-i/
this one is more focus on server part:
http://ios-blog.co.uk/tutorials/how-to-make-a-magazine-app-in-ios-part-ii/
http://www.viggiosoft.com/blog/blog/2011/10/17/ios-newsstand-tutorial
http://www.raywenderlich.com/2797/introduction-to-in-app-purchases
And as always this is the best place for start (it has everything you need):
https://developer.apple.com/devcenter/ios/newsstand/
These are some resources to help you in developing app for Newsstand but still there are not enough people out there to share their experience.
Best of luck.
Edit: Add these two links two this list:
http://www.marco.org/2012/10/11/the-magazine
http://www.marco.org/2012/12/12/the-magazine-future-of-publishing
I have a basic web app that is able to send push notifications (via UrbanAirship) to my iOS app.
My questions is, how can my webapp know that I have a new iOS app user? So I can then put the push DeviceID into a database (along with other data as required).
i.e. what is the interface for getting data into the Webapp, is it new code in the iOS app, or is there some other interface from UA?
Thanks..
I'm not an iOS developer, so it's hard for me to be too specific, but I'm assuming you need to store a device ID and (possibly) a token so that you can send messages to that device. I'm assuming (also) that you have access to this information on the device.
The correct way to do this would be to create datastore table of devices and the information associated with them (tokens, various IDs, I also like to have the last time I sent them a message, etc.) Then you send a request (should be a POST request, semantically) to your app when the user registers their device. Send the information you need in the POST request, then store it in your datastore through a handler.
Hope that helps? That's how things are done with Android Cloud to Device messages, and from my quick perusal of Urban Airship, that's how their service works, too.