跳到主要内容

自动接入工具使用指南(Beta)

1 功能介绍

  1. 工程中自动配置三方渠道参数
  2. SDK 插件自动选择和下载
  3. SDK 首次接入和后续更新
  4. 模板代码导入(不含业务接口)

2 安装&更新

npm install -g @leonxin/meetgames@latest

3 使用指南

Android 工程:

meetgames setup \
--app-id xxx \
--app-secret xxx \
--channel-type GOOGLE \
--project-root "/Users/work/Workspace/Test/native-android-sample"

iOS 工程:

meetgames setup \
--app-id xxxx \
--app-secret 'xxxxx' \
--channel-type APPLE \
--project-root "/Users/work/Workspace/Test/native-ios-sample"