没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
react-native-bluetooth-state 回答“我的蓝牙打开了吗?”的问题。 在 React Native 这个模块目前只适用于 iOS。 安装 $ npm install react-native-bluetooth-state React Native >=0.7.0 是需要的。 然后您需要将 Objective-C 部分添加到您的 XCode 项目中。 将 RNBluetoothState.xcodeproj 从 node_modules/react-native-bluetooth-state 文件夹拖到您的 XCode 项目中。 在 XCode 中单击您的项目,转到构建阶段,然后将二进制文件与库链接并添加 libRNBluetoothState.a 和 CoreBluetooth.framework。 (或者,您可以使用 RNPM 链接库,但在任何情况下您都需要链接 CoreBluetooth.framework。)用法 import BluetoothState from 'react-native-bluetooth-state'; BluetoothSt
资源推荐
资源详情
资源评论
收起资源包目录
react-native-bluetooth-state-master.zip (47个子文件)
react-native-bluetooth-state-master
RNBluetoothState.h 92B
RNBluetoothState.ios.js 671B
package.json 383B
Example
ios
Example.xcodeproj
project.pbxproj 33KB
xcshareddata
xcschemes
Example.xcscheme 4KB
Example
main.m 510B
AppDelegate.h 451B
AppDelegate.m 2KB
Base.lproj
LaunchScreen.xib 4KB
Images.xcassets
AppIcon.appiconset
Contents.json 585B
Info.plist 1KB
ExampleTests
ExampleTests.m 2KB
Info.plist 765B
.watchmanconfig 2B
android
gradlew.bat 2KB
gradlew 5KB
gradle.properties 887B
keystores
debug.keystore.properties 105B
BUCK 138B
app
proguard-rules.pro 2KB
src
main
res
mipmap-hdpi
ic_launcher.png 3KB
values
strings.xml 70B
styles.xml 192B
mipmap-xxhdpi
ic_launcher.png 8KB
mipmap-mdpi
ic_launcher.png 2KB
mipmap-xhdpi
ic_launcher.png 5KB
java
com
example
MainActivity.java 1KB
AndroidManifest.xml 1KB
BUCK 1KB
build.gradle 5KB
gradle
wrapper
gradle-wrapper.jar 51KB
gradle-wrapper.properties 200B
settings.gradle 45B
build.gradle 648B
.flowconfig 3KB
package.json 363B
index.ios.js 1KB
.gitignore 418B
index.android.js 1016B
.buckconfig 114B
RNBluetoothState.m 2KB
LICENSE 1KB
RNBluetoothState.xcodeproj
project.pbxproj 8KB
.gitignore 444B
README.md 1KB
.editorconfig 237B
RNBluetoothState.android.js 245B
共 47 条
- 1
资源评论
CodeWizardess
- 粉丝: 15
- 资源: 4691
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功