theta-client-react-native 1.3.0 → 1.4.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 (109) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/ricoh360/thetaclientreactnative/Converter.kt +84 -0
  3. package/android/src/main/java/com/ricoh360/thetaclientreactnative/ThetaClientSdkModule.kt +55 -19
  4. package/ios/ConvertUtil.swift +989 -0
  5. package/ios/ThetaClientReactNative-Bridging-Header.h +3 -0
  6. package/ios/ThetaClientReactNative.m +201 -0
  7. package/ios/ThetaClientReactNative.swift +1337 -0
  8. package/ios/ThetaClientReactNative.xcodeproj/project.pbxproj +15 -57
  9. package/lib/commonjs/capture/photo-capture.js +19 -1
  10. package/lib/commonjs/capture/photo-capture.js.map +1 -1
  11. package/lib/commonjs/capture/time-shift-capture.js +27 -23
  12. package/lib/commonjs/capture/time-shift-capture.js.map +1 -1
  13. package/lib/commonjs/capture/video-capture.js +33 -5
  14. package/lib/commonjs/capture/video-capture.js.map +1 -1
  15. package/lib/commonjs/index.js.map +1 -1
  16. package/lib/commonjs/theta-repository/notify-controller.js +40 -0
  17. package/lib/commonjs/theta-repository/notify-controller.js.map +1 -0
  18. package/lib/commonjs/theta-repository/options/index.js +44 -0
  19. package/lib/commonjs/theta-repository/options/index.js.map +1 -1
  20. package/lib/commonjs/theta-repository/options/option-face-detect.js +22 -0
  21. package/lib/commonjs/theta-repository/options/option-face-detect.js.map +1 -0
  22. package/lib/commonjs/theta-repository/options/option-function.js +27 -0
  23. package/lib/commonjs/theta-repository/options/option-function.js.map +1 -0
  24. package/lib/commonjs/theta-repository/options/option-gain.js +26 -0
  25. package/lib/commonjs/theta-repository/options/option-gain.js.map +1 -0
  26. package/lib/commonjs/theta-repository/options/option-image-stitching.js +38 -0
  27. package/lib/commonjs/theta-repository/options/option-image-stitching.js.map +1 -0
  28. package/lib/commonjs/theta-repository/options/options.js +8 -0
  29. package/lib/commonjs/theta-repository/options/options.js.map +1 -1
  30. package/lib/commonjs/theta-repository/theta-files.js.map +1 -1
  31. package/lib/commonjs/theta-repository/theta-repository.js +2 -3
  32. package/lib/commonjs/theta-repository/theta-repository.js.map +1 -1
  33. package/lib/commonjs/theta-repository/theta-state.js +1 -13
  34. package/lib/commonjs/theta-repository/theta-state.js.map +1 -1
  35. package/lib/module/capture/photo-capture.js +19 -1
  36. package/lib/module/capture/photo-capture.js.map +1 -1
  37. package/lib/module/capture/time-shift-capture.js +27 -23
  38. package/lib/module/capture/time-shift-capture.js.map +1 -1
  39. package/lib/module/capture/video-capture.js +33 -5
  40. package/lib/module/capture/video-capture.js.map +1 -1
  41. package/lib/module/index.js.map +1 -1
  42. package/lib/module/theta-repository/notify-controller.js +33 -0
  43. package/lib/module/theta-repository/notify-controller.js.map +1 -0
  44. package/lib/module/theta-repository/options/index.js +4 -0
  45. package/lib/module/theta-repository/options/index.js.map +1 -1
  46. package/lib/module/theta-repository/options/option-face-detect.js +15 -0
  47. package/lib/module/theta-repository/options/option-face-detect.js.map +1 -0
  48. package/lib/module/theta-repository/options/option-function.js +20 -0
  49. package/lib/module/theta-repository/options/option-function.js.map +1 -0
  50. package/lib/module/theta-repository/options/option-gain.js +19 -0
  51. package/lib/module/theta-repository/options/option-gain.js.map +1 -0
  52. package/lib/module/theta-repository/options/option-image-stitching.js +31 -0
  53. package/lib/module/theta-repository/options/option-image-stitching.js.map +1 -0
  54. package/lib/module/theta-repository/options/options.js +8 -0
  55. package/lib/module/theta-repository/options/options.js.map +1 -1
  56. package/lib/module/theta-repository/theta-files.js.map +1 -1
  57. package/lib/module/theta-repository/theta-repository.js +2 -3
  58. package/lib/module/theta-repository/theta-repository.js.map +1 -1
  59. package/lib/module/theta-repository/theta-state.js +0 -12
  60. package/lib/module/theta-repository/theta-state.js.map +1 -1
  61. package/lib/typescript/capture/photo-capture.d.ts +7 -1
  62. package/lib/typescript/capture/photo-capture.d.ts.map +1 -1
  63. package/lib/typescript/capture/time-shift-capture.d.ts +4 -7
  64. package/lib/typescript/capture/time-shift-capture.d.ts.map +1 -1
  65. package/lib/typescript/capture/video-capture.d.ts +5 -1
  66. package/lib/typescript/capture/video-capture.d.ts.map +1 -1
  67. package/lib/typescript/theta-repository/notify-controller.d.ts +17 -0
  68. package/lib/typescript/theta-repository/notify-controller.d.ts.map +1 -0
  69. package/lib/typescript/theta-repository/options/index.d.ts +4 -0
  70. package/lib/typescript/theta-repository/options/index.d.ts.map +1 -1
  71. package/lib/typescript/theta-repository/options/option-face-detect.d.ts +15 -0
  72. package/lib/typescript/theta-repository/options/option-face-detect.d.ts.map +1 -0
  73. package/lib/typescript/theta-repository/options/option-function.d.ts +20 -0
  74. package/lib/typescript/theta-repository/options/option-function.d.ts.map +1 -0
  75. package/lib/typescript/theta-repository/options/option-gain.d.ts +19 -0
  76. package/lib/typescript/theta-repository/options/option-gain.d.ts.map +1 -0
  77. package/lib/typescript/theta-repository/options/option-image-stitching.d.ts +30 -0
  78. package/lib/typescript/theta-repository/options/option-image-stitching.d.ts.map +1 -0
  79. package/lib/typescript/theta-repository/options/options.d.ts +20 -0
  80. package/lib/typescript/theta-repository/options/options.d.ts.map +1 -1
  81. package/lib/typescript/theta-repository/theta-files.d.ts +2 -0
  82. package/lib/typescript/theta-repository/theta-files.d.ts.map +1 -1
  83. package/lib/typescript/theta-repository/theta-repository.d.ts.map +1 -1
  84. package/lib/typescript/theta-repository/theta-state.d.ts +1 -11
  85. package/lib/typescript/theta-repository/theta-state.d.ts.map +1 -1
  86. package/package.json +14 -8
  87. package/src/capture/photo-capture.ts +20 -3
  88. package/src/capture/time-shift-capture.ts +40 -33
  89. package/src/capture/video-capture.ts +49 -6
  90. package/src/theta-repository/notify-controller.ts +50 -0
  91. package/src/theta-repository/options/index.ts +4 -0
  92. package/src/theta-repository/options/option-face-detect.ts +16 -0
  93. package/src/theta-repository/options/option-function.ts +21 -0
  94. package/src/theta-repository/options/option-gain.ts +19 -0
  95. package/src/theta-repository/options/option-image-stitching.ts +32 -0
  96. package/src/theta-repository/options/options.ts +20 -0
  97. package/src/theta-repository/theta-files.ts +2 -0
  98. package/src/theta-repository/theta-repository.ts +3 -3
  99. package/src/theta-repository/theta-state.ts +2 -14
  100. package/theta-client-react-native.podspec +2 -2
  101. package/ios/ThetaClientReactNative.h +0 -34
  102. package/ios/ThetaClientReactNative.mm +0 -4084
  103. package/lib/commonjs/capture/notify.js +0 -12
  104. package/lib/commonjs/capture/notify.js.map +0 -1
  105. package/lib/module/capture/notify.js +0 -6
  106. package/lib/module/capture/notify.js.map +0 -1
  107. package/lib/typescript/capture/notify.d.ts +0 -13
  108. package/lib/typescript/capture/notify.d.ts.map +0 -1
  109. package/src/capture/notify.ts +0 -27
