This document introduces how to quickly run through the IM demo (Unity).
|Unity||2019.4.15f1 or later|
|Android||Android Studio 3.5 or later; devices with Android 4.1 or later for apps|
|iOS||Xcode 11.0 or later. Ensure that your project has a valid developer signature.|
If you already have an app, record its SDKAppID and obtain key information.
A Tencent Cloud account can create a maximum of 100 IM apps. If you want to create more apps, disable and delete an unwanted app first and then create a new one. Once an app (along with its SDKAppID) is deleted, the service it provides and all its data are lost. Proceed with caution.
ExampleEntry.cs(since the configuration of dynamic UserSig getting is complex, you can configure it separately later).
- The demo includes all activated APIs and can be used for testing and calling reference. For the API documentation, see SDK API (Unity).
- The UI may have certain changes. Please refer to the latest version.
3. Test APIs: enter your UserID in the second text box in the first row, and call
login. The data display window indicates that the call is successful. Then you can call the remaining APIs.
Currently, both iOS and Android platforms are supported. In addition, the editions for Windows and Mac are under development. Please stay tuned.
Check that the device is not occupied by other resources. Or click Build to generate an APK package, drag it to the simulator, and run it.
If iOS reports an error after the demo configured as above is run, click Product -> Clean, clean the product, and build the demo again. You can also close Xcode and open it again, and then build the demo again.
Library/PackageCacheemail@example.com/Editor/UserInterface/Bootstrap.cs(23,20): error CS0117: 'Collab' does not contain a definition for 'ShowChangesWindow'
Click Window > Package Manager on the Editor toolbar to downgrade Unity Collaborate to 1.2.16.
Library/PackageCachefirstname.lastname@example.org/Scripts/Editor/TMP_PackageUtilities.cs(453,84): error CS0103: The name 'VersionControlSettings' does not exist in the current context
Open the source code and delete the code snippet of
|| VersionControlSettings.mode != "Visible Meta Files".