@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.
Files changed (163) hide show
  1. package/package.json +7 -1
  2. package/ToothpicSdk.podspec +0 -19
  3. package/android/build/.transforms/538a2b2e205ad2a79d9dcdb78df86994/results.bin +0 -1
  4. package/android/build/.transforms/538a2b2e205ad2a79d9dcdb78df86994/transformed/classes/classes_dex/classes.dex +0 -0
  5. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/results.bin +0 -1
  6. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/fbreact/specs/NativeToothpicSdkSpec.dex +0 -0
  7. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/BuildConfig.dex +0 -0
  8. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule$Companion.dex +0 -0
  9. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule$generateCredential$1.dex +0 -0
  10. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule$signWithCredential$1.dex +0 -0
  11. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkModule.dex +0 -0
  12. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/toothpicsdk/ToothpicSdkPackage.dex +0 -0
  13. package/android/build/.transforms/8fd44c972a2cf65a681897e3f87692ec/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  14. package/android/build/generated/source/buildConfig/debug/com/toothpicsdk/BuildConfig.java +0 -10
  15. package/android/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeToothpicSdkSpec.java +0 -75
  16. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -36
  17. package/android/build/generated/source/codegen/jni/ToothpicSdkSpec-generated.cpp +0 -82
  18. package/android/build/generated/source/codegen/jni/ToothpicSdkSpec.h +0 -31
  19. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ComponentDescriptors.cpp +0 -22
  20. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ComponentDescriptors.h +0 -24
  21. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/EventEmitters.cpp +0 -16
  22. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/EventEmitters.h +0 -17
  23. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/Props.cpp +0 -19
  24. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/Props.h +0 -18
  25. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ShadowNodes.cpp +0 -17
  26. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ShadowNodes.h +0 -23
  27. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/States.cpp +0 -16
  28. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/States.h +0 -19
  29. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ToothpicSdkSpecJSI-generated.cpp +0 -82
  30. package/android/build/generated/source/codegen/jni/react/renderer/components/ToothpicSdkSpec/ToothpicSdkSpecJSI.h +0 -149
  31. package/android/build/generated/source/codegen/schema.json +0 -1
  32. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  33. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  34. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  35. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  36. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  37. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  38. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  39. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  40. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  41. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  42. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  43. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  44. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-toothpic-sdk_debug.kotlin_module +0 -0
  45. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/fbreact/specs/NativeToothpicSdkSpec.class +0 -0
  46. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/toothpicsdk/BuildConfig.class +0 -0
  47. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  48. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  49. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  50. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  51. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  52. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-toothpic-sdk_debug.kotlin_module +0 -0
  53. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/fbreact/specs/NativeToothpicSdkSpec.class +0 -0
  54. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/BuildConfig.class +0 -0
  55. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule$Companion.class +0 -0
  56. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule$generateCredential$1.class +0 -0
  57. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule$signWithCredential$1.class +0 -0
  58. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkModule.class +0 -0
  59. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/toothpicsdk/ToothpicSdkPackage.class +0 -0
  60. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  61. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  62. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  150. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -16
  151. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  152. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-toothpic-sdk_debug.kotlin_module +0 -0
  153. package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule$Companion.class +0 -0
  154. package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule$generateCredential$1.class +0 -0
  155. package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule$signWithCredential$1.class +0 -0
  156. package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkModule.class +0 -0
  157. package/android/build/tmp/kotlin-classes/debug/com/toothpicsdk/ToothpicSdkPackage.class +0 -0
  158. package/android/build.gradle +0 -67
  159. package/android/src/main/AndroidManifest.xml +0 -2
  160. package/android/src/main/java/com/toothpicsdk/ToothpicSdkModule.kt +0 -58
  161. package/android/src/main/java/com/toothpicsdk/ToothpicSdkPackage.kt +0 -33
  162. package/ios/ToothpicSdk.h +0 -0
  163. package/ios/ToothpicSdk.mm +0 -0
@@ -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,2 +0,0 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
- </manifest>
@@ -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
File without changes