capacitor-motioncal 0.0.2 → 0.0.3

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.
@@ -18,6 +18,11 @@ Pod::Spec.new do |s|
18
18
 
19
19
  s.pod_target_xcconfig = {
20
20
  'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}/common"',
21
- 'SWIFT_OBJC_BRIDGING_HEADER' => '${PODS_TARGET_SRCROOT}/ios/Sources/MotionCalibrationPlugin/MotionCalibration-Bridging-Header.h'
21
+ 'SWIFT_INCLUDE_PATHS' => '$(PODS_TARGET_SRCROOT)/common',
22
+ 'DEFINES_MODULE' => 'YES'
23
+ }
24
+
25
+ s.xcconfig = {
26
+ 'SWIFT_INCLUDE_PATHS' => '$(PODS_TARGET_SRCROOT)/common'
22
27
  }
23
28
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-motioncal",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Capacitor plugin for motion calibration using magnetometer data",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,26 +0,0 @@
1
- #ifndef MotionCalibration_Bridging_Header_h
2
- #define MotionCalibration_Bridging_Header_h
3
-
4
- #include "motioncalibration.h"
5
- #include "imuread.h"
6
-
7
- // Additional declarations for Swift compatibility
8
- extern int read_ipc_file_data(const char *filename);
9
- extern void set_result_filename(const char *filename);
10
- extern void raw_data_reset(void);
11
- extern int send_calibration(void);
12
- extern float quality_surface_gap_error(void);
13
- extern float quality_magnitude_variance_error(void);
14
- extern float quality_wobble_error(void);
15
- extern float quality_spherical_fit_error(void);
16
- extern void display_callback(void);
17
- extern const uint8_t* get_calibration_data(void);
18
- extern float* get_draw_points(void);
19
- extern int get_draw_points_count(void);
20
- extern void clear_draw_points(void);
21
- extern void get_hard_iron_offset(float V[3]);
22
- extern void get_soft_iron_matrix(float invW[3][3]);
23
- extern float get_geomagnetic_field_magnitude(void);
24
- extern short is_send_cal_available(void);
25
-
26
- #endif /* MotionCalibration_Bridging_Header_h */