Google push notifications for xamarin forms - c#-4.0

I am using xamarin forms and started work on google push notification. I am building application for iOS and android. Please help me how i should use this?

I believe that you are referring to Google Cloud Messaging. See https://developers.google.com/cloud-messaging/
Here's a walkthrough for using push notifications on Xamarin.Android:
https://developer.xamarin.com/guides/android/application_fundamentals/notifications/remote_notifications_in_android/
To get GCM notification on iOS take a look at:
https://www.nuget.org/packages/Xamarin.Google.iOS.GoogleCloudMessaging
To get cross platform push notifications you can look at PushSharp:
https://github.com/Redth/PushSharp
http://redth.codes/pushsharp-3-0-the-push-awakens/
Good luck!

Related

Set read status of getstream.io notification feed via rest api or php sdk

I need to update read/ seen status of getstream notification feed via rest api or php sdk. Would be a great help if someone can help me out on this.
Reason is, I'm using rest api to integrate getstream with a flutter app Im developing. I though it would be easier than using native sdk as Im only using small amount of features
Answering my own questions as this was real tough to find,
https://getstream.io/docs/flat_feeds/?language=php&q=mark_seen#notification_feeds

Sending push notifications when published product

It is necessary to send a push-notification to all users on the phones (iOS to Android), that a new product has been added to the store.
How can this be realized? I would like to see an example
I'd be tempted to look at a complete solution:
https://github.com/appfeel/node-pushnotifications
This works with both Android and iOS.
Without repeating what the documentation already states, this should do what you're looking for.

Push notification with service worker in mozilla firefox

I am new to service worker and trying to learn it. I am implementing push notification using service worker. I am looking for simple demo code for pushing at server side and receive at client side notification as a reference in developing my web application. Suggestions will be very helpful. I am using node.js for implemention.
Thank you.
You can look at the examples in the Web Push category of the ServiceWorker Cookbook.
The examples are using the web-push Node.js library.

Xamarin.IOS -> How to interact with sharing to Facebook, Whatsup, etc

I have an app where I wanna share some content to facebook, whatsup, mail and message. How do I interact with the native apps installed on the users phone. It would be something like the Implicit Intent for Xamarin.Android.
I'm using MVVM Cross.
Any help to guide me to the right direction is appreciated.
Thank you,
You need to use Intents in Android and URL Schemes in iOS to accomplish this. You can find the information you need on the developer portals:
Android
https://developers.facebook.com/docs/sharing/android
http://developer.android.com/training/sharing/send.html
iOS
What are all the custom URL schemes supported by the Facebook iPhone app?
https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW1

iOS 4.x/5.0 - push notifications for background/multitasking apps?

Is there a way to get an app to receive the remote push notification while it is in the background?
I don't want to see the regular (close,view ) notification on my device. i want to go silently into the app - and the app will do it's magic from their...showing it's own AlertView (with custom buttons, and playing the alert sound (even when the device is on mute)
Is that possible?? How can i convince apple to support such scenario?
Update: What about in iOS 5.0? is there going to be a change regarding the push notification mechanism now that it uses the notification center?
Sorry, you probably out of luck. The only idea I have is that you can try to push notifications that only set different badge number (without view and sound) and when you are inside you app download rest of the data. However, I'm not sure how good this idea is.

Resources