• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by ina · Apr 30, 2011 at 03:37 AM · iosmobileiphonepushunityiphone

Apple Push Notification with Unity3d?

How do you interface Apple Push Notifications with Unity?

Comment
spinaljack

People who like this

1 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Henrique Vilela · May 05, 2011 at 07:03 PM

When you compile your game to iOS you get a XCode project. If you need to add anything external to it like iAd, GameCenter or Push Notifications, you should add to this project as you would do to any iOS project, regardless if it's Unity or not.

Comment

People who like this

0 Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · May 07, 2011 at 03:45 AM 0
Share

How do you do this exactly?

avatar image Henrique Vilela · May 08, 2011 at 04:42 AM 0
Share

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

avatar image ina · Jul 29, 2011 at 12:57 AM 0
Share

What I meant is how do you connect Unity data with this?

avatar image SeikoTheWiz · Feb 10, 2012 at 10:50 AM 0
Share

You need to do a plugins in unity : http://unity3d.com/support/documentation/Manual/Plugins.html

avatar image

Answer by Macdude2 · May 05, 2011 at 07:19 PM

I am pretty sure the only way to get push notifications as of now with unity is if you install a plugin to unity. You might be able to find the plug in on the unity store, but there also might be some just floating around the internet. It is definitely possible, you might just need to search google and the unity store to find it.

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by ajayaec · Sep 05, 2013 at 10:03 AM

Have a look at our plugin http://blogs.shephertz.com/2013/08/08/steps-to-integrate-push-notification-with-unity3d-on-ios/ We also have service to sending and scheduling push notification and doing push analytics as well.

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by gdeglin · Feb 20, 2015 at 02:56 AM

There are two ways to do this:

  1. Use a 3rd party service. A variety of good 3rd party push notification services exist, some of which also provide a Unity plugin. (Disclaimer: I help run one of these services called GameThrive)

  2. Implement your own backend notification delivery system. A variety of open source push notification server apps exist and work well for smaller notification volumes.

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Yuriy-Ivanov · Jun 16, 2015 at 01:11 PM

For the client side you can use NotificationServices: http://docs.unity3d.com/ScriptReference/iOS.NotificationServices.html

But you'll have to write your own server code and it is iOS only solution.

For the complete solution there are the following options.

If you choose using the 3rd party service you can look at GameThrive indeed (it's now called OneSignal).

But if you want more control & customisation options or just would prefer using your own server for sending the push notifications and not rely on 3rd party services, try using a new asset UTNotifications (it is completely open source and supports iOS & Android on both the Google Play based and Amazon devices). Here is more about it: http://forum.unity3d.com/threads/released-utnotifications-professional-cross-platform-push-notifications-and-more.333045/

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Splash screen orientation - iOS 2 Answers

How to have my mobile device screen lighting on all the time 2 Answers

Using dual touchpad prefab 0 Answers

What is causing a single hiccup at start of IOS game? 1 Answer

testing on an android device 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges