Latest 0.0.2
Homepage https://github.com/Potato121/OnlineService
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, Speech, Foundation
Authors

在线客服、H5与原生的交互

包括H5和原生交互的功能:

  • 语音识别、语音合成
  • 地图导航
  • 分享

如果需要使用,需要在Info.plist里面添加如下内容:

  • LSApplicationQueriesSchemes下添加以下2项,用于打开地图导航
<string>iosamap</string>
<string>baidumap</string>
  • info.plist添加以下几项的授权
Privacy - Media Library Usage Description
Privacy - Camera Usage Description
Privacy - Location Always Usage Description
Privacy - Location Usage Description
Privacy - Location When In Use Usage Description
Privacy - Microphone Usage Description
Privacy - Photo Library Usage Description
Privacy - Speech Recognition Usage Description

安装方式

  • 下载源码安装,需要导入源代码以及OnlineService.bundle
  • 通过Cocoapods安装, 在podfile里面添加如下命令,pod "OnlineService"

联系方式

[email protected]

网址

www.hedy.ltd

Latest podspec

{
    "name": "OnlineService",
    "version": "0.0.2",
    "summary": "Hedy u5728u7ebfu5ba2u670d",
    "description": "u52a0u8f7du51fau5728u7ebfu5ba2u670du9875u9762uff0cu5b9eu73b0u76f8u5173u7684u548cu539fu751fu4ea4u4e92u7684u529fu80fd",
    "homepage": "https://github.com/Potato121/OnlineService",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "hedy": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Potato121/OnlineService.git",
        "tag": "0.0.2"
    },
    "source_files": "OnlineService/Classes/*.{h,m}",
    "resources": "OnlineService.bundle",
    "frameworks": [
        "UIKit",
        "Speech",
        "Foundation"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This