Git Product home page Git Product logo

imapiflutterexample's Introduction

im_api_example

该项目用于构建Flutter api demo, 包含相关api 的使用方式,便于用户使用及测试。

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

如何使用

  • 根据Flutter 官方文档配置对应的环境.
  • 运行该项目, 如何运行Flutter项目可参考文档.
  • 调用相关Api前请先配置sdkappid,secret,需到腾讯云控制台注册账号,并创建应用.
  • 在基础模块中,初始化SDK(initSDK), 并且登录(login)。

QA

  • 如何设置自定义字段

自定义字段为满足于用户更多的使用场景。IM提供了 用户自定义字段好友自定义字段群自定义字段群成员自定义字段, 首先需要到控制台配置对应的自定义字段名,后可调用对应的API(setSelfInfo, setGourpInfo, setGroupMemberInfo, setFriendInfo)去设置该字段值.

由于创建用户自定义字段和好友自定义字段时,控制台会自动加上 Tag_Profile_Custom_Tag_SNS_Custom_ 前缀,当我们调用API 设置该值时,不需要加上该前缀。 例如在控制台好友自定义字段为Tag_SNS_Custom_test, 当我们调用API 时字段名只需要设置为test 即可。

imapiflutterexample's People

Contributors

witcher-xiang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.