playMaker

Author Topic: Push Notitfications  (Read 9947 times)

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Push Notitfications
« on: April 30, 2014, 06:49:47 AM »
Hi,

did anyone try to send push notifications ? It seems god damn complex.
I was wondering if anyone ever succeeded and how to approach it, especially with an application totally built in playmaker.

Maybe there are other ways in a turnbased multiplayer game to update your opponent that it is his turn to play ?

Edit: does the Parse actions allow to send push notifications ?

Yaniv
« Last Edit: April 30, 2014, 06:52:09 AM by Yanifska »
Visit my portfolio: http://www.yanivcahoua.com/

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: Push Notitfications
« Reply #1 on: April 30, 2014, 11:03:28 AM »
Not yet... but I have bought Android Native and am just hanging around waiting for the PlayMaker actions to be done and a new release. It's been a frustrating wait knowing that the iOS Native actions need to be tested before the author will add them to Android Native  :(

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Push Notitfications
« Reply #2 on: April 30, 2014, 11:06:42 AM »
Indeed, I just asked the developper of this plugin about the push notifications functionalities, his answer :
"Currently You can get only device id for push notifications using plugin.
This device id can be used on your server to send push notification on device."
 
It means you won't be able to send a push notification straight from the plugin.
You need to develop a server for this. Do you have any experience with that aspect ?

There is this plugin that looks interesting, obviously no playmaker actions:
http://forum.unity3d.com/threads/185452-Easy-Cross-Platform-Notifications-available-now!/page5
Visit my portfolio: http://www.yanivcahoua.com/

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Push Notitfications
« Reply #3 on: May 04, 2014, 01:50:14 PM »
I am doing push notifications this week or next at work. If it is easy and makes sense to make a PlayMaker plugin out of it I will. But in the end I think you will always need a server or a external website to help you out.

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Push Notitfications
« Reply #4 on: May 04, 2014, 03:44:15 PM »
Hi Marsh,
This is the conclusion of my research as well, until Parse decide to support Push Notification for Unity maybe...I am looking forward to it
Please keep me updated with your try at push notifications, I'd like to know how you do.
Cheers
Visit my portfolio: http://www.yanivcahoua.com/

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Push Notitfications
« Reply #5 on: May 04, 2014, 06:31:30 PM »
We use Parse as well so I looked at it, but currently its only objective c as far as I can tell, no Unity support just yet. But I am currently looking into FuseBoxx for push.

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Push Notitfications
« Reply #6 on: May 05, 2014, 05:54:13 AM »
I heard about linking punbun and parse, I am not sure what punbun is, I didn't dig it through yet, but maybe it can help someone, or maybe someone can give feedback on this  :

https://help.pubnub.com/entries/22462483-How-do-I-Publish-a-Message-from-Parse-

https://parse.com/questions/combine-parse-with-pubnub-pusher-or-similar-for-real-time-messaging

Visit my portfolio: http://www.yanivcahoua.com/

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Push Notitfications
« Reply #7 on: May 06, 2014, 06:48:27 AM »
Hi,

 PubNub is a messaging system agnostic to the platform ( read, it's not just for IOS or mobile, it's reaching almost every possible app or software you can think of).

 I am not aware of any support for PlayMaker at the present time. Currently, I would recommand using Photon and RPC calls, as this is indeed what pubnub is about, simply connecting apps and sending messages, something that pun does very well as well.

 Typically, if you look at the chat implementation int he photon playmaker example, you'll get exactly what Pubnub can deliver ( also pubnub will have different ways to connect apps together, essentially it's same).

so, think of push notifications as "chat" and you have the base for it.

Bye,

 Jean

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Push Notitfications
« Reply #8 on: May 06, 2014, 02:57:21 PM »
If you want to setup easy Push Notifications check out FuseBoxx.

fuseboxx.com

Import there sdk, put the prefab and your done. You need to do a bunch of stuff but its all it the Apple Developer Center and Fuse Website. You can then send Push notifications that show up in iOS outside the app etc.

No need for a plugins as there is no code involved.

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Push Notitfications
« Reply #9 on: May 07, 2014, 03:30:06 AM »
@Jean, is your answer relevant to Asynchronous gameplay ? because, if understand right,  a player that left the Photon room won't be able to get messages and reconnect later, so I don't see how Photon can help me at the moment (until Photon TurnBased is ready).

@Marsh, that looks promising ! I left my detail on the fusebox website to ask for more information, but I didn't get any response for now. There are no information about pricing neither.
Visit my portfolio: http://www.yanivcahoua.com/

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Push Notitfications
« Reply #10 on: May 07, 2014, 07:49:26 AM »
I believe it is free, they may start charging if you send more then 1 million push as that is pretty common. Ask them about it I suppose.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Push Notitfications
« Reply #11 on: May 07, 2014, 08:41:25 AM »
@Jean, is your answer relevant to Asynchronous gameplay ? because, if understand right,  a player that left the Photon room won't be able to get messages and reconnect later, so I don't see how Photon can help me at the moment (until Photon TurnBased is ready).

Hi,

 Yep. Luckily, Photon Turn Based support for PlayMaker officially started yesterday, I will port turn based fully to Playmaker with a full blown working sample with documenations and videos.

Bye,

 Jean

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Push Notitfications
« Reply #12 on: May 07, 2014, 10:51:48 AM »
Great, I look forward to it.
Do you suggest I purchase PUN+ or is it irrelevant to TurnBased ?
It's on sale for 1week, and I wouldn't want to miss it if it's gonna help me....
Visit my portfolio: http://www.yanivcahoua.com/

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Push Notitfications
« Reply #13 on: May 12, 2014, 12:21:45 PM »
@Marsh,
the guys at Fuse won't let me try it since it is only for larger project it seems.
Do you use it as an independent as well ?
Yaniv
« Last Edit: May 12, 2014, 12:36:43 PM by Yanifska »
Visit my portfolio: http://www.yanivcahoua.com/

Marsh

  • Full Member
  • ***
  • Posts: 227
  • Comfort the disturbed, disturb the comfortable
Re: Push Notitfications
« Reply #14 on: May 12, 2014, 07:25:12 PM »
No, I am part of a larger company. Thats a shame. Sorry man.