Parse Push on WP 8.1 - windows

I'm using ionic/cordova to build an app and I've chosen Parse to handle Push Notifications. It works well on iOS and Anrdoid, but it won't work on WP 8.1.
I know 8.1 is not officially supported by Parse. Is there anyway I could still use it? Like with an C# plugin I could write myself?
Are there any other push services I could use for WP 8.1? Probably with a REST API?

I'm not familiar with Parse but you said a REST API would be fine. In this case the easiest approach would be an Azure Mobile Service. Depending on the number of push notifications Mobile Services and Notifications Hubs are even free.
Here is what you have to do:
Create a free Azure Account
Create a Mobile Service (I am using .Net but you can also use JavaScript for the "backend")
Open your Mobile Service in Visual Studio and create a new "custom api". Here is a step by step tutorial on how to do this: CustomAPIs - Azure
You now have a REST API that you can call form your server.
To send your push notification just use something along the lines of this in your custom api and you are ready to go Add push notifications - Azure:
var hub = NotificationHubClient.CreateClientFromConnectionString("YOUR_NOTIFICATIONHUB_ENDPOINT", "YOUR_NOTIFICATIONHUB_NAME");
notification = #"<?xml version=""1.0"" encoding=""utf-8""?>" +
#"<toast><visual><binding template=""ToastText01"">" +
#"<text id=""1>YOUR TEXT</text>" +
#"</binding></visual></toast>";
await hub.SendWindowsNativeNotificationAsync(notification, tags);
With tags you can specify who receives the notifications. Use the tags as UserIds to send targeted notifications.

The push service I use for WP 8.1 (and iOS and Android too) is Azure mobile services. Their push notification hub makes it really simple on the backend to support all three platforms without issue. On the client side they have an Azure plugin that uses the existing Phonegap Push plugin.

I know 8.1 is not officially supported by Parse. Is there anyway I could still use it? Like with an C# plugin I could write myself?
You can just include WinRT libraries in Windows Phone 8.1 project. It's works perfectly!

Related

how to use apple push notifications using ios calendars built-in app and without an app

I have a client that created a custom mail server that has the calendars feature and wants the users to be able to sync their calendars in iOS Calendars built-in app.
I do not know how do this using the built-in iOS Calendars App.
I tried to setup in the Apple Development Account an app that use the Apple Push Notifications service but it looks like I have to create an application.
I didn't find any information on web.
Any suggestion where to start?
Thank you.
The "native" protocol for the iOS Calendars app is CalDAV. So what you really want is to have your server implement https://www.rfc-editor.org/rfc/rfc4791
The Calconnect Developer's guide is a good source of information for such a project: https://devguide.calconnect.org/Table-of-Contents
It lists some server side libraries that you probably want to build your implementation on top of: https://devguide.calconnect.org/CalDAV/libraries/

How to use AppCenter Analytics on .net Core WebApi backend?

I'm able to send events to appcenter.ms from my XamarinForms App . However, sending the events requires the app secret key to be added to the android/ios app itself. This key can be easily extracted using a decompiler.
On my webapi backend, like the Xamarin app, I tried adding the nuget package and then in Startup.cs
AppCenter.Start("SECTETKEYHERE", typeof(Analytics));
And then tracking the event this way
Analytics.TrackEvent("MyTestEvent",new Dictionary<string, string>{{"EventNameHere","EventValueHere"}});
However, no event data ever arrives in the appcenter dashboard.
So my question is , how do I use the trackevent functionality on the serverside, or , at the very least, store the key on the app side securely(I'd really rather not do this).
My fallback plan is to use google analytics as it works fine .
Thanks

How to push notification from parse.com to mobile app without integrate parse SDK?

I want to built a rest service by using parse.com. My mobile app will interact with parse via rest api by send http request. Without integrating parse SDK into my app, how can i setup push notification from parse to my app?Thank you a lot.
I think you can not do that, because for handle the push notification in your app, you need parse SDK for PFPUSH object.

Mobile Push notifications and realtime chat Using parse or pubnub in ionic app

I am planning to use ionic to to create a hybrid chat app. Which one should i use to implement push notification and realtime chat. Either parse or pubnub or both. can i just use pubnub to achieve both functionality?
Ionic has it´s own push notification service in alpha state. You should give it a try. Seems pretty awesome and easy to implement.
Personally I have built a chat app with firebase and it works out of the box. There is also a full tutorial how to implement it.
Parse is a great choice for push, but you can send push notifications using PubNub JavaScript APIs too.
I actually write a few tutorials on hybrid mobile chat apps (using Cordova), also tuts for push notifications with GCM and APNs:
http://www.pubnub.com/blog/converting-your-javascript-app-to-an-ios-app-w-phonegap/
http://www.pubnub.com/blog/sending-ios-push-notifications-via-apns-javascript-using-apns-phonegap/
I wrote a tut for for Android with GCM too, if you want to check out :-)

Integrate Parse.com from Website

I have to prepare a web Admin for the mobile apps that have iPhone and android versions. I don't know how to send the push notifications to specific users or to all users from my ASP.net web Admin.
Take a look at the rest API.
Pratically you have to perform a POST (using maybe RestSharp) passing your app id\key and the content of the push.

Resources