@tryvital/vital-core-react-native 1.1.0 → 1.3.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.
- package/.DS_Store +0 -0
- package/.editorconfig +15 -0
- package/.gitattributes +3 -0
- package/.gitignore +70 -0
- package/.watchmanconfig +1 -0
- package/.yarnrc +3 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/results.bin +1 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/BuildConfig.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/desugar_graph.bin +0 -0
- package/android/build/.transforms/81981a70da18d3efe533daf2ba1b9186/results.bin +1 -0
- package/android/build/generated/source/buildConfig/debug/com/vitalcorereactnative/BuildConfig.java +12 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +9 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +4 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +1958 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/javac/debug/classes/com/vitalcorereactnative/BuildConfig.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +11 -0
- package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +9 -0
- package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
- package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +18 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +1451 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +25 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
- package/android/build.gradle +3 -0
- package/babel.config.js +3 -0
- package/ios/.DS_Store +0 -0
- package/ios/VItalCoreConfiguration.m +12 -0
- package/ios/VitalCoreConfiguration.h +7 -0
- package/lib/commonjs/index.js +35 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/models/BloodPressureSample.d.js +2 -0
- package/lib/commonjs/models/BloodPressureSample.d.js.map +1 -0
- package/lib/commonjs/models/QuantitySample.d.js +2 -0
- package/lib/commonjs/models/QuantitySample.d.js.map +1 -0
- package/lib/module/index.js +26 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/models/BloodPressureSample.d.js +2 -0
- package/lib/module/models/BloodPressureSample.d.js.map +1 -0
- package/lib/module/models/QuantitySample.d.js +2 -0
- package/lib/module/models/QuantitySample.d.js.map +1 -0
- package/lib/{index.d.ts → typescript/index.d.ts} +3 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/package.json +27 -11
- package/scripts/bootstrap.js +29 -0
- package/src/index.ts +3 -0
- package/src/models/BloodPressureSample.d.ts +7 -0
- package/src/models/QuantitySample.d.ts +10 -0
- package/tsconfig.build.json +5 -0
- package/tsconfig.json +29 -0
- package/vital-core-react-native.podspec +1 -1
- package/yarn.lock +8788 -0
- package/lib/index.js +0 -23
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
-- Merging decision tree log ---
|
|
2
|
+
manifest
|
|
3
|
+
ADDED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml:1:1-4:12
|
|
4
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml:1:1-4:12
|
|
5
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml:1:1-4:12
|
|
6
|
+
package
|
|
7
|
+
ADDED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml:2:11-45
|
|
8
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
9
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
10
|
+
xmlns:android
|
|
11
|
+
ADDED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml:1:11-69
|
|
12
|
+
uses-sdk
|
|
13
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
14
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
15
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
16
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
17
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
18
|
+
android:targetSdkVersion
|
|
19
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
20
|
+
ADDED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
21
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
22
|
+
android:minSdkVersion
|
|
23
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
24
|
+
ADDED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
25
|
+
INJECTED from /Users/anders/repos/vital-react-native/example/node_modules/@tryvital/vital-core-react-native/android/src/main/AndroidManifest.xml
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -134,6 +134,9 @@ dependencies {
|
|
|
134
134
|
//noinspection GradleDynamicVersion
|
|
135
135
|
implementation "com.facebook.react:react-native:+"
|
|
136
136
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
137
|
+
api "com.squareup.moshi:moshi:1.13.0"
|
|
138
|
+
api "com.squareup.moshi:moshi-kotlin:1.13.0"
|
|
139
|
+
api "com.squareup.moshi:moshi-adapters:1.13.0"
|
|
137
140
|
// From node_modules
|
|
138
141
|
}
|
|
139
142
|
|
package/babel.config.js
ADDED
package/ios/.DS_Store
ADDED
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.VitalCore = exports.QuantitySample = exports.BloodPressureSample = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _QuantitySample = _interopRequireWildcard(require("./models/QuantitySample"));
|
|
9
|
+
exports.QuantitySample = _QuantitySample;
|
|
10
|
+
var _BloodPressureSample = _interopRequireWildcard(require("./models/BloodPressureSample"));
|
|
11
|
+
exports.BloodPressureSample = _BloodPressureSample;
|
|
12
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
+
const LINKING_ERROR = `The package 'vital-core-react-native' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
|
|
15
|
+
ios: "- You have run 'pod install'\n",
|
|
16
|
+
default: ''
|
|
17
|
+
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
18
|
+
const VitalCoreReactNative = _reactNative.NativeModules.VitalCoreReactNative ? _reactNative.NativeModules.VitalCoreReactNative : new Proxy({}, {
|
|
19
|
+
get() {
|
|
20
|
+
throw new Error(LINKING_ERROR);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
class VitalCore {
|
|
24
|
+
static setUserId(userId) {
|
|
25
|
+
return VitalCoreReactNative.setUserId(userId);
|
|
26
|
+
}
|
|
27
|
+
static configure(apiKey, environment, region, enableLogs) {
|
|
28
|
+
return VitalCoreReactNative.configure(apiKey, environment, region, enableLogs);
|
|
29
|
+
}
|
|
30
|
+
static cleanUp() {
|
|
31
|
+
return VitalCoreReactNative.cleanUp();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.VitalCore = VitalCore;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["LINKING_ERROR","Platform","select","ios","default","VitalCoreReactNative","NativeModules","Proxy","get","Error","VitalCore","setUserId","userId","configure","apiKey","environment","region","enableLogs","cleanUp"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;AAAA;AAAuD;AAAA;AAAA;AAAA;AAAA;AAAA;AAKvD,MAAMA,aAAa,GAChB,kFAAiF,GAClFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,oBAAoB,GAAGC,0BAAa,CAACD,oBAAoB,GAC3DC,0BAAa,CAACD,oBAAoB,GAClC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAG,GAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAEE,MAAMU,SAAS,CAAC;EACrB,OAAOC,SAAS,CAACC,MAAc,EAAiB;IAC9C,OAAOP,oBAAoB,CAACM,SAAS,CAACC,MAAM,CAAC;EAC/C;EAEA,OAAOC,SAAS,CACdC,MAAc,EACdC,WAAmB,EACnBC,MAAc,EACdC,UAAmB,EACJ;IACf,OAAOZ,oBAAoB,CAACQ,SAAS,CACnCC,MAAM,EACNC,WAAW,EACXC,MAAM,EACNC,UAAU,CACX;EACH;EAEA,OAAOC,OAAO,GAAkB;IAC9B,OAAOb,oBAAoB,CAACa,OAAO,EAAE;EACvC;AACF;AAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["BloodPressureSample.d.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["QuantitySample.d.ts"],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NativeModules, Platform } from 'react-native';
|
|
2
|
+
import * as _QuantitySample from './models/QuantitySample';
|
|
3
|
+
export { _QuantitySample as QuantitySample };
|
|
4
|
+
import * as _BloodPressureSample from './models/BloodPressureSample';
|
|
5
|
+
export { _BloodPressureSample as BloodPressureSample };
|
|
6
|
+
const LINKING_ERROR = `The package 'vital-core-react-native' doesn't seem to be linked. Make sure: \n\n` + Platform.select({
|
|
7
|
+
ios: "- You have run 'pod install'\n",
|
|
8
|
+
default: ''
|
|
9
|
+
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
10
|
+
const VitalCoreReactNative = NativeModules.VitalCoreReactNative ? NativeModules.VitalCoreReactNative : new Proxy({}, {
|
|
11
|
+
get() {
|
|
12
|
+
throw new Error(LINKING_ERROR);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
export class VitalCore {
|
|
16
|
+
static setUserId(userId) {
|
|
17
|
+
return VitalCoreReactNative.setUserId(userId);
|
|
18
|
+
}
|
|
19
|
+
static configure(apiKey, environment, region, enableLogs) {
|
|
20
|
+
return VitalCoreReactNative.configure(apiKey, environment, region, enableLogs);
|
|
21
|
+
}
|
|
22
|
+
static cleanUp() {
|
|
23
|
+
return VitalCoreReactNative.cleanUp();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","QuantitySample","BloodPressureSample","LINKING_ERROR","select","ios","default","VitalCoreReactNative","Proxy","get","Error","VitalCore","setUserId","userId","configure","apiKey","environment","region","enableLogs","cleanUp"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAAC,iCAEvB,yBAAyB;AAAA,4BAA7CC,cAAc;AAAA,sCACW,8BAA8B;AAAA,iCAAvDC,mBAAmB;AAE/B,MAAMC,aAAa,GAChB,kFAAiF,GAClFH,QAAQ,CAACI,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,oBAAoB,GAAGR,aAAa,CAACQ,oBAAoB,GAC3DR,aAAa,CAACQ,oBAAoB,GAClC,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAG,GAAG;IACJ,MAAM,IAAIC,KAAK,CAACP,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAEL,OAAO,MAAMQ,SAAS,CAAC;EACrB,OAAOC,SAAS,CAACC,MAAc,EAAiB;IAC9C,OAAON,oBAAoB,CAACK,SAAS,CAACC,MAAM,CAAC;EAC/C;EAEA,OAAOC,SAAS,CACdC,MAAc,EACdC,WAAmB,EACnBC,MAAc,EACdC,UAAmB,EACJ;IACf,OAAOX,oBAAoB,CAACO,SAAS,CACnCC,MAAM,EACNC,WAAW,EACXC,MAAM,EACNC,UAAU,CACX;EACH;EAEA,OAAOC,OAAO,GAAkB;IAC9B,OAAOZ,oBAAoB,CAACY,OAAO,EAAE;EACvC;AACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["BloodPressureSample.d.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["QuantitySample.d.ts"],"mappings":""}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export * as QuantitySample from './models/QuantitySample';
|
|
2
|
+
export * as BloodPressureSample from './models/BloodPressureSample';
|
|
1
3
|
export declare class VitalCore {
|
|
2
4
|
static setUserId(userId: string): Promise<void>;
|
|
3
5
|
static configure(apiKey: string, environment: string, region: string, enableLogs: boolean): Promise<void>;
|
|
4
6
|
static cleanUp(): Promise<void>;
|
|
5
7
|
}
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,mBAAmB,MAAM,8BAA8B,CAAC;AAmBpE,qBAAa,SAAS;IACpB,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C,MAAM,CAAC,SAAS,CACd,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,OAAO,GAClB,OAAO,CAAC,IAAI,CAAC;IAShB,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryvital/vital-core-react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "test",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"
|
|
5
|
+
"main": "lib/commonjs/index.js",
|
|
6
|
+
"module": "lib/module/index.js",
|
|
7
|
+
"types": "lib/typescript/index.d.ts",
|
|
7
8
|
"source": "src/index",
|
|
8
9
|
"files": [
|
|
9
10
|
"src",
|
|
10
|
-
"lib",
|
|
11
|
+
"lib/**/*",
|
|
11
12
|
"android",
|
|
12
13
|
"ios",
|
|
13
14
|
"cpp",
|
|
@@ -25,14 +26,12 @@
|
|
|
25
26
|
"!**/.*"
|
|
26
27
|
],
|
|
27
28
|
"scripts": {
|
|
29
|
+
"build": "bob build",
|
|
30
|
+
"clean": "del lib",
|
|
31
|
+
"prepack": "yarn run clean && yarn run build",
|
|
28
32
|
"np": "np --no-publish",
|
|
29
|
-
"postversion": "react-native-version",
|
|
30
33
|
"test": "jest",
|
|
31
|
-
"
|
|
32
|
-
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
33
|
-
"example": "yarn --cwd example",
|
|
34
|
-
"bootstrap": "yarn example && yarn install && yarn example pods",
|
|
35
|
-
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
|
|
34
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\""
|
|
36
35
|
},
|
|
37
36
|
"keywords": [
|
|
38
37
|
"react-native",
|
|
@@ -63,7 +62,7 @@
|
|
|
63
62
|
"prettier": "^2.0.5",
|
|
64
63
|
"react": "18.1.0",
|
|
65
64
|
"react-native": "0.70.6",
|
|
66
|
-
"react-native-builder-bob": "^0.20.
|
|
65
|
+
"react-native-builder-bob": "^0.20.3",
|
|
67
66
|
"react-native-version": "^4.0.0",
|
|
68
67
|
"typescript": "^4.5.2"
|
|
69
68
|
},
|
|
@@ -78,6 +77,23 @@
|
|
|
78
77
|
"node": ">= 16.0.0"
|
|
79
78
|
},
|
|
80
79
|
"packageManager": "^yarn@1.22.15",
|
|
80
|
+
"react-native-builder-bob": {
|
|
81
|
+
"source": "src",
|
|
82
|
+
"output": "lib",
|
|
83
|
+
"files": [
|
|
84
|
+
"src/"
|
|
85
|
+
],
|
|
86
|
+
"targets": [
|
|
87
|
+
"commonjs",
|
|
88
|
+
"module",
|
|
89
|
+
[
|
|
90
|
+
"typescript",
|
|
91
|
+
{
|
|
92
|
+
"project": "tsconfig.build.json"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
]
|
|
96
|
+
},
|
|
81
97
|
"jest": {
|
|
82
98
|
"preset": "react-native",
|
|
83
99
|
"modulePathIgnorePatterns": [
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const os = require('os');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const child_process = require('child_process');
|
|
4
|
+
|
|
5
|
+
const root = path.resolve(__dirname, '..');
|
|
6
|
+
const args = process.argv.slice(2);
|
|
7
|
+
const options = {
|
|
8
|
+
cwd: process.cwd(),
|
|
9
|
+
env: process.env,
|
|
10
|
+
stdio: 'inherit',
|
|
11
|
+
encoding: 'utf-8',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
if (os.type() === 'Windows_NT') {
|
|
15
|
+
options.shell = true;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
let result;
|
|
19
|
+
|
|
20
|
+
if (process.cwd() !== root || args.length) {
|
|
21
|
+
// We're not in the root of the project, or additional arguments were passed
|
|
22
|
+
// In this case, forward the command to `yarn`
|
|
23
|
+
result = child_process.spawnSync('yarn', args, options);
|
|
24
|
+
} else {
|
|
25
|
+
// If `yarn` is run without arguments, perform bootstrap
|
|
26
|
+
result = child_process.spawnSync('yarn', ['bootstrap'], options);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
process.exitCode = result.status;
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { NativeModules, Platform } from 'react-native';
|
|
2
2
|
|
|
3
|
+
export * as QuantitySample from './models/QuantitySample';
|
|
4
|
+
export * as BloodPressureSample from './models/BloodPressureSample';
|
|
5
|
+
|
|
3
6
|
const LINKING_ERROR =
|
|
4
7
|
`The package 'vital-core-react-native' doesn't seem to be linked. Make sure: \n\n` +
|
|
5
8
|
Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": "./",
|
|
4
|
+
"paths": {
|
|
5
|
+
"vital-core-react-native": ["./src/index"]
|
|
6
|
+
},
|
|
7
|
+
"outDir": "./lib",
|
|
8
|
+
"allowUnreachableCode": false,
|
|
9
|
+
"allowUnusedLabels": false,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"importsNotUsedAsValues": "error",
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"jsx": "react",
|
|
14
|
+
"lib": ["esnext"],
|
|
15
|
+
"module": "esnext",
|
|
16
|
+
"moduleResolution": "node",
|
|
17
|
+
"noFallthroughCasesInSwitch": true,
|
|
18
|
+
"noImplicitReturns": true,
|
|
19
|
+
"noImplicitUseStrict": false,
|
|
20
|
+
"noStrictGenericChecks": false,
|
|
21
|
+
"noUncheckedIndexedAccess": true,
|
|
22
|
+
"noUnusedLocals": true,
|
|
23
|
+
"noUnusedParameters": true,
|
|
24
|
+
"resolveJsonModule": true,
|
|
25
|
+
"skipLibCheck": true,
|
|
26
|
+
"strict": true,
|
|
27
|
+
"target": "esnext"
|
|
28
|
+
}
|
|
29
|
+
}
|