theta-client-react-native 1.15.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. package/README.ja.md +2 -5
  2. package/README.md +2 -5
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +4 -0
  5. package/frameworks/THETAClient.xcframework/Info.plist +48 -0
  6. package/frameworks/THETAClient.xcframework/ios-arm64/THETAClient.framework/Headers/THETAClient.h +4500 -0
  7. package/frameworks/THETAClient.xcframework/ios-arm64/THETAClient.framework/Info.plist +35 -0
  8. package/frameworks/THETAClient.xcframework/ios-arm64/THETAClient.framework/Modules/module.modulemap +8 -0
  9. package/frameworks/THETAClient.xcframework/ios-arm64/THETAClient.framework/THETAClient +0 -0
  10. package/frameworks/THETAClient.xcframework/ios-arm64/dSYMs/THETAClient.framework.dSYM/Contents/Info.plist +20 -0
  11. package/frameworks/THETAClient.xcframework/ios-arm64/dSYMs/THETAClient.framework.dSYM/Contents/Resources/DWARF/THETAClient +0 -0
  12. package/frameworks/THETAClient.xcframework/ios-arm64/dSYMs/THETAClient.framework.dSYM/Contents/Resources/Relocations/aarch64/THETAClient.yml +18227 -0
  13. package/frameworks/THETAClient.xcframework/ios-arm64_x86_64-simulator/THETAClient.framework/Headers/THETAClient.h +4500 -0
  14. package/frameworks/THETAClient.xcframework/ios-arm64_x86_64-simulator/THETAClient.framework/Info.plist +31 -0
  15. package/frameworks/THETAClient.xcframework/ios-arm64_x86_64-simulator/THETAClient.framework/Modules/module.modulemap +5 -0
  16. package/frameworks/THETAClient.xcframework/ios-arm64_x86_64-simulator/THETAClient.framework/THETAClient +0 -0
  17. package/frameworks/THETAClient.xcframework/ios-arm64_x86_64-simulator/dSYMs/THETAClient.framework.dSYM/Contents/Info.plist +20 -0
  18. package/frameworks/THETAClient.xcframework/ios-arm64_x86_64-simulator/dSYMs/THETAClient.framework.dSYM/Contents/Resources/DWARF/THETAClient +0 -0
  19. package/lib/typescript/theta-repository/options/options.d.ts +2 -2
  20. package/package.json +6 -4
  21. package/src/theta-repository/options/options.ts +2 -2
  22. package/theta-client-react-native.podspec +9 -1
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleExecutable</key>
6
+ <string>THETAClient</string>
7
+ <key>CFBundleIdentifier</key>
8
+ <string>com.ricoh360.thetaclient.THETAClient</string>
9
+ <key>CFBundleInfoDictionaryVersion</key>
10
+ <string>6.0</string>
11
+ <key>CFBundleName</key>
12
+ <string>THETAClient</string>
13
+ <key>CFBundlePackageType</key>
14
+ <string>FMWK</string>
15
+ <key>CFBundleShortVersionString</key>
16
+ <string>1.0</string>
17
+ <key>CFBundleSupportedPlatforms</key>
18
+ <array>
19
+ <string>iPhoneOS</string>
20
+ </array>
21
+ <key>CFBundleVersion</key>
22
+ <string>1</string>
23
+ <key>MinimumOSVersion</key>
24
+ <string>12.0</string>
25
+ <key>UIDeviceFamily</key>
26
+ <array>
27
+ <integer>1</integer>
28
+ <integer>2</integer>
29
+ </array>
30
+ </dict>
31
+ </plist>
@@ -0,0 +1,5 @@
1
+ framework module "THETAClient" {
2
+ umbrella header "THETAClient.h"
3
+ export *
4
+ module * { export * }
5
+ }
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>English</string>
7
+ <key>CFBundleIdentifier</key>
8
+ <string>com.apple.xcode.dsym.com.ricoh360.thetaclient.THETAClient</string>
9
+ <key>CFBundleInfoDictionaryVersion</key>
10
+ <string>6.0</string>
11
+ <key>CFBundlePackageType</key>
12
+ <string>dSYM</string>
13
+ <key>CFBundleSignature</key>
14
+ <string>????</string>
15
+ <key>CFBundleShortVersionString</key>
16
+ <string>1.0</string>
17
+ <key>CFBundleVersion</key>
18
+ <string>1</string>
19
+ </dict>
20
+ </plist>
@@ -600,7 +600,7 @@ export type Options = {
600
600
  */
601
601
  offDelayUsb?: OffDelayUsbEnum;
602
602
  /** Password used for digest authentication when _networkType is set to client mode. */
603
- password?: String;
603
+ password?: string;
604
604
  /** Power saving mode */
605
605
  powerSaving?: PowerSavingEnum;
606
606
  /** Preset mode */
@@ -644,7 +644,7 @@ export type Options = {
644
644
  /** _usbConnection */
645
645
  usbConnection?: UsbConnectionEnum;
646
646
  /** User name used for digest authentication when _networkType is set to client mode. */
647
- username?: String;
647
+ username?: string;
648
648
  /** Video stitching during shooting. */
649
649
  videoStitching?: VideoStitchingEnum;
650
650
  /** Reduction visibility of camera body to still image when stitching. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theta-client-react-native",
3
- "version": "1.15.0",
3
+ "version": "1.17.0",
4
4
  "description": "This library provides a way to control RICOH THETA using.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -13,6 +13,7 @@
13
13
  "android",
14
14
  "ios",
15
15
  "cpp",
16
+ "frameworks/THETAClient.xcframework",
16
17
  "*.podspec",
17
18
  "!lib/typescript/verification-tool",
18
19
  "!ios/build",
@@ -30,10 +31,11 @@
30
31
  "test": "jest",
31
32
  "typecheck": "tsc --noEmit",
32
33
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
- "prepack": "bob build",
34
+ "prepack": "bob build && bash scripts/download-thetaclient.sh",
35
+ "download-thetaclient": "bash scripts/download-thetaclient.sh",
34
36
  "release": "release-it",
35
37
  "verification-tool": "yarn --cwd verification-tool",
36
- "bootstrap": "yarn verification-tool && yarn install && yarn verification-tool pods",
38
+ "bootstrap": "yarn verification-tool && yarn install && yarn download-thetaclient && yarn verification-tool pods",
37
39
  "clean": "del-cli android/build verification-tool/android/build verification-tool/android/app/build verification-tool/ios/build"
38
40
  },
39
41
  "keywords": [
@@ -167,4 +169,4 @@
167
169
  }
168
170
  }
169
171
  }
170
- }
172
+ }
@@ -625,7 +625,7 @@ export type Options = {
625
625
  */
626
626
  offDelayUsb?: OffDelayUsbEnum;
627
627
  /** Password used for digest authentication when _networkType is set to client mode. */
628
- password?: String;
628
+ password?: string;
629
629
  /** Power saving mode */
630
630
  powerSaving?: PowerSavingEnum;
631
631
  /** Preset mode */
@@ -669,7 +669,7 @@ export type Options = {
669
669
  /** _usbConnection */
670
670
  usbConnection?: UsbConnectionEnum;
671
671
  /** User name used for digest authentication when _networkType is set to client mode. */
672
- username?: String;
672
+ username?: string;
673
673
  /** Video stitching during shooting. */
674
674
  videoStitching?: VideoStitchingEnum;
675
675
  /** Reduction visibility of camera body to still image when stitching. */
@@ -15,7 +15,15 @@ Pod::Spec.new do |s|
15
15
 
16
16
  s.source_files = "ios/**/*.{h,m,mm,swift,cpp}"
17
17
 
18
- s.dependency "THETAClient", "1.15.0"
18
+ # THETAClient.xcframework is the released file referred by Package.swift (Swift Package Manager).
19
+ # It is bundled in the npm package and embedded into the app by CocoaPods,
20
+ # so that apps need no additional setup for THETAClient.
21
+ # In this repository, run `yarn download-thetaclient` to get it.
22
+ theta_client_framework = "frameworks/THETAClient.xcframework"
23
+ unless File.exist?(File.join(__dir__, theta_client_framework))
24
+ raise "#{theta_client_framework} is not found. Run `yarn download-thetaclient` in react-native."
25
+ end
26
+ s.vendored_frameworks = theta_client_framework
19
27
 
20
28
  install_modules_dependencies(s)
21
29
  end