1.2.0 • Published 2 years ago
theta-ble-client-react-native v1.2.0
theta-ble-client-react-native
This library provides a way to control RICOH THETA using.
Prerequisite
Build react-native wrapper
theta-ble-client$ cd react-native react-native$ yarn react-native$ sh ./mkpackage.shInstall react-native
Creating a project
Create a project using
react-native-cli, then add theta-ble-client.$ npx react-native@latest init YourProject $ cd YourProject $ yarn add [theta-ble-client directory]/react-native/packageSettings on android
- YourProject/android/build.gradle
* set
minSdkVersionto 26 or later.
- YourProject/android/build.gradle
* set
Settings on iOS
- YourProject/ios/Podfile
* Set
platform :iosto '14.0' or later.
- YourProject/ios/Podfile
* Set
Building and execution
$ cd YourProject $ yarn install $ yarn run android OR $ yarn run iosYou can execute metro bundler on other terminal in advance.
$ yarn start