Contribute this project - Mozgoid/unity-gcm GitHub Wiki
For contributors of this project
If you are interested in this project and want to commit or customize this project, you can follow this guide.
How to modify Java layer
- Clone this project.
- Open
unity-gcm/source/UnityGcmPlugin
with Eclipse. - Edit Java code.
- If auto build is enabled in your Eclispe, you can get
unitygcmplugin.jar
inbin
folder in UnityGcmPlugin project. - Import the
unitygcmplugin.jar
intoAssets/Plugins/Android
in Unity project.
How to modify C# layer
- Clone this project.
- Open 'unity-gcm/sample' with Unity.
- C# layer of this plugin is
Assets/Plugins/GCM
. Modify as you like.
- GCM.cs : C# APIs which developer will call
- GCMReceiver.cs : Receiver GameObject to interact with Java layer
- MiniJSON.cs : JSON encoder/decoder