@toothpic.eu/react-native-toothpic-sdk 1.0.8 → 1.0.9
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/package.json +7 -1
- package/ToothpicSdk.podspec +0 -19
- package/android/build/.transforms/538a2b2e205ad2a79d9dcdb78df86994/results.bin +0 -1
- package/android/build/.transforms/538a2b2e205ad2a79d9dcdb78df86994/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/results.bin +0 -1
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeToothpicSdkSpec.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/BuildConfig.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule$Companion.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule$generateCredential$1.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule$signWithCredential$1.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkPackage.dex +0 -0
- package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/toothpicsdk/BuildConfig.java +0 -10
- package/android/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeToothpicSdkSpec.java +0 -75
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -36
- package/android/build/generated/source/codegen/jni/ToothpicSdkSpec-generated.cpp +0 -82
- package/android/build/generated/source/codegen/jni/ToothpicSdkSpec.h +0 -31
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ComponentDescriptors.cpp +0 -22
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ComponentDescriptors.h +0 -24
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/EventEmitters.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/EventEmitters.h +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/Props.cpp +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/Props.h +0 -18
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ShadowNodes.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ShadowNodes.h +0 -23
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/States.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/States.h +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ToothpicSdkSpecJSI-generated.cpp +0 -82
- package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ToothpicSdkSpecJSI.h +0 -149
- package/android/build/generated/source/codegen/schema.json +0 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-toothpic-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/fbreact/specs/NativeToothpicSdkSpec.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/toothpicsdk/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-toothpic-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/fbreact/specs/NativeToothpicSdkSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule$generateCredential$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule$signWithCredential$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
- 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 +0 -2
- 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/classpath-snapshot/shrunk-classpath-snapshot.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 +0 -16
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-toothpic-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule$generateCredential$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule$signWithCredential$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkPackage.class +0 -0
- package/android/build.gradle +0 -67
- package/android/src/main/AndroidManifest.xml +0 -2
- package/android/src/main/java/com/toothpicsdk/ToothpicSdkModule.kt +0 -58
- package/android/src/main/java/com/toothpicsdk/ToothpicSdkPackage.kt +0 -33
- package/ios/ToothpicSdk.h +0 -0
- package/ios/ToothpicSdk.mm +0 -0
package/android/build.gradle
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
buildscript {
|
|
2
|
-
ext.ToothpicSdk = [
|
|
3
|
-
kotlinVersion: "2.0.21",
|
|
4
|
-
minSdkVersion: 24,
|
|
5
|
-
compileSdkVersion: 36,
|
|
6
|
-
targetSdkVersion: 36
|
|
7
|
-
]
|
|
8
|
-
|
|
9
|
-
ext.getExtOrDefault = { prop ->
|
|
10
|
-
if (rootProject.ext.has(prop)) {
|
|
11
|
-
return rootProject.ext.get(prop)
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
return ToothpicSdk[prop]
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
repositories {
|
|
18
|
-
google()
|
|
19
|
-
mavenCentral()
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
dependencies {
|
|
23
|
-
classpath "com.android.tools.build:gradle:8.7.2"
|
|
24
|
-
// noinspection DifferentKotlinGradleVersion
|
|
25
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
apply plugin: "com.android.library"
|
|
31
|
-
apply plugin: "kotlin-android"
|
|
32
|
-
|
|
33
|
-
apply plugin: "com.facebook.react"
|
|
34
|
-
|
|
35
|
-
android {
|
|
36
|
-
namespace "com.toothpicsdk"
|
|
37
|
-
|
|
38
|
-
compileSdkVersion getExtOrDefault("compileSdkVersion")
|
|
39
|
-
|
|
40
|
-
defaultConfig {
|
|
41
|
-
minSdkVersion getExtOrDefault("minSdkVersion")
|
|
42
|
-
targetSdkVersion getExtOrDefault("targetSdkVersion")
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
buildFeatures {
|
|
46
|
-
buildConfig true
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
buildTypes {
|
|
50
|
-
release {
|
|
51
|
-
minifyEnabled false
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
lint {
|
|
56
|
-
disable "GradleCompatible"
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
compileOptions {
|
|
60
|
-
sourceCompatibility JavaVersion.VERSION_1_8
|
|
61
|
-
targetCompatibility JavaVersion.VERSION_1_8
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
dependencies {
|
|
66
|
-
implementation "com.facebook.react:react-android"
|
|
67
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
package com.toothpicsdk
|
|
2
|
-
|
|
3
|
-
import com.facebook.fbreact.specs.NativeToothpicSdkSpec
|
|
4
|
-
import com.facebook.react.bridge.Arguments
|
|
5
|
-
import com.facebook.react.bridge.Promise
|
|
6
|
-
import com.facebook.react.bridge.ReactApplicationContext
|
|
7
|
-
import com.facebook.react.bridge.ReadableArray
|
|
8
|
-
|
|
9
|
-
class ToothpicSdkModule(reactContext: ReactApplicationContext) :
|
|
10
|
-
NativeToothpicSdkSpec(reactContext) {
|
|
11
|
-
|
|
12
|
-
override fun generateCredential(
|
|
13
|
-
premiumService: Boolean,
|
|
14
|
-
premiumUser: Boolean,
|
|
15
|
-
verifyGeneration: Boolean,
|
|
16
|
-
promise: Promise
|
|
17
|
-
) {
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
override fun signWithCredential(keyID: String, messageToSign: ReadableArray, promise: Promise) {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
override fun getName(): String {
|
|
25
|
-
return NAME
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
override fun getVersion(promise: Promise) {
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
override fun getKeyType(keyID: String, promise: Promise) {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
override fun getPublicKey(keyID: String, promise: Promise) {
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
override fun deleteKey(keyID: String, promise: Promise) {
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
override fun deleteAllKeys(promise: Promise) {
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
override fun getKeys(promise: Promise) {
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
override fun isPremiumSupported(promise: Promise){
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
companion object {
|
|
56
|
-
const val NAME = NativeToothpicSdkSpec.NAME
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
package com.toothpicsdk
|
|
2
|
-
|
|
3
|
-
import com.facebook.react.BaseReactPackage
|
|
4
|
-
import com.facebook.react.bridge.NativeModule
|
|
5
|
-
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
|
-
import com.facebook.react.module.model.ReactModuleInfo
|
|
7
|
-
import com.facebook.react.module.model.ReactModuleInfoProvider
|
|
8
|
-
import java.util.HashMap
|
|
9
|
-
|
|
10
|
-
class ToothpicSdkPackage : BaseReactPackage() {
|
|
11
|
-
override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {
|
|
12
|
-
return if (name == ToothpicSdkModule.NAME) {
|
|
13
|
-
ToothpicSdkModule(reactContext)
|
|
14
|
-
} else {
|
|
15
|
-
null
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
override fun getReactModuleInfoProvider(): ReactModuleInfoProvider {
|
|
20
|
-
return ReactModuleInfoProvider {
|
|
21
|
-
val moduleInfos: MutableMap<String, ReactModuleInfo> = HashMap()
|
|
22
|
-
moduleInfos[ToothpicSdkModule.NAME] = ReactModuleInfo(
|
|
23
|
-
ToothpicSdkModule.NAME,
|
|
24
|
-
ToothpicSdkModule.NAME,
|
|
25
|
-
false, // canOverrideExistingModule
|
|
26
|
-
needsEagerInit = false, // needsEagerInit
|
|
27
|
-
isCxxModule = false, // isCxxModule
|
|
28
|
-
isTurboModule = true // isTurboModule
|
|
29
|
-
)
|
|
30
|
-
moduleInfos
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
package/ios/ToothpicSdk.h
DELETED
|
File without changes
|
package/ios/ToothpicSdk.mm
DELETED
|
File without changes
|