is it possible to send push notification for apple without apple device? I would like to send push notification using any page or service from apple, but not using an app created in xcode for example. My app that will get the push is ready and working, but I would like to send the push from a normal page, not from mac or iphone app.
Apple push notifications can only be send to Apple devices (iOS, OSX or Safari for Mac).
However, you can send the notification from any type of operating system using the Apple Push Notification Service API:
https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/remotenotificationspg/Chapters/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW9
Yes, you can do that for free with using a push notification API, such as Spontit.
See the API docs here: https://api.spontit.com/
See the Python wrapper here: https://github.com/spontit/spontit-api-python-wrapper
Related
This question already has an answer here:
How to send In-APP Notification in Firebase using Python SDK for Android | iOS
(1 answer)
Closed 4 months ago.
Is it possible to send in-app notification from spring boot app?
Based on the docs and sdk firebase-admin I could send push notifications. But for in app messaging I am not sure that will help send notifications from backend server
In-app messaging, as its name implies, is for messages that are triggered from (and displayed) inside the app. When the user is not actively using the app, you'll usually instead want to send a notification to Cloud Messaging, with shows up in the notification panel.
There is no direct way to trigger In-app messaging from your own server, but since the triggers are based on Analytics events - you could send a message from your server to the device (for example as a data message through FCM) and then use that in the app as a signal to log a certain analytics event that then triggers In-app messaging.
Also see:
Firebase In-app messaging send message whenever we need option?
How to send In-APP Notification in Firebase using Python SDK for Android | iOS
I have created app that sends push notification when honework upload to the server. So please can somebody tell me how to send push notification in react native for both androud and ios?
You can use push notification packages like Firebase or OneSignal. they have defined API in their documentation and you can send push notification from your server to both android and ios devices easily.
I searched some notification library for react-native.
https://github.com/zo0r/react-native-push-notification
This works well for Android but it requires Apns for ios
I would like to find some libraries that doen not require Apns and simple.
There is no avoiding using APNS for remote push notifications.
In order to receive data in certain scenarios, such as having your app running in the background, phone being offline and later receiving a notification once it is back online, your device must have a unique app-specific device token generated by Apple. You can then use a service such as FCM or AWS SNS to deliver the notification to clients.
Also, for Android, you will need to use GCM to generate the device token.
You can, for testing purposes, you can use react-native-push-notifications' PushNotification.localNotificationSchedule to create a dummy local notification.
Here is a good tutorial for setting up remote push notifications with APNS and FCM: https://www.appcoda.com/firebase-push-notifications/.
I am building a tvOS app for the new Apple TV that needs to get notifications from a server every time that a chat message is sent. This notification is also to be displayed on the Apple TV. As much as I understand push notifications are not allowed with tvOS.
With this being said, are there any alternatives to what I need?
To clarify: This is a chat app that needs to display a notification to the user on the TV screen every time a message is received by the user. The app stays running indefinitely, while showing instant notifications. - I cannot use push notifications.
Please let me know if this makes sense, and thank you in advance for your help!
We recently built an app for apple TV that shows instant messages from different clients connected to our server. A good library that will answer your requirements is socket.io-client
Just google socket.io and learn how it works. Basically, you wait for a connection on your server and then you can send messages to your clients. On the client side (tvOS in your case) you specify what methods to run as response to the different event coming from the server.
Good luck.
I previously setup an Appcelerator Titanium project with push notifications (as per my Stack Overflow question How to configure Android Push Notifications (GCM) in Appcelerator Titanium Dashboard?) and for some months my Android app has been receiving the appropriate push notification from GCM, but I'm now receiving reports that this no longer works from end-users.
The flow usually goes like this...
Android app sends android push token to my Java server
Java server persists the Android push token
Java server sets up Amazon Web Service SNS endpoint for GCM and stores this endpoint for later use.
(some time passes)
Java server invokes Amazon Web Service SNS endpoint with a GCM payload
Amazon SNS passes message to Google GCM
GCM passes message to ti.cloud / ti.cloudpush
Phone displays push notification
The app does receive the push notification and I display an application dialog to show the contents of the message, but NO system-tray push notification is displayed, whereas I thought it was doing this in the past. No system sound is played either.
I can see that if the app is not running, then when the push notification is received the app is launched, but if the display isn't on (or locked) then the message will not be discovered for some time. I really need the native/system push notification to be in the tray.
Does anyone know why system / status notifications are not displayed? Should it be when using the ti.cloud / ti.cloudpush for Android?
Thanks
Rob.