@@ -14,10 +14,10 @@ Pod::Spec.new do |s|
14
14
  s.platforms = { :ios => "15.0" }
15
15
  s.source = { :git => "git@github.com:ricohapi/theta-client.git", :tag => "#{s.version}" }
16
16
 
17
- s.source_files = "ios/**/*.{h,m,mm}"
17
+ s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "THETAClient", "1.3.0"
20
+ s.dependency "THETAClient", "1.4.0"
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
@@ -1,34 +0,0 @@
1
-
2
- #ifdef RCT_NEW_ARCH_ENABLED
3
- #import "RNThetaClientReactNativeSpec.h"
4
- #import <React/RCTEventEmitter.h>
5
-
6
- @interface ThetaClientReactNative : RCTEventEmitter <NativeThetaClientReactNativeSpec>
7
- #else
8
- #import <React/RCTBridgeModule.h>
9
- #import <React/RCTEventEmitter.h>
10
-
11
- @interface ThetaClientReactNative : RCTEventEmitter <RCTBridgeModule>
12
- #endif
13
-
14
- /** theta repository instance */
15
- @property(nonatomic, strong) THETACThetaRepository *theta;
16
- /** photoCapture builder instance */
17
- @property(nonatomic, strong) THETACPhotoCaptureBuilder *photoCaptureBuilder;
18
- /** photoCapture instance */
19
- @property(nonatomic, strong) THETACPhotoCapture *photoCapture;
20
- /** timeShiftCapture builder instance */
21
- @property(nonatomic, strong) THETACTimeShiftCaptureBuilder *timeShiftCaptureBuilder;
22
- /** timeShiftCapture instance */
23
- @property(nonatomic, strong) THETACTimeShiftCapture *timeShiftCapture;
24
- /** timeShiftCapturing instance */
25
- @property(nonatomic, strong) THETACTimeShiftCapturing *timeShiftCapturing;
26
- /** videoCapture builder instance */
27
- @property(nonatomic, strong) THETACVideoCaptureBuilder *videoCaptureBuilder;
28
- /** videoCapture instance */
29
- @property(nonatomic, strong) THETACVideoCapture *videoCapture;
30
- /** videoCapturing instance */
31
- @property(nonatomic, strong) THETACVideoCapturing *videoCapturing;
32
- /** previewing in progress flag */
33
- @property(nonatomic) BOOL previewing;
34
- @end