I've read the Apple docs on APNs and there's one thing I'm not sure about. First, some background on where this is coming from.
In the company I work at, we develop an SDK that interfaces with our webservices. One part of the SDK is sending messages and we're thinking about push notifications when the user is not online (app suspended/not running). We don't have an app ourselves, but would like to provide this feature to users of the SDK and our platform.
So: Can we create an authentication token or certificate of our own to connect to APNs and then push a notification to an app developed by a 3rd party (with their app token)? Or do we need to collect all the information from the 3rd party and basically impersonate them?
Google and Microsoft provide a service like that, but I'm not sure what's happening behind the scenes.
Can someone please elaborate?
Related
I've been approached by a client to try and figure out if we can send notifications when the user of our app is on the checkout page of another app.
In this specific instance, they want us to send a notification when the user is on Amazon's checkout page.
Is this even feasible? I'm stumped to be honest. The best I can think of is to send a notification when a third party is opened, but not when they are on a specific part of the the third party app.
No, all apps are sandboxed and can't access such information about other apps.
I'd be fairly sure that, even if possible, such push notifications wouldn't be viewed kindly by apple. Trying to hijack another apps flow, is probably a big no no
I would like to send a remote notification to my iOS app whenever I tweet from my Twitter account. How do I go about this?
I know how to code for iOS but do not know anything related to server-side coding, so specific instructions would be very helpful :)
I have seen there is a paid service PushWoosh that has this functionality, but I don't want to pay $40/month for something I cannot customize.
I'm building a server-side "push" notification capability for various (specific) iOS apps my company makes. I'm not a mobile developer. I understand there's a "p12" certificate I'd need, and that the mobile client must provide the "token" I use to initiate the push from the server.
Does anyone know if there's a pre-built developer/test iOS app in the store that will display a token, has a downloadable cert, etc., and will accept push notifications? I'd like to build the server-side out a bit before I try to plug in the real tokens/certs for my companies apps.
No there isn't, but there are 2 separated environments one for test and one for production.
Usually the app developer team should provide the certificates to the back end developer team.
Once you have your certificates you can integrate them in the backend.
Pay attention that certificates are app specific, they work only for a given identifier.
During test both the team should work together to see if everything work as expected.
Token can be track in a different way, in debug mode using real device by printing them in the console log or by using a particular configuration file, in both cases the device must be connected to Xcode.
You should ask the dev team if they can provide you a sample app that print the token on the device screen and that just send the token to the server to make your experiments.
hello I'm making a iOS app where i need to process payments so that a seller can receive payments from a buyer.
So i thought PayPal would be a good option as i saw another app (Depop) has this feature.
I want the experience to be all in app.
I saw somewhere that i need to have my own server? Which i dont know how to do. so if that is the case, how can i get started on that.
Or i was thinking of using Stripe instead?
I just need to know how i can implement it in my iOS app so that a buyer can pay the seller directly.
You wouldn't implement it in your app as such, you would implement it in cloud code (using this parse guide) and the server would do all the hard work of making and verifying the purchase and releasing the goods. The app just needs to deal with login and token management and that would be done either with a web view or a provided SDK from the payment vendor.
If you're using parse then it is your server.
I do understand that Apple emphasizes security but I have to ask: is there any way that a 3rd party app can access all notification data? Like the NotificationListenerService available in the Android API?
I did come across ANCS, but I guess that's only accessible to BLE devices. Please tell me I'm wrong.
No, Apple does not provide access to the Notifications of other apps, nor does it provide access to any listener service, or notification queue.
Here is a link to the Apple doc, which describes the provisioning that is required to set up and access APNS: APNS Provisioning and Development