nimbbl-mobile-react-native-sdk 1.1.1 → 1.2.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 (177) hide show
  1. package/README.md +102 -66
  2. package/android/build.gradle +4 -4
  3. package/android/src/main/java/com/nimbbl/reactnative/NimbblCheckoutActivity.kt +55 -111
  4. package/android/src/main/java/com/nimbbl/reactnative/NimbblReactNativeSDKModule.kt +58 -157
  5. package/ios/NimbblReactNativeSDK.m +6 -2
  6. package/ios/NimbblReactNativeSDK.podspec +1 -1
  7. package/ios/NimbblReactNativeSDK.swift +29 -32
  8. package/lib/NimbblSDK.d.ts +11 -35
  9. package/lib/NimbblSDK.js +66 -103
  10. package/lib/constants.d.ts +6 -9
  11. package/lib/constants.js +8 -12
  12. package/lib/index.d.ts +3 -3
  13. package/lib/index.js +3 -4
  14. package/lib/types.d.ts +0 -80
  15. package/nimbbl-mobile-react-native-sdk.podspec +1 -1
  16. package/package.json +16 -3
  17. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/results.bin +0 -1
  18. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/BuildConfig.dex +0 -0
  19. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/NimbblCheckoutActivity$Companion.dex +0 -0
  20. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/NimbblCheckoutActivity.dex +0 -0
  21. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/NimbblReactNativeSDKModule$Companion.dex +0 -0
  22. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/NimbblReactNativeSDKModule$createShopOrder$orderResult$1.dex +0 -0
  23. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/NimbblReactNativeSDKModule.dex +0 -0
  24. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/NimbblReactNativeSDKPackage.dex +0 -0
  25. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/TestActivity$Companion.dex +0 -0
  26. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/nimbbl/reactnative/TestActivity.dex +0 -0
  27. package/android/build/.transforms/2a0cc55152835fcf4fba7a298d35d4c4/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  28. package/android/build/.transforms/b59c320b706dec67ea6e4de5e98939af/results.bin +0 -1
  29. package/android/build/.transforms/b59c320b706dec67ea6e4de5e98939af/transformed/classes/classes_dex/classes.dex +0 -0
  30. package/android/build/generated/source/buildConfig/debug/com/nimbbl/reactnative/BuildConfig.java +0 -10
  31. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -23
  32. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  33. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  34. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  35. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  36. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  37. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  38. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  39. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  40. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  41. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  42. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  43. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/nimbbl-mobile-react-native-sdk_debug.kotlin_module +0 -0
  44. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/nimbbl/reactnative/BuildConfig.class +0 -0
  45. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  46. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -36
  47. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -23
  48. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  49. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  50. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/nimbbl-mobile-react-native-sdk_debug.kotlin_module +0 -0
  51. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/BuildConfig.class +0 -0
  52. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/NimbblCheckoutActivity$Companion.class +0 -0
  53. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/NimbblCheckoutActivity.class +0 -0
  54. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/NimbblReactNativeSDKModule$Companion.class +0 -0
  55. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/NimbblReactNativeSDKModule$createShopOrder$orderResult$1.class +0 -0
  56. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/NimbblReactNativeSDKModule.class +0 -0
  57. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/NimbblReactNativeSDKPackage.class +0 -0
  58. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/TestActivity$Companion.class +0 -0
  59. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/nimbbl/reactnative/TestActivity.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 -42
  151. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  152. package/android/build/tmp/kotlin-classes/debug/META-INF/nimbbl-mobile-react-native-sdk_debug.kotlin_module +0 -0
  153. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/NimbblCheckoutActivity$Companion.class +0 -0
  154. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/NimbblCheckoutActivity.class +0 -0
  155. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/NimbblReactNativeSDKModule$Companion.class +0 -0
  156. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/NimbblReactNativeSDKModule$createShopOrder$orderResult$1.class +0 -0
  157. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/NimbblReactNativeSDKModule.class +0 -0
  158. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/NimbblReactNativeSDKPackage.class +0 -0
  159. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/TestActivity$Companion.class +0 -0
  160. package/android/build/tmp/kotlin-classes/debug/com/nimbbl/reactnative/TestActivity.class +0 -0
  161. package/android/src/main/java/com/nimbbl/reactnative/TestActivity.kt +0 -28
  162. package/lib/NimbblSDK.d.ts.map +0 -1
  163. package/lib/NimbblSDK.js.map +0 -1
  164. package/lib/__tests__/__mocks__/react-native.d.ts +0 -26
  165. package/lib/__tests__/__mocks__/react-native.d.ts.map +0 -1
  166. package/lib/__tests__/__mocks__/react-native.js +0 -23
  167. package/lib/__tests__/__mocks__/react-native.js.map +0 -1
  168. package/lib/__tests__/setup.d.ts +0 -1
  169. package/lib/__tests__/setup.d.ts.map +0 -1
  170. package/lib/__tests__/setup.js +0 -4
  171. package/lib/__tests__/setup.js.map +0 -1
  172. package/lib/constants.d.ts.map +0 -1
  173. package/lib/constants.js.map +0 -1
  174. package/lib/index.d.ts.map +0 -1
  175. package/lib/index.js.map +0 -1
  176. package/lib/types.d.ts.map +0 -1
  177. package/lib/types.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @fileoverview Main Nimbbl SDK for React Native
