目录

iOS Sample Code

The sample code provides a demo project that demonstrates how to call open APIs of Analytics Kit. Guided by the demo, you will learn how to:

Sample Code

Find It on Gitee

Find It on GitHub

iOS sample code

Click here

Click here

You can use the sample code only after completing the following operations:

  1. Open the CLI and run the following commands:
    • cd~Project path
    • pod install
  2. Sign in to AppGallery Connect, download the agconnect-services.plist file of your app, and copy the file to your app's root directory of the demo project. Change bundle id to that of your app.