We have succesfully managed to send push notifications on Android from GCM, but I was wondering how can I connect to Apple Push Notification Service with GCM? Do I need to download some API´s on the client side or is everything supported on the backend? I am using Xamarin.Forms to develop the frontend.
You will have to use APNS or 3rd party stuffs like PushSharp
Please have a look at the following threads. There is a bit of configuring required to have push notifications enabled in Ios. You need a couple of certificates.
http://developer.xamarin.com/guides/cross-platform/application_fundamentals/notifications/ios/remote_notifications_in_ios/
https://forums.xamarin.com/discussion/20845/how-to-approach-push-notifications-on-xamarin-forms-project
Google recently launched GCM for iOS. There is a Objective-C API available, however, I'm unsure if there is a Xamarin wrapper in place anywhere.
Xamarin has finally published the free component Google Cloud Messaging for iOS
And here is a link to nuget package.
Related
In my Flutter project, SMS auth is working on the web and Android (yet to test on IOS). When testing on Mac (physical device) I get this error:
UnimplementedError (UnimplementedError: RecaptchaVerifier is not implemented)
I am unable to find documentation on how to make SMS auth work on MacOS. If this is not possible, what suggestions do you have where I can still use Google's SMS Auth on other devices.
I'm pretty sure Firebase Authentication currently only supports phone number verification on mobile clients (iOS, Android and Web). It does not currently support phone number verification on macOS.
Google Cloud Messaging (GCM) is a service that enables developers to send data from servers to both Android applications or Chrome apps and extensions.
I am developing a chrome and a firefox extension/add-on. I am using the Web Extension APIs for Firefox extension.
Now, Web Extension APIs don't support chrome.gcm.* APIs yet. Essentially, a firefox extension cannot talk to GCM.
Is there something else like GCM to which a firefox extension can talk to? Something provided by the Firefox just like GCM provided by Google for its browser Chrome? If not, can someone please explain how to achieve this in a Firefox Extension?
Update:
Even for web apps, firefox doesn't use something similar to GCM. They use service workers. Can Firefox Browser Extensions interact with service workers?
Firefox extensions currently can’t use service workers directly (according to an implementor who worked on service-workers support in Firefox).
Is there something else like GCM to which a firefox extension can talk to? Something provided by the Firefox just like GCM provided by Google for its browser Chrome?
Yes, there’s a Firefox equivalent of GCM. Firefox users receive push notifications from a server given by the dom.push.serverURL user preference. If you check dom.push.serverURL in about:config, you’ll see wss://push.services.mozilla.com/, which is the Mozilla Push Service—essentially, Mozilla’s equivalent of GCM.
That runs an AutoPush (Python-based open-source Push Server software project) backend, and the client part is (as the question notes) exposed to frontend code by a service worker.
So while there may be an alternative way Firefox extensions can connect with Mozilla Push Service, the only publicly-documented way is through the standard Web Push API that relies on service workers, which are not available yet for use in Firefox extensions.
I'm trying to set up Windows Push Notification Services (WNS) for Windows server 2013. But I can't seem to find any documentation regarding this online, as most of it just explained more towards the client side.
Any guidance or reference is highly appreciated.
if you wanted to do push notification service for Windows, then you're correct that windows notification service is the right one. However it is a cloud notification service just like Apple Push Notification Service (APNS) or Google Cloud Messaging (GCM). However you can host your own service in Windows Server 2013 to talk to WNS. Otherwise you can use Azure Notification Hub which can integrate with your backend. So if you go for Azure Notification Hub, you will need to build a backend that talks to to Azure. Take a look at the link
Scenario:
I'm building a Windows 8 App which is outside of Windows Store. Here I wish to receive notifications using WNS. I have a Publisher which will generate events based on the user action on UI (Ex: Like Uploading a file, Once file upload is completed the event will be generated). I created a internal WCF Service(End Point) which will subscribe to the publisher and listens to the notifications sent by the Publisher. I'm integrating my Listener to WNS service in turn, once notifications are received by the listener, in turn will be sent to WNS Service to process and deliver to specific Device.
Here my question is in order to avail WNS service , do I need to keep my app in Windows Store ?? Is it mandatory ???
And Is their any way to implement push notifications in Windows 8 without using WNS Service????
Please clarify me on this.
Any help is appreciated
Thanks
Karthik Vadla
An app that needs to use the Windows Push Notifications Service (WNS) will also need to be present in the store. For an app to use WNS, it needs to register with the store app portal, which provides an app with a package security identifier (SID) and secret key, which are required to authenticate with and use WNS.
Windows Store Apps that need push notifications can only use WNS.
Traditional desktop applications are not able to use WNS, although they could implement their own version of push notifications.
I have to set up push cloud notification server. I decided to use: http://pypi.python.org/pypi/pyapns/
The question that i have is how to test the server if i don't have an app which will be connected to the server? Is there any sample apps or services that would display the push notification? I just want to send payload using some sort of script and see if sending is successful or not. How people debug such things? Aren't there any kind of virtual env for such tasks?
I do have certificates and ID's of the app, but not the app it self, since the other people are making it. I do not use MAC, or have iOS device. I did read docs from apple.
So eventually i got the right .pem certificate and token of phone with the app-under-dev, phone had to registered as testing one for that app. I just pushed messages and waited for answer unit i got it. Apple do not provide any "easy to use" testing grounds, logs or messages for debugging. Best you can do is to separate pushing service and getting token as much as possible and when you got your hands on app do the raw testing.