Thursday 3 October 2013

WeChat Unity iOS Plugin




===============
=== Features ===
===============
  • Launch WeChat app on you ios device
  • WeChat share news
  • WeChat share text
  • WeChat share image
  • WeChat share music
  • WeChat share video
  • WeChat share timeline / contact switch

============
How to use it
============
Please drag WeChatObject prefab from the WeChat asset folder to your scene and make sure you have replace with your WeChat App Id (WeChat.cs line16). After that, you just have to initialize this plugin by invoke the function WeChat.Instance.Init();

Important: For developers that do not know how to obtain WeChat App Id, please register your app at http://dev.wechat.com


===========
Delegates
===========
To simplify your task and make the app easy for manipulate, we expose to your scripts by delegates:
OnCallback : Listening callback message from WeChat. There have few callback message such as success, fail, error and so on. Please refer to demo scene on how to listen onCallback delegate.


=========================================
Methods and properties exposed to your scripts
=========================================
  • WeChat.Instance.Init is a initialize function, which required to invoke before any other function/method.
  • WeChat.Instance.OpenWXApp is a wechat app launching function which launch wechat app from you device
  • WeChat.Instance.ShareNewsContent allow you to share news to your wechat app
  • WeChat.Instance.ShareTextContent allow you to share text to your wechat app
  • WeChat.Instance.ShareImageContent allow you to share image to your wechat app
  • WeChat.Instance.ShareMusicContent allow you to share music to your wechat app
  • WeChat.Instance.ShareVideoContent allow you to share video to your wechat app
  • WeChat.Instance.IsWXAppInstalledAndSupported allow you to check wechat app is installed on your device and it API support version.
  • WeChat.Instance.OpenWXAppOnAppStore launch wechat install link thru AppStore.

===================
===== Download =====
===================
Please download the wechat ios unitypackage from here.


Thank you for using our WeChat iOS plugin. Don't forget to add your review on the Store!
Please do not hestitate to contact me if you have any issue or bug encounter during integration. licco.wee@gmail.com

No comments:

Post a Comment