0.2.3 • Published 4 years ago

react-native-kpframework-mlvb-room v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

react-native-kpframework-MLVB-room


接入腾讯SDK的直播间

安装方式

第一步: 添加库

yarn add react-native-kpframework-MLVB-room

第二步: 链接原生(RN < 6.0)

react-native link react-native-kpframework-MLVB-room

第三步

android
Gradle >= 3.1.4 (android/build.gradle)
Android SDK >= 28 (android/app/build.gradle) 支持androidx

iOS

  1. Cocoapods(推荐)
    修改 Podfile 文件,如下:
platform :ios, '9.0'

target '<project_name>' do
  # this is very important to have!
  rn_path = '../node_modules/react-native'
  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
  pod 'React', path: rn_path, subspecs: [
    'Core',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket'
  ]

  pod 'KPMLVBRoom', :path => '../node_modules/react-native-kpframework-MLVB-room'
end

# very important to have, unless you removed React dependencies for Libraries
# and you rely on Cocoapods to manage it
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end
  end
end

执行 pod install

  1. 手动安装
    Click on project General tab
    Under Deployment Info set Deployment Target to 8.0
    Under Embedded Binaries click + and add KPGallery.framework
0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago