I was wandering if its possible to send push directly from inside Unity instead of having to contact an webpage to do so? If it is possible, is there an tutorial somewhere or an example script somewhere? Has anyone done this?

Many thanks in advance :-)

asked 30 Apr '14, 19:03
jmansa's gravatar image

jmansa
1114

You'll need to call Remote API method called createMessage

http://www.pushwoosh.com/programming-push-notification/pushwoosh-push-notification-remote-api/#PushserviceAPI-Method-messages-create

There is a .NET sample, but it might need a little adaptation for C# in Unity.

http://www.pushwoosh.com/programming-push-notification/pushwoosh-push-notification-remote-api/#PushserviceAPI-.NETSample

Also when you create an API token double check that permission to send the messages to the app in the token permissions is set.

permanent link
answered 30 Apr '14, 19:25
shader's gravatar image

shader
3.9k7

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×88
×11

question asked: 30 Apr '14, 19:03

question was seen: 1,651 times

last updated: 30 Apr '14, 19:25