Installation
Last updated
Last updated
Here is how to install the Wepin Unity SDK.
The Wepin Unity SDK is distributed on the wepin-unity-sdk Github. Download the wepinSDK_vX.X.X.unitypackage
file and import the package file into your Unity3D project.
If you encounter the following error when importing this package,
Please add dependency "com.unity.nuget.newtonsoft-json": "3.0.2" Packages/manifest.json file in the project root.
In Xcode, you need to register URL Schemes in the Info file.
The value of URL Schemes should be your App Bundle ID + .wepin
.
To use Wepin in your app, you need to modify the AndroidManifest.xml file of your app.
Add the following permission to the main Activity of your app to use Wepin.
You need to add an intent filter for the Wepin activity in your app's AndroidManifest.xml. The schema value you add should be your app's package name + .wepin
.
The released package versions can be found on the GitHub repository below.