# SDK introduce

# I. Basic Information

# 1.1 iOS SDK

# 1.2 Android SDK

# II. INTRODUCTION TO USE

  • To ensure SDK Security stability and control SDK Volume, will SDK Split Based SDK With Expansion SDK, the latter is a complement to the former, so the use of extensions SDK Must also rely on the base SDK。
  • And the expansion SDK Developers can access the WeChat Developer Tool on demand.project.miniapp.jsonThat is, extend the SDK For optional.

# 2.1 Basics SDK

  • Basics SDK Which integrates a wealth of API And related components to ensure the normal operation of the most basic applications, such as the following components or JSAPI At the base SDK Has been included, that is, the developer in the WeChat developer toolproject.miniapp.jsonIt is only necessary to configure the corresponding corresponding SDK Version is
  • Basics SDK Collect device model and operating system version information to solve the compatibility problem of SDK products under different devices and operating systems

  • If the developer's business logic calls the user's personal information, such as calendars, contacts, etc. JSAPI, which should be stated in the Privacy Policy (click here to seeScope of Personal Information

# 2.1.1 Basics SDK Already included JSAPI As follows:

JSAPI Group name Interface details
BasicsRelated API API a general overview - Basics
systemRelated API API a general overview - system
life cycleRelated API API a general overview - life cycle
Application-Level EventsRelated API API a general overview - Application-Level Events
debuggingRelated API API a general overview - debugging
performanceRelated API API a general overview - performance
routingRelated API API a general overview - routing
EventChannelRelated API API a general overview - EventChannel
interfaceRelated API API a general overview - interface
Navigation barRelated API API a general overview - Navigation bar
Tab BarRelated API API a general overview - Tab Bar
TypefaceRelated API API a general overview - Typeface
RollRelated API API a general overview - Roll
animationRelated API API a general overview - animation
to stickyRelated API API a general overview - to sticky
Custom ComponentsRelated API API a general overview - Custom Components
MenuRelated API API a general overview - Menu
Initiate a requestRelated API API a general overview - network - Initiate a request
to downloadRelated API API a general overview - network - to download
uploadRelated API API a general overview - network - upload
Enter the multiterminal appRelated API [API a general overview - Listening into multiple apps](https://dev.weixin.qq.com/docs/framework/dev/jsapi/total.html#% E7%9B%91%E5%90%ACscheme-universallink%E8%BF%9B%E5%85%A5%E5%A4%9A%E7%AB%AFapp)
Data cacheRelated API API a general overview - Data cache
canvasRelated API(iOS) API a general overview - canvas
Rich textRelated API API a general overview - Media - Rich text
fileRelated API API a general overview - file
calendarRelated API API a general overview - calendar
ContactsRelated API API a general overview - Contacts
Electric quantityRelated API API a general overview - Electric quantity
clipboardRelated API API a general overview - clipboard
encryptionRelated API API a general overview - encryption
screenRelated API API a general overview - screen
keyboardRelated API API a general overview - keyboard
telephoneRelated API(Android) API a general overview - telephone
AccelerometerRelated API(Android) API a general overview - Accelerometer
LuopanRelated API(Android) API a general overview - Luopan
Direction of equipmentRelated API(Android) API a general overview - Direction of equipment
gyroscopeRelated API(Android) API a general overview - gyroscope
vibrationRelated API(Android) API a general overview - vibration
text messageRelated API(Android) API a general overview - text message
WorkerRelated API API a general overview - Worker
WXMLRelated API API a general overview - WXML

# 2.2 extend SDK

  • Some Mini Program in Multiterminal Application Framework JSAPI Separated into separate modules to reduce the application packaging volume, users can according to their own needs to introduce the required functions. Developers can visually edit a project's project.miniapp.json in expand SDK Configuration to set whether the corresponding extension module uses the

  • Some screenshots below, details can be viewedExtended SDK

  • Partially expanded SDK Involved in the collection of Personal Information, if your App uses a JSAPI, developers need to specify in the application's privacy policy, otherwise it will be rejected by the application marketRelated questions can be viewed.Frequently Asked Questions

  • Added: Click here to viewScope of Personal Information

  • Note: You need to rebuild the app after turning on configuration.

# 2.2.1 iOS extend SDK

project.miniapp.json The corresponding name in JSAPI Group name Interface details
OpenFuns SDK(Does not include payment) wx.miniapp.shareXXX Related APIs and wx.miniapp.login API a general overview - Forward
API a general overview - log in
OpenFuns SDK(Including payment) wx.miniapp.shareXXX Related APIs and wx.miniapp.login、wx.miniapp.requestPayment API a general overview - Forward
API a general overview - log in
API a general overview - Pay
Network SDK WebSocket、mDNS、TCP Communications, UDP Communication, WIFI, Network Related API API a general overview - network - WebSocket
API a general overview - network - mDNS
API a general overview - network - TCP Signal communication
API a general overview - network - UDP Signal communication
API a general overview - WIFI
API a general overview - network
LBS SDK Map, Location Related API API a general overview - Media - map
API a general overview - position
Media SDK Picture, video, audio, background audio, recording, camera related API API a general overview - Media - picture
API a general overview - Media - video
API a general overview - Media - audio frequency
API a general overview - Media - Background audio
API a general overview - Media - Sound recording
API a general overview - Media - camera
Bluetooth SDK Bluetooth API API a general overview - Bluetooth - currency
[API a general overview - Bluetooth - Low Power Center Device](https://dev.weixin.qq.com/docs/framework/dev/jsapi/total.html#% E8%93%9D%E7%89%99-%E4%BD%8E%E5%8A%9F%E8%80%97%E4%B8%AD%E5%BF%83%E8%AE%BE%E5%A4%87)
[API a general overview - Bluetooth - Low-power peripheral equipment](https://dev.weixin.qq.com/docs/framework/dev/jsapi/total.html#percent E8%93%9D%E7%89%99-%E4%BD%8E%E5%8A%9F%E8%80%97%E5%A4%96%E5%9B%B4%E8%AE%BE%E5%A4%87)
API a general overview - Bluetooth - a signal(Beacon)
Idaas SDK Apple Login Related API wx.appleLogin
TPNS SDK Push Related API wx.miniapp.getXGPushManager
Added: Check this out[Message Push Compliance Guide](https://dev.weixin.qq.com/docs/framework/Guideline/devtools/tpns.html#_1% E3%80%81%E5%85%B3%E4%BA%8E%E5%90%88%E8%A7%84%E6%8C%87%E5%8D%97)
GDT SDK Tencent Advertising Related API wx.miniapp.setEnableAdSplash
Added: Check this out[Tencent Advertising Compliance Guide](https://dev.weixin.qq.com/docs/framework/Guideline/devtools/ad.html#_2% E3%80%81%E5%85%B3%E4%BA%8E%E5%90%88%E8%A7%84%E6%8C%87%E5%8D%97)
Others SDK Phone, QR code, SMS related API API a general overview - telephone
API a general overview - Scan code
API a general overview - text message
LBS SDK Accelerometer, Compass, Device Direction, Torchscrew Related API API a general overview - Accelerometer
API a general overview - Luopan
API a general overview - gyroscope
API a general overview - Direction of equipment

# 2.2.2 Android extend SDK

project.miniapp.json The corresponding name in JSAPI Group name Interface details
Network SDK WebSocket、mDNS、TCP Communications, UDP Communication, WIFI, Network Related API API a general overview - network - WebSocket
API a general overview - network - mDNS
API a general overview - network - TCP Signal communication
API a general overview - network - UDP Signal communication
API a general overview - WIFI
API a general overview - network
LBS SDK Map, Location Related API API a general overview - Media - map
API a general overview - position
Media SDK Picture, video, audio, background audio, recording, camera related API API a general overview - Media - picture
API a general overview - Media - video
API a general overview - Media - audio frequency
API a general overview - Media - Background audio
API a general overview - Media - Sound recording
API a general overview - Media - camera
Bluetooth SDK Bluetooth API API a general overview - Bluetooth - currency
[API a general overview - Bluetooth - Low Power Center Device](https://dev.weixin.qq.com/docs/framework/dev/jsapi/total.html#% E8%93%9D%E7%89%99-%E4%BD%8E%E5%8A%9F%E8%80%97%E4%B8%AD%E5%BF%83%E8%AE%BE%E5%A4%87)
[API a general overview - Bluetooth - Low-power peripheral equipment](https://dev.weixin.qq.com/docs/framework/dev/jsapi/total.html#% E8%93%9D%E7%89%99-%E4%BD%8E%E5%8A%9F%E8%80%97%E5%A4%96%E5%9B%B4%E8%AE%BE%E5%A4%87)
API a general overview - Bluetooth - a signal(Beacon)
Scanner SDK Scanning Related API API a general overview - Scan code
XWEB SDK canvas Canvas-related API API a general overview - canvas
XWEB Embed SDK canvas Canvas-related API API a general overview - canvas
TPNS SDK Push Related API wx.miniapp.getXGPushManager
Added: Check this out[Message Push Compliance Guide](https://dev.weixin.qq.com/docs/framework/Guideline/devtools/tpns.html#_1% E3%80%81%E5%85%B3%E4%BA%8E%E5%90%88%E8%A7%84%E6%8C%87%E5%8D%97)
GDT SDK Tencent Advertising Related API wx.miniapp.setEnableAdSplash
Added: Check this out[Tencent Advertising Compliance Guide](https://dev.weixin.qq.com/docs/framework/Guideline/devtools/ad.html#_2% E3%80%81%E5%85%B3%E4%BA%8E%E5%90%88%E8%A7%84%E6%8C%87%E5%8D%97)

# III. SDK Update log