3
- * @version 1.0.0
3
+ * @version 1.2.0
4
4
  * @author Nimbbl Tech
5
5
  *
6
6
  * This is a wrapper around the native Android and iOS SDKs
@@ -17,30 +17,20 @@ export default class NimbblSDK {
17
17
  private isInitialized;
18
18
  private eventEmitter;
19
19
  private eventListeners;
20
- private eventSubscriptions;
21
20
  constructor();
22
21
  /**
23
22
  * Get shared instance (matching iOS pattern)
24
23
  */
25
24
  static getSharedInstance(): NimbblSDK;
26
- /**
27
- * Test native module availability
28
- */
29
- testNativeModule(): Promise<any>;
30
25
  /**
31
26
  * Initialize the SDK with configuration
32
- * @param config - SDK configuration object
27
+ * @param config - Optional SDK configuration object. If not provided, uses default configuration
33
28
  * @returns Promise resolving to initialization result
34
29
  */
35
- initialize(config: SDKConfig): Promise<{
30
+ initialize(config?: SDKConfig): Promise<{
36
31
  success: boolean;
37
32
  message: string;
38
33
  }>;
39
- /**
40
- * Set environment URL for the SDK
41
- * @param url - Environment URL to set
42
- */
43
- setEnvironmentUrl(url: string): void;
44
34
  /**
45
35
  * Create shop order (matching iOS SDK pattern)
46
36
  * @param currency - Currency code
@@ -72,33 +62,19 @@ export default class NimbblSDK {
72
62
  }): Promise<{
73
63
  success: boolean;
74
64
  message?: string;
65
+ data?: any;
75
66
  }>;
76
67
  /**
77
- * Add event listener for native events
78
- * @param eventName - Event name to listen for
79
- * @param listener - Event listener function
80
- */
81
- addEventListener(eventName: string, listener: (event: any) => void): void;
82
- /**
83
- * Remove event listener
84
- * @param eventName - Event name
85
- * @param listener - Event listener function to remove
86
- */
87
- removeEventListener(eventName: string, listener: (event: any) => void): void;
88
- /**
89
- * Remove all event listeners
90
- */
91
- removeAllEventListeners(): void;
92
- /**
93
- * Get SDK configuration
94
- * @returns Current SDK configuration
68
+ * Add unified checkout response listener (recommended approach)
69
+ * This method handles both success and failure cases in a single callback
70
+ * @param listener - Callback function that receives checkout response data
95
71
  */
96
- getConfig(): SDKConfig | null;
72
+ addCheckoutResponseListener(listener: (data: any) => void): void;
97
73
  /**
98
- * Get initialization status
99
- * @returns Whether the SDK is initialized
74
+ * Remove unified checkout response listener
75
+ * @param listener - Callback function to remove
100
76
  */
101
- isSDKInitialized(): boolean;
77
+ removeCheckoutResponseListener(listener: (data: any) => void): void;
102
78
  /**
103
79
  * Validate SDK configuration
104
80
  * @param config - Configuration to validate
package/lib/NimbblSDK.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @fileoverview Main Nimbbl SDK for React Native
4
- * @version 1.0.0
4
+ * @version 1.2.0
5
5
  * @author Nimbbl Tech
6
6
  *
7
7
  * This is a wrapper around the native Android and iOS SDKs
@@ -11,10 +11,6 @@ exports.nimbblSDK = void 0;
11
11
  const react_native_1 = require("react-native");
12
12
  const constants_1 = require("./constants");
13
13
  const { NimbblReactNativeSDK } = react_native_1.NativeModules;
14
- // Create event emitter for native events with null check
15
- const eventEmitter = NimbblReactNativeSDK
16
- ? new react_native_1.NativeEventEmitter(NimbblReactNativeSDK)
17
- : null;
18
14
  /**
19
15
  * Main Nimbbl SDK Class
20
16
  * Provides the primary interface for integrating Nimbbl payment functionality
@@ -23,13 +19,12 @@ const eventEmitter = NimbblReactNativeSDK
23
19
  class NimbblSDK {
24
20
  constructor() {
25
21
  this.eventListeners = new Map();
26
- this.eventSubscriptions = new Map();
27
22
  if (!NimbblReactNativeSDK) {
28
23
  throw new Error('NimbblReactNativeSDK native module is not available. Make sure you have properly linked the library.');
29
24
  }
30
25
  this.config = null;
31
26
  this.isInitialized = false;
32
- this.eventEmitter = eventEmitter;
27
+ this.eventEmitter = new react_native_1.NativeEventEmitter(NimbblReactNativeSDK);
33
28
  }
34
29
  /**
35
30
  * Get shared instance (matching iOS pattern)
@@ -40,34 +35,29 @@ class NimbblSDK {
40
35
  }
41
36
  return NimbblSDK.shared;
42
37
  }
43
- /**
44
- * Test native module availability
45
- */
46
- async testNativeModule() {
47
- if (!NimbblReactNativeSDK) {
48
- throw new Error('NimbblReactNativeSDK native module is not available');
49
- }
50
- const result = await NimbblReactNativeSDK.testModule();
51
- return result;
52
- }
53
38
  /**
54
39
  * Initialize the SDK with configuration
55
- * @param config - SDK configuration object
40
+ * @param config - Optional SDK configuration object. If not provided, uses default configuration
56
41
  * @returns Promise resolving to initialization result
57
42
  */
58
43
  async initialize(config) {
59
44
  try {
60
- // Validate configuration
61
- this.validateConfig(config);
45
+ // Use default configuration if no config provided
46
+ const finalConfig = config || constants_1.DEFAULT_CONFIG;
47
+ // Validate configuration if provided
48
+ if (config) {
49
+ this.validateConfig(config);
50
+ }
62
51
  // Merge with default configuration
63
52
  this.config = {
64
53
  ...constants_1.DEFAULT_CONFIG,
65
- ...config,
54
+ ...finalConfig,
66
55
  options: {
67
56
  timeout: constants_1.DEFAULT_CONFIG.timeout,
68
57
  enable_logging: constants_1.DEFAULT_CONFIG.enable_logging,
69
58
  enable_analytics: constants_1.DEFAULT_CONFIG.enable_analytics,
70
- ...config.options,
59
+ api_base_url: constants_1.DEFAULT_CONFIG.api_base_url,
60
+ ...(finalConfig && 'options' in finalConfig ? finalConfig.options : {}),
71
61
  },
72
62
  };
73
63
  // Initialize native module
@@ -78,25 +68,9 @@ class NimbblSDK {
78
68
  return result;
79
69
  }
80
70
  catch (error) {
81
- console.error('SDK initialization failed:', error);
82
71
  throw error;
83
72
  }
84
73
  }
85
- /**
86
- * Set environment URL for the SDK
87
- * @param url - Environment URL to set
88
- */
89
- setEnvironmentUrl(url) {
90
- if (!this.isInitialized) {
91
- throw new Error(constants_1.ERROR_MESSAGES[constants_1.ERROR_CODES.SDK_NOT_INITIALIZED]);
92
- }
93
- if (this.config) {
94
- this.config.options = {
95
- ...this.config.options,
96
- api_base_url: url,
97
- };
98
- }
99
- }
100
74
  /**
101
75
  * Create shop order (matching iOS SDK pattern)
102
76
  * @param currency - Currency code
@@ -129,7 +103,6 @@ class NimbblSDK {
129
103
  return { success: true, data: response };
130
104
  }
131
105
  catch (error) {
132
- console.error('Error creating shop order:', error);
133
106
  return { success: false, error };
134
107
  }
135
108
  }
@@ -150,11 +123,46 @@ class NimbblSDK {
150
123
  wallet_code: options.walletCode || '',
151
124
  payment_flow: options.paymentFlow || '',
152
125
  };
153
- await NimbblReactNativeSDK.checkout(checkoutPayload);
154
- return { success: true, message: 'Checkout initiated successfully' };
126
+ // Use a more reliable callback-based approach for production builds
127
+ return new Promise((resolve) => {
128
+ // Set up a timeout to handle cases where the callback never comes
129
+ const timeout = setTimeout(() => {
130
+ resolve({
131
+ success: false,
132
+ message: 'Payment timeout - no response received',
133
+ });
134
+ }, 300000); // 5 minutes timeout
135
+ // Store the resolve function for the native module to call
136
+ NimbblReactNativeSDK.setCheckoutCallback((result) => {
137
+ var _a;
138
+ clearTimeout(timeout);
139
+ const status = (_a = result === null || result === void 0 ? void 0 : result.status) === null || _a === void 0 ? void 0 : _a.toLowerCase();
140
+ if (status === 'success' || status === 'completed') {
141
+ resolve({ success: true, message: 'Payment completed successfully', data: result });
142
+ }
143
+ else {
144
+ resolve({
145
+ success: false,
146
+ message: (result === null || result === void 0 ? void 0 : result.message) || 'Payment failed',
147
+ data: result,
148
+ });
149
+ }
150
+ });
151
+ // Start the checkout process
152
+ NimbblReactNativeSDK.checkout(checkoutPayload)
153
+ .then(() => {
154
+ // Native checkout initiated successfully
155
+ })
156
+ .catch((error) => {
157
+ clearTimeout(timeout);
158
+ resolve({
159
+ success: false,
160
+ message: error.message || 'Failed to initiate native checkout',
161
+ });
162
+ });
163
+ });
155
164
  }
156
165
  catch (error) {
157
- console.error('Error during checkout:', error);
158
166
  return {
159
167
  success: false,
160
168
  message: error instanceof Error ? error.message : 'Checkout failed',
@@ -162,79 +170,34 @@ class NimbblSDK {
162
170
  }
163
171
  }
164
172
  /**
165
- * Add event listener for native events
166
- * @param eventName - Event name to listen for
167
- * @param listener - Event listener function
173
+ * Add unified checkout response listener (recommended approach)
174
+ * This method handles both success and failure cases in a single callback
175
+ * @param listener - Callback function that receives checkout response data
168
176
  */
169
- addEventListener(eventName, listener) {
170
- if (!this.eventEmitter) {
171
- console.warn(`Event emitter is not initialized. Cannot add listener for event: ${eventName}`);
172
- return;
177
+ addCheckoutResponseListener(listener) {
178
+ if (!this.eventListeners.has('checkout_response')) {
179
+ this.eventListeners.set('checkout_response', []);
173
180
  }
174
- if (!this.eventListeners.has(eventName)) {
175
- this.eventListeners.set(eventName, []);
176
- this.eventSubscriptions.set(eventName, []);
181
+ this.eventListeners.get('checkout_response').push(listener);
182
+ if (this.eventEmitter) {
183
+ this.eventEmitter.addListener('checkout_response', listener);
177
184
  }
178
- this.eventListeners.get(eventName).push(listener);
179
- // Add native event listener and track subscription
180
- const subscription = this.eventEmitter.addListener(eventName, listener);
181
- this.eventSubscriptions.get(eventName).push(subscription);
182
185
  }
183
186
  /**
184
- * Remove event listener
185
- * @param eventName - Event name
186
- * @param listener - Event listener function to remove
187
+ * Remove unified checkout response listener
188
+ * @param listener - Callback function to remove
187
189
  */
188
- removeEventListener(eventName, listener) {
189
- if (!this.eventEmitter) {
190
- console.warn(`Event emitter is not initialized. Cannot remove listener for event: ${eventName}`);
191
- return;
192
- }
193
- const listeners = this.eventListeners.get(eventName);
194
- const subscriptions = this.eventSubscriptions.get(eventName);
195
- if (listeners && subscriptions) {
190
+ removeCheckoutResponseListener(listener) {
191
+ const listeners = this.eventListeners.get('checkout_response');
192
+ if (listeners) {
196
193
  const index = listeners.indexOf(listener);
197
194
  if (index > -1) {
198
195
  listeners.splice(index, 1);
199
- // Remove the corresponding subscription
200
- const subscription = subscriptions[index];
201
- if (subscription) {
202
- subscription.remove();
203
- subscriptions.splice(index, 1);
204
- }
205
196
  }
206
197
  }
207
- }
208
- /**
209
- * Remove all event listeners
210
- */
211
- removeAllEventListeners() {
212
- if (!this.eventEmitter) {
213
- console.warn('Event emitter is not initialized. Cannot remove all listeners.');
214
- return;
198
+ if (this.eventEmitter) {
199
+ this.eventEmitter.removeAllListeners('checkout_response');
215
200
  }
216
- // Remove all subscriptions
217
- this.eventSubscriptions.forEach((subscriptions) => {
218
- subscriptions.forEach((subscription) => {
219
- subscription.remove();
220
- });
221
- });
222
- this.eventListeners.clear();
223
- this.eventSubscriptions.clear();
224
- }
225
- /**
226
- * Get SDK configuration
227
- * @returns Current SDK configuration
228
- */
229
- getConfig() {
230
- return this.config;
231
- }
232
- /**
233
- * Get initialization status
234
- * @returns Whether the SDK is initialized
235
- */
236
- isSDKInitialized() {
237
- return this.isInitialized;
238
201
  }
239
202
  /**
240
203
  * Validate SDK configuration
@@ -1,12 +1,8 @@
1
1
  /**
2
2
  * @fileoverview Constants for Nimbbl React Native SDK
3
- * @version 1.0.0
3
+ * @version 1.2.0
4
4
  * @author Nimbbl Tech
5
5
  */
6
- export declare const EVENTS: {
7
- readonly PAYMENT_SUCCESS: "payment_success";
8
- readonly PAYMENT_FAILED: "payment_failed";
9
- };
10
6
  export declare const ENVIRONMENTS: {
11
7
  readonly SANDBOX: "sandbox";
12
8
  readonly PRODUCTION: "production";
@@ -14,18 +10,19 @@ export declare const ENVIRONMENTS: {
14
10
  export declare const ERROR_CODES: {
15
11
  readonly SDK_NOT_INITIALIZED: "SDK_NOT_INITIALIZED";
16
12
  readonly INVALID_CONFIG: "INVALID_CONFIG";
17
- readonly PAYMENT_FAILED: "PAYMENT_FAILED";
18
13
  };
19
14
  export declare const ERROR_MESSAGES: {
20
15
  readonly SDK_NOT_INITIALIZED: "SDK is not initialized. Call initialize() first.";
21
16
  readonly INVALID_CONFIG: "Invalid SDK configuration provided.";
22
- readonly PAYMENT_FAILED: "Payment processing failed.";
17
+ };
18
+ export declare const EVENTS: {
19
+ readonly CHECKOUT_RESPONSE: "checkout_response";
23
20
  };
24
21
  export declare const DEFAULT_CONFIG: {
22
+ readonly environment: "production";
25
23
  readonly timeout: 30000;
26
- readonly enable_logging: true;
24
+ readonly enable_logging: false;
27
25
  readonly enable_analytics: true;
28
26
  readonly api_base_url: "https://api.nimbbl.tech";
29
27
  };
30
- export declare const SDK_VERSION = "1.0.0-alpha";
31
28
  //# sourceMappingURL=constants.d.ts.map
package/lib/constants.js CHANGED
@@ -1,16 +1,11 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @fileoverview Constants for Nimbbl React Native SDK
4
- * @version 1.0.0
4
+ * @version 1.2.0
5
5
  * @author Nimbbl Tech
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.SDK_VERSION = exports.DEFAULT_CONFIG = exports.ERROR_MESSAGES = exports.ERROR_CODES = exports.ENVIRONMENTS = exports.EVENTS = void 0;
9
- // MARK: - SDK Events
10
- exports.EVENTS = {
11
- PAYMENT_SUCCESS: 'payment_success',
12
- PAYMENT_FAILED: 'payment_failed',
13
- };
8
+ exports.DEFAULT_CONFIG = exports.EVENTS = exports.ERROR_MESSAGES = exports.ERROR_CODES = exports.ENVIRONMENTS = void 0;
14
9
  // MARK: - SDK Environments
15
10
  exports.ENVIRONMENTS = {
16
11
  SANDBOX: 'sandbox',
@@ -20,21 +15,22 @@ exports.ENVIRONMENTS = {
20
15
  exports.ERROR_CODES = {
21
16
  SDK_NOT_INITIALIZED: 'SDK_NOT_INITIALIZED',
22
17
  INVALID_CONFIG: 'INVALID_CONFIG',
23
- PAYMENT_FAILED: 'PAYMENT_FAILED',
24
18
  };
25
19
  // MARK: - Error Messages
26
20
  exports.ERROR_MESSAGES = {
27
21
  [exports.ERROR_CODES.SDK_NOT_INITIALIZED]: 'SDK is not initialized. Call initialize() first.',
28
22
  [exports.ERROR_CODES.INVALID_CONFIG]: 'Invalid SDK configuration provided.',
29
- [exports.ERROR_CODES.PAYMENT_FAILED]: 'Payment processing failed.',
23
+ };
24
+ // MARK: - Events
25
+ exports.EVENTS = {
26
+ CHECKOUT_RESPONSE: 'checkout_response',
30
27
  };
31
28
  // MARK: - Default Configuration
32
29
  exports.DEFAULT_CONFIG = {
30
+ environment: exports.ENVIRONMENTS.PRODUCTION,
33
31
  timeout: 30000,
34
- enable_logging: true,
32
+ enable_logging: false,
35
33
  enable_analytics: true,
36
34
  api_base_url: 'https://api.nimbbl.tech',
37
35
  };
38
- // MARK: - SDK Version
39
- exports.SDK_VERSION = '1.0.0-alpha';
40
36
  //# sourceMappingURL=constants.js.map
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @fileoverview Main entry point for Nimbbl React Native SDK
3
- * @version 1.0.0
3
+ * @version 1.2.0
4
4
  * @author Nimbbl Tech
5
5
  *
6
6
  * This SDK is a wrapper around the native Android and iOS SDKs
@@ -8,7 +8,7 @@
8
8
  */
9
9
  export { default as NimbblSDK } from './NimbblSDK';
10
10
  export { nimbblSDK } from './NimbblSDK';
11
- export type { SDKConfig, OrderData, OrderResponse, CustomerDetails, OrderDetails, PaymentOptions, } from './types';
12
- export { EVENTS, ENVIRONMENTS, ERROR_CODES, ERROR_MESSAGES, DEFAULT_CONFIG, SDK_VERSION, } from './constants';
11
+ export type { SDKConfig, } from './types';
12
+ export { ENVIRONMENTS, ERROR_CODES, ERROR_MESSAGES, DEFAULT_CONFIG, EVENTS, } from './constants';
13
13
  export { default } from './NimbblSDK';
14
14
  //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @fileoverview Main entry point for Nimbbl React Native SDK
4
- * @version 1.0.0
4
+ * @version 1.2.0
5
5
  * @author Nimbbl Tech
6
6
  *
7
7
  * This SDK is a wrapper around the native Android and iOS SDKs
@@ -11,7 +11,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
11
11
  return (mod && mod.__esModule) ? mod : { "default": mod };
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.default = exports.SDK_VERSION = exports.DEFAULT_CONFIG = exports.ERROR_MESSAGES = exports.ERROR_CODES = exports.ENVIRONMENTS = exports.EVENTS = exports.nimbblSDK = exports.NimbblSDK = void 0;
14
+ exports.default = exports.EVENTS = exports.DEFAULT_CONFIG = exports.ERROR_MESSAGES = exports.ERROR_CODES = exports.ENVIRONMENTS = exports.nimbblSDK = exports.NimbblSDK = void 0;
15
15
  // Main SDK class
16
16
  var NimbblSDK_1 = require("./NimbblSDK");
17
17
  Object.defineProperty(exports, "NimbblSDK", { enumerable: true, get: function () { return __importDefault(NimbblSDK_1).default; } });
@@ -20,12 +20,11 @@ var NimbblSDK_2 = require("./NimbblSDK");
20
20
  Object.defineProperty(exports, "nimbblSDK", { enumerable: true, get: function () { return NimbblSDK_2.nimbblSDK; } });
21
21
  // Constants
22
22
  var constants_1 = require("./constants");
23
- Object.defineProperty(exports, "EVENTS", { enumerable: true, get: function () { return constants_1.EVENTS; } });
24
23
  Object.defineProperty(exports, "ENVIRONMENTS", { enumerable: true, get: function () { return constants_1.ENVIRONMENTS; } });
25
24
  Object.defineProperty(exports, "ERROR_CODES", { enumerable: true, get: function () { return constants_1.ERROR_CODES; } });
26
25
  Object.defineProperty(exports, "ERROR_MESSAGES", { enumerable: true, get: function () { return constants_1.ERROR_MESSAGES; } });
27
26
  Object.defineProperty(exports, "DEFAULT_CONFIG", { enumerable: true, get: function () { return constants_1.DEFAULT_CONFIG; } });
28
- Object.defineProperty(exports, "SDK_VERSION", { enumerable: true, get: function () { return constants_1.SDK_VERSION; } });
27
+ Object.defineProperty(exports, "EVENTS", { enumerable: true, get: function () { return constants_1.EVENTS; } });
29
28
  // Default export
30
29
  var NimbblSDK_3 = require("./NimbblSDK");
31
30
  Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(NimbblSDK_3).default; } });
package/lib/types.d.ts CHANGED
@@ -17,84 +17,4 @@ export interface SDKConfig {
17
17
  api_base_url?: string;
18
18
  };
19
19
  }
20
- /**
21
- * Order data for creating payments
22
- */
23
- export interface OrderData {
24
- /** Order amount in smallest currency unit */
25
- amount: number;
26
- /** Currency code (e.g., 'INR', 'USD') */
27
- currency: string;
28
- /** Unique order identifier (optional) */
29
- order_id?: string;
30
- /** Customer information */
31
- customer_details: CustomerDetails;
32
- /** Order details */
33
- order_details?: OrderDetails;
34
- /** Allowed payment methods */
35
- payment_methods?: string[];
36
- }
37
- /**
38
- * Customer details for payment
39
- */
40
- export interface CustomerDetails {
41
- /** Customer name */
42
- name: string;
43
- /** Customer email address */
44
- email: string;
45
- /** Customer phone number */
46
- phone: string;
47
- }
48
- /**
49
- * Order details
50
- */
51
- export interface OrderDetails {
52
- /** Order title/name */
53
- title: string;
54
- /** Order description */
55
- description: string;
56
- }
57
- /**
58
- * Order response from API
59
- */
60
- export interface OrderResponse {
61
- /** Order ID */
62
- order_id: string;
63
- /** Order token for payment */
64
- token: string;
65
- /** Order status */
66
- status: string;
67
- /** Order amount */
68
- amount: number;
69
- /** Currency code */
70
- currency: string;
71
- }
72
- /**
73
- * Payment options for processing
74
- */
75
- export interface PaymentOptions {
76
- /** Payment mode code */
77
- payment_mode_code?: string;
78
- /** Bank code for banking payments */
79
- bank_code?: string;
80
- /** Wallet code for wallet payments */
81
- wallet_code?: string;
82
- /** Payment flow type */
83
- payment_flow?: string;
84
- /** Additional payment parameters */
85
- additional_params?: Record<string, any>;
86
- }
87
- /**
88
- * Payment response from API
89
- */
90
- export interface PaymentResponse {
91
- /** Payment status */
92
- status: string;
93
- /** Payment ID */
94
- payment_id?: string;
95
- /** Transaction ID */
96
- transaction_id?: string;
97
- /** Error message if payment failed */
98
- error?: string;
99
- }
100
20
  //# sourceMappingURL=types.d.ts.map
@@ -23,5 +23,5 @@ Pod::Spec.new do |s|
23
23
  s.swift_version = "5.0"
24
24
 
25
25
  # Nimbbl iOS SDK dependency
26
- s.dependency "nimbbl_mobile_kit_ios_webview_sdk", "~> 1.0.12"
26
+ s.dependency "nimbbl_mobile_kit_ios_webview_sdk", "~> 2.0.4"
27
27
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nimbbl-mobile-react-native-sdk",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Nimbbl React Native SDK for payment integration",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -75,8 +75,21 @@
75
75
  },
76
76
  "dependencies": {},
77
77
  "files": [
78
- "lib",
79
- "android",
78
+ "lib/constants.js",
79
+ "lib/constants.d.ts",
80
+ "lib/index.js",
81
+ "lib/index.d.ts",
82
+ "lib/NimbblSDK.js",
83
+ "lib/NimbblSDK.d.ts",
84
+ "lib/types.js",
85
+ "lib/types.d.ts",
86
+ "android/src",
87
+ "android/build.gradle",
88
+ "android/gradle.properties",
89
+ "android/settings.gradle",
90
+ "android/gradlew",
91
+ "android/gradlew.bat",
92
+ "android/gradle/wrapper",
80
93
  "ios",
81
94
  "index.tsx",
82
95
  "nimbbl-mobile-react-native-sdk.podspec",
@@ -1 +0,0 @@
1
- o/bundleLibRuntimeToDirDebug
@@ -1,10 +0,0 @@
1
- /**
2
- * Automatically generated file. DO NOT MODIFY
3
- */
4
- package com.nimbbl.reactnative;
5
-
6
- public final class BuildConfig {
7
- public static final boolean DEBUG = Boolean.parseBoolean("true");
8
- public static final String LIBRARY_PACKAGE_NAME = "com.nimbbl.reactnative";
9
- public static final String BUILD_TYPE = "debug";
10
- }