@doorstepai/dropoff-sdk 2.2.10 → 3.0.0-rc.1

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 (437) hide show
  1. package/DropoffSdk.podspec +10 -31
  2. package/android/build.gradle +42 -54
  3. package/android/gradle.properties +3 -4
  4. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module +106 -0
  5. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc +7 -0
  6. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.md5 +1 -0
  7. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.sha1 +1 -0
  8. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.sha256 +1 -0
  9. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.sha512 +1 -0
  10. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.md5 +1 -0
  11. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.sha1 +1 -0
  12. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.sha256 +1 -0
  13. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.sha512 +1 -0
  14. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom +46 -0
  15. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc +7 -0
  16. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.md5 +1 -0
  17. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.sha1 +1 -0
  18. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.sha256 +1 -0
  19. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.sha512 +1 -0
  20. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.md5 +1 -0
  21. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.sha1 +1 -0
  22. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.sha256 +1 -0
  23. package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.sha512 +1 -0
  24. package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml +13 -0
  25. package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.md5 +1 -0
  26. package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.sha1 +1 -0
  27. package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.sha256 +1 -0
  28. package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.sha512 +1 -0
  29. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar +0 -0
  30. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc +7 -0
  31. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.md5 +1 -0
  32. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.sha1 +1 -0
  33. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.sha256 +1 -0
  34. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.sha512 +1 -0
  35. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.md5 +1 -0
  36. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.sha1 +1 -0
  37. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.sha256 +1 -0
  38. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.sha512 +1 -0
  39. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module +146 -0
  40. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc +7 -0
  41. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.md5 +1 -0
  42. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.sha1 +1 -0
  43. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.sha256 +1 -0
  44. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.sha512 +1 -0
  45. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.md5 +1 -0
  46. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.sha1 +1 -0
  47. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.sha256 +1 -0
  48. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.sha512 +1 -0
  49. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom +79 -0
  50. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc +7 -0
  51. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.md5 +1 -0
  52. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.sha1 +1 -0
  53. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.sha256 +1 -0
  54. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.sha512 +1 -0
  55. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.md5 +1 -0
  56. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.sha1 +1 -0
  57. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.sha256 +1 -0
  58. package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.sha512 +1 -0
  59. package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml +13 -0
  60. package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.md5 +1 -0
  61. package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.sha1 +1 -0
  62. package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.sha256 +1 -0
  63. package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.sha512 +1 -0
  64. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar +0 -0
  65. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc +7 -0
  66. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.md5 +1 -0
  67. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.sha1 +1 -0
  68. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.sha256 +1 -0
  69. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.sha512 +1 -0
  70. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.md5 +1 -0
  71. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.sha1 +1 -0
  72. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.sha256 +1 -0
  73. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.sha512 +1 -0
  74. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module +104 -0
  75. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc +7 -0
  76. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.md5 +1 -0
  77. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.sha1 +1 -0
  78. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.sha256 +1 -0
  79. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.sha512 +1 -0
  80. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.md5 +1 -0
  81. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.sha1 +1 -0
  82. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.sha256 +1 -0
  83. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.sha512 +1 -0
  84. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom +39 -0
  85. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc +7 -0
  86. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.md5 +1 -0
  87. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.sha1 +1 -0
  88. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.sha256 +1 -0
  89. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.sha512 +1 -0
  90. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.md5 +1 -0
  91. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.sha1 +1 -0
  92. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.sha256 +1 -0
  93. package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.sha512 +1 -0
  94. package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml +13 -0
  95. package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.md5 +1 -0
  96. package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.sha1 +1 -0
  97. package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.sha256 +1 -0
  98. package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.sha512 +1 -0
  99. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar +0 -0
  100. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc +7 -0
  101. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.md5 +1 -0
  102. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.sha1 +1 -0
  103. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.sha256 +1 -0
  104. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.sha512 +1 -0
  105. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.md5 +1 -0
  106. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.sha1 +1 -0
  107. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.sha256 +1 -0
  108. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.sha512 +1 -0
  109. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module +104 -0
  110. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc +7 -0
  111. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.md5 +1 -0
  112. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.sha1 +1 -0
  113. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.sha256 +1 -0
  114. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.sha512 +1 -0
  115. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.md5 +1 -0
  116. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.sha1 +1 -0
  117. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.sha256 +1 -0
  118. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.sha512 +1 -0
  119. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom +39 -0
  120. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc +7 -0
  121. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.md5 +1 -0
  122. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.sha1 +1 -0
  123. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.sha256 +1 -0
  124. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.sha512 +1 -0
  125. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.md5 +1 -0
  126. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.sha1 +1 -0
  127. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.sha256 +1 -0
  128. package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.sha512 +1 -0
  129. package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml +13 -0
  130. package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.md5 +1 -0
  131. package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.sha1 +1 -0
  132. package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.sha256 +1 -0
  133. package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.sha512 +1 -0
  134. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar +0 -0
  135. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc +7 -0
  136. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.md5 +1 -0
  137. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.sha1 +1 -0
  138. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.sha256 +1 -0
  139. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.sha512 +1 -0
  140. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.md5 +1 -0
  141. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.sha1 +1 -0
  142. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.sha256 +1 -0
  143. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.sha512 +1 -0
  144. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module +146 -0
  145. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc +7 -0
  146. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.md5 +1 -0
  147. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.sha1 +1 -0
  148. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.sha256 +1 -0
  149. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.sha512 +1 -0
  150. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.md5 +1 -0
  151. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.sha1 +1 -0
  152. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.sha256 +1 -0
  153. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.sha512 +1 -0
  154. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom +59 -0
  155. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc +7 -0
  156. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.md5 +1 -0
  157. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.sha1 +1 -0
  158. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.sha256 +1 -0
  159. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.sha512 +1 -0
  160. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.md5 +1 -0
  161. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.sha1 +1 -0
  162. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.sha256 +1 -0
  163. package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.sha512 +1 -0
  164. package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml +13 -0
  165. package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.md5 +1 -0
  166. package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.sha1 +1 -0
  167. package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.sha256 +1 -0
  168. package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.sha512 +1 -0
  169. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar +0 -0
  170. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc +7 -0
  171. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.md5 +1 -0
  172. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.sha1 +1 -0
  173. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.sha256 +1 -0
  174. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.sha512 +1 -0
  175. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.md5 +1 -0
  176. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.sha1 +1 -0
  177. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.sha256 +1 -0
  178. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.sha512 +1 -0
  179. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module +188 -0
  180. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc +7 -0
  181. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.md5 +1 -0
  182. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.sha1 +1 -0
  183. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.sha256 +1 -0
  184. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.sha512 +1 -0
  185. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.md5 +1 -0
  186. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.sha1 +1 -0
  187. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.sha256 +1 -0
  188. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.sha512 +1 -0
  189. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom +99 -0
  190. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc +7 -0
  191. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.md5 +1 -0
  192. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.sha1 +1 -0
  193. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.sha256 +1 -0
  194. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.sha512 +1 -0
  195. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.md5 +1 -0
  196. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.sha1 +1 -0
  197. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.sha256 +1 -0
  198. package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.sha512 +1 -0
  199. package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml +13 -0
  200. package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.md5 +1 -0
  201. package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.sha1 +1 -0
  202. package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.sha256 +1 -0
  203. package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.sha512 +1 -0
  204. package/android/src/main/AndroidManifest.xml +14 -2
  205. package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNAutoStartProvider.kt +24 -0
  206. package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNCore.kt +271 -0
  207. package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNEmbedView.kt +135 -0
  208. package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNEmbedViewManager.kt +61 -0
  209. package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNMap.kt +272 -0
  210. package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNPermissions.kt +67 -0
  211. package/android/src/main/java/ai/doorstep/reactnative/DoorstepReactNative.kt +17 -0
  212. package/android/src/main/java/ai/doorstep/reactnative/DoorstepReactNativeModule.kt +219 -0
  213. package/android/src/main/java/ai/doorstep/reactnative/DoorstepReactNativePackage.kt +21 -0
  214. package/ios/DoorstepRNAutoStart.m +32 -0
  215. package/ios/DoorstepRNCore.swift +302 -0
  216. package/ios/DoorstepRNEmbedHost.swift +110 -0
  217. package/ios/DoorstepRNEmbedView.h +8 -0
  218. package/ios/DoorstepRNEmbedView.mm +94 -0
  219. package/ios/DoorstepRNMap.swift +308 -0
  220. package/ios/DoorstepRNModuleImpl.swift +159 -0
  221. package/ios/DoorstepReactNative.h +12 -0
  222. package/ios/DoorstepReactNative.mm +118 -0
  223. package/ios/{DoorstepDropoffSDK.xcframework → Frameworks/DoorstepCore.xcframework}/Info.plist +9 -13
  224. package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeDirectory +0 -0
  225. package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeRequirements +0 -0
  226. package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeResources +285 -0
  227. package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeSignature +0 -0
  228. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/DoorstepCore +0 -0
  229. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Headers/DoorstepCore-Swift.h +382 -0
  230. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Headers/DoorstepCore.h +2 -0
  231. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Headers/DoorstepCoreBootstrap.h +16 -0
  232. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Info.plist +0 -0
  233. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Modules/DoorstepCore.swiftmodule/arm64-apple-ios.swiftinterface +279 -0
  234. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Modules/module.modulemap +10 -0
  235. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/PrivacyInfo.xcprivacy +41 -0
  236. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/DoorstepCore +0 -0
  237. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Headers/DoorstepCore-Swift.h +760 -0
  238. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Headers/DoorstepCore.h +2 -0
  239. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Headers/DoorstepCoreBootstrap.h +16 -0
  240. package/ios/{DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework → Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework}/Info.plist +0 -0
  241. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Modules/DoorstepCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +279 -0
  242. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Modules/DoorstepCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +279 -0
  243. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Modules/module.modulemap +10 -0
  244. package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/PrivacyInfo.xcprivacy +41 -0
  245. package/ios/Frameworks/DoorstepEmbed.xcframework/Info.plist +44 -0
  246. package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeDirectory +0 -0
  247. package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeRequirements +0 -0
  248. package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeResources +241 -0
  249. package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeSignature +0 -0
  250. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/DoorstepEmbed +0 -0
  251. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Headers/DoorstepEmbed-Swift.h +382 -0
  252. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Info.plist +0 -0
  253. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Modules/DoorstepEmbed.swiftmodule/arm64-apple-ios.swiftinterface +93 -0
  254. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Modules/module.modulemap +3 -0
  255. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/PrivacyInfo.xcprivacy +25 -0
  256. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/DoorstepEmbed +0 -0
  257. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Headers/DoorstepEmbed-Swift.h +760 -0
  258. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Info.plist +0 -0
  259. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Modules/DoorstepEmbed.swiftmodule/arm64-apple-ios-simulator.swiftinterface +93 -0
  260. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Modules/DoorstepEmbed.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +93 -0
  261. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Modules/module.modulemap +3 -0
  262. package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/PrivacyInfo.xcprivacy +25 -0
  263. package/ios/Frameworks/DoorstepPermissions.xcframework/Info.plist +44 -0
  264. package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeDirectory +0 -0
  265. package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeRequirements +0 -0
  266. package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeResources +241 -0
  267. package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeSignature +0 -0
  268. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/DoorstepPermissions +0 -0
  269. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/Headers/DoorstepPermissions-Swift.h +382 -0
  270. package/ios/{DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework → Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework}/Info.plist +0 -0
  271. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/Modules/DoorstepPermissions.swiftmodule/arm64-apple-ios.swiftinterface +151 -0
  272. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/Modules/module.modulemap +3 -0
  273. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/PrivacyInfo.xcprivacy +17 -0
  274. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/DoorstepPermissions +0 -0
  275. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Headers/DoorstepPermissions-Swift.h +760 -0
  276. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Info.plist +0 -0
  277. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Modules/DoorstepPermissions.swiftmodule/arm64-apple-ios-simulator.swiftinterface +151 -0
  278. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Modules/DoorstepPermissions.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +151 -0
  279. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Modules/module.modulemap +3 -0
  280. package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/PrivacyInfo.xcprivacy +17 -0
  281. package/ios/Frameworks/DoorstepRealTime.xcframework/Info.plist +44 -0
  282. package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeDirectory +0 -0
  283. package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeRequirements +0 -0
  284. package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeResources +241 -0
  285. package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeSignature +0 -0
  286. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/DoorstepRealTime +0 -0
  287. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Headers/DoorstepRealTime-Swift.h +382 -0
  288. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Info.plist +0 -0
  289. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Modules/DoorstepRealTime.swiftmodule/arm64-apple-ios.swiftinterface +906 -0
  290. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Modules/module.modulemap +3 -0
  291. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/PrivacyInfo.xcprivacy +33 -0
  292. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/DoorstepRealTime +0 -0
  293. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Headers/DoorstepRealTime-Swift.h +760 -0
  294. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Info.plist +0 -0
  295. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Modules/DoorstepRealTime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +906 -0
  296. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Modules/DoorstepRealTime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +906 -0
  297. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Modules/module.modulemap +3 -0
  298. package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/PrivacyInfo.xcprivacy +33 -0
  299. package/ios/Frameworks/DoorstepRoute.xcframework/Info.plist +44 -0
  300. package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeDirectory +0 -0
  301. package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeRequirements +0 -0
  302. package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeResources +285 -0
  303. package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeSignature +0 -0
  304. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/DoorstepRoute +0 -0
  305. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Headers/DoorstepRoute-Swift.h +382 -0
  306. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Headers/DoorstepRoute.h +2 -0
  307. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Headers/DoorstepRouteBootstrap.h +19 -0
  308. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Info.plist +0 -0
  309. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Modules/DoorstepRoute.swiftmodule/arm64-apple-ios.swiftinterface +259 -0
  310. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Modules/module.modulemap +10 -0
  311. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/PrivacyInfo.xcprivacy +33 -0
  312. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/DoorstepRoute +0 -0
  313. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Headers/DoorstepRoute-Swift.h +760 -0
  314. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Headers/DoorstepRoute.h +2 -0
  315. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Headers/DoorstepRouteBootstrap.h +19 -0
  316. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Info.plist +0 -0
  317. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Modules/DoorstepRoute.swiftmodule/arm64-apple-ios-simulator.swiftinterface +259 -0
  318. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Modules/DoorstepRoute.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +259 -0
  319. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Modules/module.modulemap +10 -0
  320. package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/PrivacyInfo.xcprivacy +33 -0
  321. package/lib/module/DoorstepEmbedViewNativeComponent.ts +51 -0
  322. package/lib/module/NativeDoorstep.ts +56 -0
  323. package/lib/module/compat.js +226 -0
  324. package/lib/module/compat.js.map +1 -0
  325. package/lib/module/doorstep.js +100 -0
  326. package/lib/module/doorstep.js.map +1 -0
  327. package/lib/module/embed.js +138 -0
  328. package/lib/module/embed.js.map +1 -0
  329. package/lib/module/index.js +16 -4
  330. package/lib/module/index.js.map +1 -1
  331. package/lib/module/internal.js +72 -0
  332. package/lib/module/internal.js.map +1 -0
  333. package/lib/module/permissions.js +78 -0
  334. package/lib/module/permissions.js.map +1 -0
  335. package/lib/module/realtime.js +86 -0
  336. package/lib/module/realtime.js.map +1 -0
  337. package/lib/module/route.js +57 -0
  338. package/lib/module/route.js.map +1 -0
  339. package/lib/module/types.js +4 -0
  340. package/lib/module/types.js.map +1 -0
  341. package/lib/typescript/src/DoorstepEmbedViewNativeComponent.d.ts +50 -0
  342. package/lib/typescript/src/DoorstepEmbedViewNativeComponent.d.ts.map +1 -0
  343. package/lib/typescript/src/NativeDoorstep.d.ts +36 -0
  344. package/lib/typescript/src/NativeDoorstep.d.ts.map +1 -0
  345. package/lib/typescript/src/compat.d.ts +77 -0
  346. package/lib/typescript/src/compat.d.ts.map +1 -0
  347. package/lib/typescript/src/doorstep.d.ts +3 -0
  348. package/lib/typescript/src/doorstep.d.ts.map +1 -0
  349. package/lib/typescript/src/embed.d.ts +5 -0
  350. package/lib/typescript/src/embed.d.ts.map +1 -0
  351. package/lib/typescript/src/index.d.ts +11 -6
  352. package/lib/typescript/src/index.d.ts.map +1 -1
  353. package/lib/typescript/src/internal.d.ts +20 -0
  354. package/lib/typescript/src/internal.d.ts.map +1 -0
  355. package/lib/typescript/src/permissions.d.ts +3 -0
  356. package/lib/typescript/src/permissions.d.ts.map +1 -0
  357. package/lib/typescript/src/realtime.d.ts +3 -0
  358. package/lib/typescript/src/realtime.d.ts.map +1 -0
  359. package/lib/typescript/src/route.d.ts +3 -0
  360. package/lib/typescript/src/route.d.ts.map +1 -0
  361. package/lib/typescript/src/types.d.ts +1043 -0
  362. package/lib/typescript/src/types.d.ts.map +1 -0
  363. package/package.json +47 -65
  364. package/src/DoorstepEmbedViewNativeComponent.ts +51 -0
  365. package/src/NativeDoorstep.ts +56 -0
  366. package/src/compat.ts +240 -0
  367. package/src/doorstep.ts +110 -0
  368. package/src/embed.tsx +137 -0
  369. package/src/index.ts +19 -0
  370. package/src/internal.ts +61 -0
  371. package/src/permissions.ts +66 -0
  372. package/src/realtime.ts +120 -0
  373. package/src/route.ts +53 -0
  374. package/src/types.ts +1110 -0
  375. package/README.md +0 -596
  376. package/android/libs/doorstepai-tracking-sdk-api-prod-release.aar +0 -0
  377. package/android/src/main/AndroidManifestNew.xml +0 -2
  378. package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +0 -1064
  379. package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepEmbedViewManager.kt +0 -247
  380. package/android/src/main/java/com/doorstepai/dropoffsdk/DropoffSdkPackage.kt +0 -19
  381. package/android/src/main/java/com/doorstepai/dropoffsdk/HostForegroundServiceWaiter.kt +0 -98
  382. package/ios/DoorstepAI.mm +0 -109
  383. package/ios/DoorstepAI.swift +0 -610
  384. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  385. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/DoorstepDropoffSDK.h +0 -19
  386. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/RateReducer.h +0 -117
  387. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +0 -20511
  388. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -415
  389. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  390. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +0 -415
  391. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/module.modulemap +0 -6
  392. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/PrivacyInfo.xcprivacy +0 -39
  393. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +0 -201
  394. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Info.plist +0 -20
  395. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  396. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +0 -5072
  397. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
  398. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/DoorstepDropoffSDK.h +0 -19
  399. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/RateReducer.h +0 -117
  400. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -20511
  401. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -415
  402. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  403. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -415
  404. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -20511
  405. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -415
  406. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  407. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -415
  408. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/module.modulemap +0 -6
  409. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/PrivacyInfo.xcprivacy +0 -39
  410. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +0 -256
  411. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Info.plist +0 -20
  412. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
  413. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +0 -5073
  414. package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +0 -5035
  415. package/ios/DoorstepEmbedViewManager.mm +0 -30
  416. package/ios/DoorstepEmbedViewManager.swift +0 -189
  417. package/ios/DropoffSdk-Bridging-Header.h +0 -2
  418. package/ios/RootDoorstepAIViewManager.mm +0 -5
  419. package/ios/RootDoorstepAIViewManager.swift +0 -16
  420. package/lib/module/DoorstepAI.js +0 -758
  421. package/lib/module/DoorstepAI.js.map +0 -1
  422. package/lib/module/DoorstepEmbedView.js +0 -91
  423. package/lib/module/DoorstepEmbedView.js.map +0 -1
  424. package/lib/module/RootDoorstepAI.js +0 -118
  425. package/lib/module/RootDoorstepAI.js.map +0 -1
  426. package/lib/typescript/embed-preload.example.d.ts +0 -25
  427. package/lib/typescript/embed-preload.example.d.ts.map +0 -1
  428. package/lib/typescript/src/DoorstepAI.d.ts +0 -538
  429. package/lib/typescript/src/DoorstepAI.d.ts.map +0 -1
  430. package/lib/typescript/src/DoorstepEmbedView.d.ts +0 -73
  431. package/lib/typescript/src/DoorstepEmbedView.d.ts.map +0 -1
  432. package/lib/typescript/src/RootDoorstepAI.d.ts +0 -37
  433. package/lib/typescript/src/RootDoorstepAI.d.ts.map +0 -1
  434. package/src/DoorstepAI.tsx +0 -1233
  435. package/src/DoorstepEmbedView.tsx +0 -194
  436. package/src/RootDoorstepAI.tsx +0 -178
  437. package/src/index.tsx +0 -32
@@ -1,758 +0,0 @@
1
- "use strict";
2
-
3
- import { NativeModules, NativeEventEmitter, Platform } from 'react-native';
4
- import { DoorstepEmbedView } from "./DoorstepEmbedView.js";
5
- const {
6
- DoorstepAI
7
- } = NativeModules;
8
-
9
- // Bridges the native geofence-session event stream (iOS RCTEventEmitter /
10
- // Android DeviceEventManagerModule) to JS. See `addGeofenceSessionListener`.
11
- const GEOFENCE_SESSION_EVENT = 'DoorstepGeofenceSessionEvent';
12
- const doorstepEventEmitter = DoorstepAI ? new NativeEventEmitter(DoorstepAI) : undefined;
13
-
14
- /**
15
- * A single stop the SDK should geofence in `startRouteGeofencing`. On geofence
16
- * ENTER the SDK auto-starts a delivery session for `deliveryId`; on EXIT it stops
17
- * it according to server-owned `misc.geofence.waitForDropoff` policy.
18
- */
19
-
20
- /** Route-wide options for `startRouteGeofencing`. */
21
-
22
- /** @deprecated Use RouteOptions. Kept for existing integrations. */
23
-
24
- /** Emitted whenever route geofencing auto-starts or auto-stops a session. */
25
-
26
- /**
27
- * Per-delivery options shared across both platforms. Fields not supported on a
28
- * given platform are silently ignored.
29
- */
30
-
31
- /**
32
- * A runtime-permission **bucket** — one bucket is one user-visible OS decision,
33
- * spelled exactly as the native SDK spells it.
34
- *
35
- * The buckets are deliberately OS-specific, because the platforms are: iOS has a
36
- * single Motion & Fitness authorization and no WiFi-scan permission at all,
37
- * Android splits BLE scanning, nearby-WiFi and notifications into their own
38
- * dialogs. Only the two location buckets exist on both.
39
- *
40
- * | bucket | iOS | Android |
41
- * |---|---|---|
42
- * | `locationWhenInUse` | `requestWhenInUseAuthorization` | `ACCESS_FINE_LOCATION` + `ACCESS_COARSE_LOCATION` |
43
- * | `locationAlways` | `requestAlwaysAuthorization` | `ACCESS_BACKGROUND_LOCATION` |
44
- * | `motionFitness` | Motion & Fitness | — (use `activityRecognition`) |
45
- * | `activityRecognition` | — (use `motionFitness`) | `ACTIVITY_RECOGNITION` |
46
- * | `bluetooth` | `CBCentralManager` | — (use `bluetoothScan`) |
47
- * | `bluetoothScan` | — (use `bluetooth`) | `BLUETOOTH_SCAN` (API 31+) |
48
- * | `nearbyWifiDevices` | — | `NEARBY_WIFI_DEVICES` (API 33+) |
49
- * | `notifications` | — | `POST_NOTIFICATIONS` (API 33+) |
50
- *
51
- * You may pass **either platform's** name on either platform: the wrapper
52
- * translates the counterpart bucket (`motionFitness` ⇄ `activityRecognition`,
53
- * `bluetooth` ⇄ `bluetoothScan`) so one whitelist works on both without a
54
- * `Platform.OS` branch. A bucket with no counterpart at all (`nearbyWifiDevices`
55
- * / `notifications` on iOS) is reported back in `unsupported` rather than
56
- * silently dropped.
57
- */
58
-
59
- /**
60
- * Coarse aliases accepted anywhere a {@link DoorstepPermission} is, kept because
61
- * they are what the published 2.x wrapper API took. Each expands to this
62
- * platform's buckets: `location` → both location buckets, `motion` / `activity`
63
- * → the platform's motion bucket, `bluetooth` → the platform's BLE bucket
64
- * (`bluetooth` is also a real iOS bucket name, so it is both).
65
- */
66
-
67
- /** Anything the whitelist accepts. */
68
-
69
- /**
70
- * The state of one bucket. Eight states, **identical names on both platforms**,
71
- * so host code branches once.
72
- *
73
- * - `granted` — held right now.
74
- * - `notDetermined` — never asked; a request will show a dialog.
75
- * - `whenInUseOnly` — **load-bearing.** Foreground location held, background not
76
- * (iOS "While Using the App" / Android foreground-only). Only ever reported for
77
- * `locationAlways`. Never treat it as `granted`: background collection and
78
- * route geofencing do not work in it.
79
- * - `denied` — refused, but another prompt is still possible. Android only; iOS
80
- * refusals are always final.
81
- * - `permanentlyDenied` — refused with no further prompt possible. Deep-link the
82
- * user to Settings. Every iOS refusal lands here.
83
- * - `restricted` — blocked by device policy / MDM / Screen Time.
84
- * - `unavailable` — the OS version or the hardware does not have it. Not a
85
- * failure, nothing to request.
86
- * - `notDeclared` — **the HOST BUILD is missing the declaration**
87
- * (`<uses-permission>` on Android, an `NS…UsageDescription` key on iOS), so the
88
- * OS would never show a dialog. Fixable by you; it is NOT a user refusal.
89
- */
90
-
91
- /** The evaluated state of one bucket. */
92
-
93
- /**
94
- * The grant state of one permission in the **legacy** three-value vocabulary the
95
- * published 2.x wrapper API used. `'prompt'` means "not determined yet".
96
- *
97
- * @deprecated Read {@link PermissionStatus.statuses} instead — it distinguishes
98
- * `whenInUseOnly`, `permanentlyDenied` and `notDeclared`, all of which collapse
99
- * away here.
100
- */
101
-
102
- /**
103
- * The three coarse domains of the legacy view.
104
- *
105
- * @deprecated Use {@link DoorstepPermission}.
106
- */
107
-
108
- /** What {@link DoorstepAIModule.checkPermissions} answers. */
109
-
110
- /** What {@link DoorstepAIModule.requestPermissions} answers. */
111
-
112
- /** Options for {@link DoorstepAIModule.requestPermissions}. */
113
-
114
- // ---- Whitelist normalisation ----------------------------------------------
115
- //
116
- // A NAMING translation, not a permission list: it maps the names the two native
117
- // SDKs use onto each other so one host whitelist compiles on both. It never adds
118
- // or removes a bucket of its own accord, and it never decides what gets
119
- // requested — the native planner owns that.
120
-
121
- const IOS_ALIASES = {
122
- location: ['locationWhenInUse', 'locationAlways'],
123
- locationwheninuse: ['locationWhenInUse'],
124
- locationalways: ['locationAlways'],
125
- motion: ['motionFitness'],
126
- activity: ['motionFitness'],
127
- motionfitness: ['motionFitness'],
128
- activityrecognition: ['motionFitness'],
129
- bluetooth: ['bluetooth'],
130
- bluetoothscan: ['bluetooth'],
131
- nearbywifidevices: [],
132
- notifications: []
133
- };
134
- const ANDROID_ALIASES = {
135
- location: ['locationWhenInUse', 'locationAlways'],
136
- locationwheninuse: ['locationWhenInUse'],
137
- locationalways: ['locationAlways'],
138
- motion: ['activityRecognition'],
139
- activity: ['activityRecognition'],
140
- motionfitness: ['activityRecognition'],
141
- activityrecognition: ['activityRecognition'],
142
- bluetooth: ['bluetoothScan'],
143
- bluetoothscan: ['bluetoothScan'],
144
- nearbywifidevices: ['nearbyWifiDevices'],
145
- notifications: ['notifications']
146
- };
147
-
148
- /** Every bucket this platform has, derived from the one alias table above. */
149
- function platformBuckets() {
150
- const table = Platform.OS === 'ios' ? IOS_ALIASES : ANDROID_ALIASES;
151
- const out = [];
152
- for (const mapped of Object.values(table)) {
153
- for (const bucket of mapped) if (!out.includes(bucket)) out.push(bucket);
154
- }
155
- return out;
156
- }
157
- function normalizeWhitelist(permissions) {
158
- if (permissions == null) return {
159
- buckets: undefined,
160
- unsupported: []
161
- };
162
- const table = Platform.OS === 'ios' ? IOS_ALIASES : ANDROID_ALIASES;
163
- const buckets = [];
164
- const unsupported = [];
165
- for (const raw of permissions) {
166
- const mapped = table[String(raw).trim().toLowerCase()];
167
- if (mapped == null || mapped.length === 0) {
168
- unsupported.push(String(raw));
169
- continue;
170
- }
171
- for (const bucket of mapped) {
172
- if (!buckets.includes(bucket)) buckets.push(bucket);
173
- }
174
- }
175
- return {
176
- buckets,
177
- unsupported
178
- };
179
- }
180
-
181
- /** Merges the wrapper-side `unsupported` list into whatever native answered. */
182
- function withUnsupported(payload, unsupported) {
183
- return {
184
- ...payload,
185
- unsupported: [...(payload.unsupported ?? []), ...unsupported]
186
- };
187
- }
188
-
189
- /**
190
- * Mirrors the iOS SDK's `SDKLogLevel` enum. Only used by
191
- * `configureRemoteLogging` (iOS only).
192
- */
193
-
194
- /**
195
- * Rejects instead of resolving a fabricated value: the Android runtime-permission
196
- * query helpers have no counterpart on iOS, and a helper that silently resolved
197
- * `true`/`[]` would read as "granted" / "nothing needed" to a cross-platform host.
198
- */
199
- function unsupportedOnThisPlatform(method, supportedOn) {
200
- return Promise.reject(new Error(`DoorstepAI.${method} is ${supportedOn}-only; there is no native counterpart on ${Platform.OS}.`));
201
- }
202
- const SDK_LOG_LEVEL_RAW = {
203
- debug: 0,
204
- info: 1,
205
- warning: 2,
206
- error: 3,
207
- critical: 4
208
- };
209
-
210
- /** Android-only host foreground-service readiness options. */
211
-
212
- class DoorstepAIModule {
213
- /** Cross-platform native Doorstep Go embed component. */
214
- static EmbedView = DoorstepEmbedView;
215
-
216
- /**
217
- * Android only. Resolves after observing a matching host service in foreground
218
- * state. Rejects on timeout, query failure, or native-module teardown. This does
219
- * not start a service or verify location permissions, fixes, or future uptime.
220
- */
221
- static async waitForHostForegroundService(options = {}) {
222
- if (Platform.OS !== 'android') {
223
- return unsupportedOnThisPlatform('waitForHostForegroundService', 'Android');
224
- }
225
- const {
226
- timeoutMs = 10_000,
227
- serviceClassName
228
- } = options;
229
- if (!Number.isInteger(timeoutMs) || timeoutMs < 0 || timeoutMs > 120_000) {
230
- throw new Error('timeoutMs must be an integer from 0 to 120000');
231
- }
232
- if (serviceClassName !== undefined && (typeof serviceClassName !== 'string' || serviceClassName.trim() === '')) {
233
- throw new Error('serviceClassName must be a nonempty fully qualified class name');
234
- }
235
- if (typeof DoorstepAI?.waitForHostForegroundService !== 'function') {
236
- throw new Error('waitForHostForegroundService requires an updated native SDK build');
237
- }
238
- await DoorstepAI.waitForHostForegroundService(timeoutMs, serviceClassName ?? null);
239
- }
240
- static isInitialized = false;
241
- static async init(notificationTitle, notificationText) {
242
- if (Platform.OS === 'android') {
243
- if (this.isInitialized) {
244
- return;
245
- }
246
- try {
247
- await DoorstepAI.init(notificationTitle, notificationText);
248
- console.log('DOORSTEPAI - DoorstepAI initialized');
249
- this.isInitialized = true;
250
- } catch (error) {
251
- console.error('DOORSTEPAI - Failed to initialize DoorstepAI:', error);
252
- throw error;
253
- }
254
- } // iOS does not require explicit init in the bridge
255
- }
256
- static setApiKey(apiKey) {
257
- DoorstepAI.setApiKey(apiKey);
258
- }
259
-
260
- /**
261
- * Sets the API key for the Doorstep Go service, which is a separate credential
262
- * from {@link setApiKey}. Present on both native SDKs; a no-op if you do not use
263
- * Doorstep Go.
264
- */
265
- static setDoorstepGoApiKey(apiKey) {
266
- DoorstepAI.setDoorstepGoApiKey(apiKey);
267
- }
268
-
269
- /**
270
- * The native SDK's internal-state dump as compact JSON, for bug reports and
271
- * support logs. Free-form and unstable — never branch on it. **iOS only**
272
- * (`DoorstepAI.debugStateJson()`); the Android SDK has no counterpart, so it
273
- * rejects there.
274
- */
275
- static debugStateJson() {
276
- if (Platform.OS !== 'ios') {
277
- return unsupportedOnThisPlatform('debugStateJson', 'iOS');
278
- }
279
- return DoorstepAI.debugStateJson();
280
- }
281
-
282
- /**
283
- * Re-registers the raw-GNSS callbacks after the OS has dropped them (some
284
- * devices stop delivering measurements without reporting an error). **Android
285
- * only** — iOS has no raw-GNSS access at all, so it rejects there.
286
- */
287
- static retryGnssCallbacks() {
288
- if (Platform.OS !== 'android') {
289
- return unsupportedOnThisPlatform('retryGnssCallbacks', 'Android');
290
- }
291
- return DoorstepAI.retryGnssCallbacks();
292
- }
293
-
294
- // ---- Runtime permissions -------------------------------------------------
295
- // Every method below is a pass-through to the native SDK's own permission API.
296
- // The SDK owns the permission list and the prompt ordering; this wrapper used to
297
- // keep a second implementation beside it and drifted — it requested
298
- // ACCESS_FINE_LOCATION with no ACCESS_COARSE_LOCATION (Android 12+ ignores that
299
- // request outright), never requested ACCESS_BACKGROUND_LOCATION or
300
- // POST_NOTIFICATIONS at all, and requested ACTIVITY_RECOGNITION, which native
301
- // deliberately does not require (`internal/SensorCollectionManager.kt:139`).
302
-
303
- /**
304
- * The dangerous runtime permissions the native SDK needs on THIS device,
305
- * version-gated. **Android only.**
306
- *
307
- * Foreground set only — it deliberately excludes `ACCESS_BACKGROUND_LOCATION`,
308
- * which Android 11+ requires be requested separately and only after foreground
309
- * location is granted (see `requestBackgroundLocationPermission`).
310
- *
311
- * Feed it to your own permission UI (e.g. `PermissionsAndroid.requestMultiple`)
312
- * when you want the grant results in JS — it is the same list `requestPermissions`
313
- * asks for, so the two cannot diverge.
314
- *
315
- * @param includeBluetooth include `BLUETOOTH_SCAN` (Android 12+) and
316
- * `NEARBY_WIFI_DEVICES` (Android 13+). Native default: `true`.
317
- */
318
- static getRequiredPermissions(includeBluetooth) {
319
- if (Platform.OS !== 'android') {
320
- return unsupportedOnThisPlatform('getRequiredPermissions', 'Android');
321
- }
322
- return DoorstepAI.getRequiredPermissions(includeBluetooth ?? null);
323
- }
324
-
325
- /**
326
- * True when every foreground permission the SDK needs is currently granted.
327
- * **Android only.**
328
- *
329
- * @param includeBluetooth native default here is `false`, unlike the request
330
- * methods — Bluetooth is optional, so a denied "Nearby devices" grant must not
331
- * make the SDK look unusable.
332
- */
333
- static hasRequiredPermissions(includeBluetooth) {
334
- if (Platform.OS !== 'android') {
335
- return unsupportedOnThisPlatform('hasRequiredPermissions', 'Android');
336
- }
337
- return DoorstepAI.hasRequiredPermissions(includeBluetooth ?? null);
338
- }
339
-
340
- /**
341
- * True when `ACCESS_BACKGROUND_LOCATION` is granted (always true below API 29,
342
- * where it is not a separate grant). **Android only.**
343
- */
344
- static hasBackgroundLocationPermission() {
345
- if (Platform.OS !== 'android') {
346
- return unsupportedOnThisPlatform('hasBackgroundLocationPermission', 'Android');
347
- }
348
- return DoorstepAI.hasBackgroundLocationPermission();
349
- }
350
-
351
- /**
352
- * The current state of the whitelisted permission buckets, on both platforms.
353
- * **Pure observation — never prompts**, so it is safe at launch, on every
354
- * screen, as often as you like.
355
- *
356
- * @param permissions whitelist; omit for every bucket this platform has.
357
- *
358
- * ```ts
359
- * const { statuses } = await DoorstepAI.checkPermissions();
360
- * if (statuses.locationAlways?.state === 'whenInUseOnly') {
361
- * // foreground location only: background collection and route geofencing
362
- * // will NOT work. Never read this as 'granted'.
363
- * }
364
- * ```
365
- *
366
- * The buckets and their states come straight from the native SDKs
367
- * (`DoorstepAI.checkPermissions(...)` on both platforms) — the wrapper keeps no
368
- * permission list and no state machine of its own.
369
- */
370
- static async checkPermissions(permissions) {
371
- const {
372
- buckets,
373
- unsupported
374
- } = normalizeWhitelist(permissions);
375
- const payload = await DoorstepAI.checkPermissions(buckets ?? null);
376
- return withUnsupported(payload, unsupported);
377
- }
378
-
379
- /**
380
- * Every permission bucket this platform has — the whitelist
381
- * {@link requestPermissions} uses when you pass none.
382
- *
383
- * Useful for building a permission screen that lists what the SDK can ask for
384
- * without hardcoding a per-platform list. Synchronous: it is the wrapper's name
385
- * table, not a device read. Use {@link checkPermissions} for state.
386
- */
387
- static allPermissionBuckets() {
388
- return platformBuckets();
389
- }
390
-
391
- /**
392
- * {@link checkPermissions} rendered as the native SDK's own compact JSON — for
393
- * bug reports, support logs and scripted on-device assertions.
394
- *
395
- * Shape: `{"<bucket>":{"state":"…","canRequest":true|false,"os":"…"}}`.
396
- */
397
- static checkPermissionsJson(permissions) {
398
- const {
399
- buckets
400
- } = normalizeWhitelist(permissions);
401
- return DoorstepAI.checkPermissionsJson(buckets ?? null);
402
- }
403
-
404
- /**
405
- * The one permission requester, and the only one hosts should need.
406
- *
407
- * **No argument requests every bucket the platform has. An argument is a
408
- * whitelist: exactly those buckets are requested and nothing else.** That is
409
- * the native contract on both platforms
410
- * (`DoorstepAI.requestPermissions(_ permissions:…)` on iOS,
411
- * `DoorstepAI.requestPermissions(activity, permissions)` on Android) and this
412
- * method is a pass-through to it — the wrapper does not decide what gets asked.
413
- *
414
- * ```ts
415
- * await DoorstepAI.requestPermissions(); // everything
416
- * await DoorstepAI.requestPermissions(['locationWhenInUse']); // just that
417
- * await DoorstepAI.requestPermissions({ permissions: ['location', 'motion'] });
418
- * ```
419
- *
420
- * Accepts the array directly or the legacy `{ permissions: [...] }` object; the
421
- * object form additionally carries `onlyIfNotDetermined` (iOS) and
422
- * `timeoutSeconds`.
423
- *
424
- * **Resolves only AFTER the user has answered**, with the settled state — a
425
- * status read while a dialog is still up would be a lie. Anything the native
426
- * planner declines to ask comes back explained rather than silent:
427
- * `alreadyDetermined`, `unavailable`, `deferred`.
428
- *
429
- * The deferral to expect: **`locationAlways` is only ever requested alone, and
430
- * only once foreground location is granted** (Android auto-denies a bundled
431
- * background ask; iOS shows the When-In-Use prompt first and offers the Always
432
- * upgrade later on its own schedule). So a full-whitelist call typically returns
433
- * `locationAlways` in `deferred` — call again, with just that bucket, after the
434
- * first batch is answered.
435
- *
436
- * A second call made while one is still in flight does not interleave prompt
437
- * sequences: iOS reports every bucket as `deferred`, Android rejects with
438
- * `E_PERMISSION_REQUEST_IN_FLIGHT`.
439
- *
440
- * iOS guidance from the SDK: call this **once, from a user-initiated flow**, not
441
- * from app launch.
442
- */
443
- static async requestPermissions(options) {
444
- const opts = Array.isArray(options) ? {
445
- permissions: options
446
- } : options ?? {};
447
- const {
448
- buckets,
449
- unsupported
450
- } = normalizeWhitelist(opts.permissions);
451
- const payload = await DoorstepAI.requestPermissions({
452
- permissions: buckets ?? null,
453
- onlyIfNotDetermined: opts.onlyIfNotDetermined ?? null,
454
- timeoutSeconds: opts.timeoutSeconds ?? null
455
- });
456
- return withUnsupported(payload, unsupported);
457
- }
458
-
459
- /**
460
- * Forward your Activity's `onRequestPermissionsResult` to the SDK. **Android
461
- * only; a no-op elsewhere.**
462
- *
463
- * Optional but worth wiring: it is the only way the SDK can tell a refusal it
464
- * may re-ask (`denied`) from one only Settings can fix (`permanentlyDenied`).
465
- * Android reports the same signals for "permanently denied" and "never asked",
466
- * and a *cancelled* dialog leaves the same trace as a denial — so the SDK
467
- * refuses to guess and reports the re-askable `denied` until a real,
468
- * host-forwarded answer says otherwise.
469
- *
470
- * It also settles a `requestPermissions` promise the moment the real answer
471
- * arrives, instead of waiting on the activity-lifecycle backstop.
472
- *
473
- * ```kotlin
474
- * // MainActivity.kt
475
- * override fun onRequestPermissionsResult(
476
- * requestCode: Int, permissions: Array<out String>, grantResults: IntArray
477
- * ) {
478
- * super.onRequestPermissionsResult(requestCode, permissions, grantResults)
479
- * DoorstepAI.notePermissionRequestResult(this, permissions, grantResults)
480
- * }
481
- * ```
482
- *
483
- * If you would rather not touch Kotlin, call this from JS with the same values.
484
- */
485
- static async notePermissionRequestResult(permissions, grantResults) {
486
- if (Platform.OS !== 'android') return;
487
- await DoorstepAI.notePermissionRequestResult(permissions, grantResults);
488
- }
489
-
490
- /**
491
- * Requests `ACCESS_BACKGROUND_LOCATION` (Android 10+), required to keep
492
- * collecting once the host app is backgrounded or the screen is off — without it
493
- * the SDK refuses to start a session from the background and route geofences
494
- * only fire in the foreground. **Android only.**
495
- *
496
- * This is a separate entry point because Android makes it one: from Android 11+
497
- * the OS refuses to bundle background location into the foreground request, so it
498
- * has to be a SECOND prompt issued after foreground location is granted, and
499
- * asking earlier burns it on an automatic denial. The wrapper does not sequence
500
- * the two calls for you — deciding when the user has been told why the app wants
501
- * "Allow all the time" is the host's, not the wrapper's.
502
- *
503
- * On iOS the same intent is the `locationAlways` bucket of
504
- * `requestPermissions`; there is no iOS counterpart to this method, so it
505
- * rejects there rather than resolving a made-up answer. On Android you can also
506
- * express it as `requestPermissions(['locationAlways'])` — same prompt, and it
507
- * reports back why if the OS would have refused to show it.
508
- *
509
- * Resolves `true` when a request was actually issued (false below API 29 or when
510
- * already granted).
511
- */
512
- static requestBackgroundLocationPermission() {
513
- if (Platform.OS !== 'android') {
514
- return unsupportedOnThisPlatform('requestBackgroundLocationPermission', 'Android');
515
- }
516
- return DoorstepAI.requestBackgroundLocationPermission();
517
- }
518
-
519
- /**
520
- * Configures the iOS SDK's remote logging pipeline. No-op on Android (the
521
- * Android SDK currently configures remote logging via remote config / dev
522
- * mode rather than a public host-app entry point).
523
- */
524
- static configureRemoteLogging(options) {
525
- if (Platform.OS !== 'ios') return;
526
- const minLevelRaw = options.minLevel != null ? SDK_LOG_LEVEL_RAW[options.minLevel] : null;
527
- DoorstepAI.configureRemoteLogging(options.enabled, minLevelRaw, options.flushIntervalSeconds ?? null, options.batchSize ?? null, options.maxQueueSize ?? null);
528
- }
529
- static async startDeliveryByPlaceID(placeID, deliveryId, timeoutSeconds, options) {
530
- try {
531
- const timeout = timeoutSeconds ?? options?.timeoutSeconds;
532
- const autoStop = options?.autoStopAfterDropoffSeconds ?? null;
533
- const customerId = options?.customerId ?? null;
534
- const driverId = options?.driverId ?? null;
535
- const result = Platform.OS === 'android' ? await DoorstepAI.startDeliveryByPlaceID(placeID, deliveryId, timeout, autoStop, options?.manualForeground ?? false, customerId, driverId) : await DoorstepAI.startDeliveryByPlaceID(placeID, deliveryId, timeout, autoStop, customerId, driverId);
536
- console.log('DOORSTEPAI - Delivery started successfully by Place ID:', placeID, deliveryId);
537
- return result;
538
- } catch (error) {
539
- console.error('DOORSTEPAI - Failed to start delivery by Place ID:', error);
540
- throw error;
541
- }
542
- }
543
-
544
- /** @deprecated Use `startDeliveryByAddressString` with coordinates instead. */
545
- static async startDeliveryByPlusCode(plusCode, deliveryId, timeoutSeconds, options) {
546
- try {
547
- const timeout = timeoutSeconds ?? options?.timeoutSeconds;
548
- const customerId = options?.customerId ?? null;
549
- const driverId = options?.driverId ?? null;
550
- // Android's deprecated startDeliveryByPlusCode does not accept
551
- // autoStopAfterDropoffSeconds, so we forward only the supported
552
- // parameters there.
553
- const result = Platform.OS === 'ios' ? await DoorstepAI.startDeliveryByPlusCode(plusCode, deliveryId, timeout, options?.autoStopAfterDropoffSeconds ?? null, customerId, driverId) : await DoorstepAI.startDeliveryByPlusCode(plusCode, deliveryId, timeout, customerId, driverId);
554
- console.log('DOORSTEPAI - Delivery started successfully by Plus Code:', plusCode, deliveryId);
555
- return result;
556
- } catch (error) {
557
- console.error('DOORSTEPAI - Failed to start delivery by Plus Code:', error);
558
- throw error;
559
- }
560
- }
561
- static async startDeliveryByAddress(address, deliveryId, timeoutSeconds, coordinates, options) {
562
- try {
563
- const timeout = timeoutSeconds ?? options?.timeoutSeconds;
564
- const autoStop = options?.autoStopAfterDropoffSeconds ?? null;
565
- const customerId = options?.customerId ?? null;
566
- const driverId = options?.driverId ?? null;
567
- const result = Platform.OS === 'android' ? await DoorstepAI.startDeliveryByAddress(address, deliveryId, coordinates ?? null, timeout, autoStop, options?.manualForeground ?? false, customerId, driverId) : await DoorstepAI.startDeliveryByAddress(address, deliveryId, coordinates ?? null, timeout, autoStop, customerId, driverId);
568
- console.log('DOORSTEPAI - Delivery started successfully by Address:', address, deliveryId);
569
- return result;
570
- } catch (error) {
571
- console.error('DOORSTEPAI - Failed to start delivery by Address:', error);
572
- throw error;
573
- }
574
- }
575
- static async startDeliveryByAddressString(address, deliveryId, timeoutSeconds, coordinates, options) {
576
- try {
577
- const timeout = timeoutSeconds ?? options?.timeoutSeconds;
578
- const autoStop = options?.autoStopAfterDropoffSeconds ?? null;
579
- const customerId = options?.customerId ?? null;
580
- const driverId = options?.driverId ?? null;
581
- const result = Platform.OS === 'android' ? await DoorstepAI.startDeliveryByAddressString(address, deliveryId, coordinates ?? null, timeout, autoStop, options?.manualForeground ?? false, customerId, driverId) : await DoorstepAI.startDeliveryByAddressString(address, deliveryId, coordinates ?? null, timeout, autoStop, customerId, driverId);
582
- console.log('DOORSTEPAI - Delivery started successfully by Address String:', address, deliveryId);
583
- return result;
584
- } catch (error) {
585
- console.error('DOORSTEPAI - Failed to start delivery by Address String:', error);
586
- throw error;
587
- }
588
- }
589
-
590
- /** @deprecated Use `startDeliveryByAddress` or `startDeliveryByAddressString` with coordinates instead. */
591
- static async startDeliveryByLatLng(latitude, longitude, subUnit, deliveryId, timeoutSeconds, options) {
592
- try {
593
- const timeout = timeoutSeconds ?? options?.timeoutSeconds;
594
- const customerId = options?.customerId ?? null;
595
- const driverId = options?.driverId ?? null;
596
- // Android's deprecated startDeliveryByLatLng does not accept
597
- // autoStopAfterDropoffSeconds, so we forward only the supported
598
- // parameters there.
599
- const result = Platform.OS === 'ios' ? await DoorstepAI.startDeliveryByLatLng(latitude, longitude, subUnit, deliveryId, timeout, options?.autoStopAfterDropoffSeconds ?? null, customerId, driverId) : await DoorstepAI.startDeliveryByLatLng(latitude, longitude, subUnit, deliveryId, timeout, customerId, driverId);
600
- console.log('DOORSTEPAI - Delivery started successfully by LatLng:', latitude, longitude, subUnit, deliveryId);
601
- return result;
602
- } catch (error) {
603
- console.error('DOORSTEPAI - Failed to start delivery by LatLng:', error);
604
- throw error;
605
- }
606
- }
607
- static async markDropoff(deliveryId, dropoffType) {
608
- try {
609
- await DoorstepAI.markDropoff(deliveryId, dropoffType);
610
- console.log('DOORSTEPAI - Dropoff marked successfully:', deliveryId, dropoffType);
611
- } catch (error) {
612
- console.error('DOORSTEPAI - Failed to mark dropoff:', deliveryId, dropoffType, error);
613
- throw error;
614
- }
615
- }
616
- static async stopDelivery(deliveryId) {
617
- try {
618
- await DoorstepAI.stopDelivery(deliveryId);
619
- console.log('DOORSTEPAI - Delivery stopped successfully');
620
- } catch (error) {
621
- console.error('DOORSTEPAI - Failed to stop delivery:', error);
622
- throw error;
623
- }
624
- }
625
-
626
- /**
627
- * Record a custom event on a delivery. `timestamp` is optional epoch SECONDS —
628
- * when provided the event is recorded at that time instead of "now".
629
- */
630
- static async newEvent(eventName, deliveryId, timestamp) {
631
- try {
632
- const result = await DoorstepAI.newEvent(eventName, deliveryId, timestamp ?? null);
633
- console.log('DOORSTEPAI - Event sent successfully:', result);
634
- return result;
635
- } catch (error) {
636
- console.error('DOORSTEPAI - Failed to send event:', eventName, deliveryId, error);
637
- throw error;
638
- }
639
- }
640
-
641
- // ---- Route geofencing (in-SDK) ----
642
-
643
- /**
644
- * Begin in-SDK route geofencing. The SDK fences each stop and auto-starts a
645
- * delivery session on geofence ENTER / stops it on EXIT (EXIT is gated on
646
- * `markDropoff`). Requires location permission; background operation needs
647
- * "Allow all the time" (Android) / Always authorization (iOS). Subscribe to
648
- * start/stop events via `addGeofenceSessionListener`.
649
- */
650
- static async startRouteGeofencing(stops, options) {
651
- try {
652
- await DoorstepAI.startRouteGeofencing(stops, options ?? null);
653
- console.log('DOORSTEPAI - Route geofencing started for', stops.length, 'stop(s)');
654
- } catch (error) {
655
- console.error('DOORSTEPAI - Failed to start route geofencing:', error);
656
- throw error;
657
- }
658
- }
659
-
660
- /**
661
- * Replace the monitored stops in place without tearing down still-present
662
- * stops' sessions. Stops dropped from the list are removed (their session is
663
- * stopped only if a dropoff was marked); new stops are added and armed.
664
- */
665
- static async updateRouteStops(stops) {
666
- try {
667
- await DoorstepAI.updateRouteStops(stops);
668
- } catch (error) {
669
- console.error('DOORSTEPAI - Failed to update route stops:', error);
670
- throw error;
671
- }
672
- }
673
-
674
- /** Stop route geofencing and clear all monitored stops. */
675
- static async stopRouteGeofencing() {
676
- try {
677
- await DoorstepAI.stopRouteGeofencing();
678
- } catch (error) {
679
- console.error('DOORSTEPAI - Failed to stop route geofencing:', error);
680
- throw error;
681
- }
682
- }
683
-
684
- /** Durable route intent, independent of an active delivery session. */
685
- static async isRouteGeofencingActive() {
686
- return Boolean(await DoorstepAI.isRouteGeofencingActive());
687
- }
688
-
689
- /** Canonical SDK route UUID, or null when no route is active. */
690
- static async getActiveRouteId() {
691
- return (await DoorstepAI.getActiveRouteId()) ?? null;
692
- }
693
- static async getActiveRouteRevision() {
694
- return (await DoorstepAI.getActiveRouteRevision()) ?? null;
695
- }
696
-
697
- /** Attach JSON metadata to a delivery before or after its session starts. */
698
- static async addMetadata(deliveryId, metadata) {
699
- await DoorstepAI.addMetadata(deliveryId, metadata);
700
- }
701
-
702
- /**
703
- * Re-arm route geofencing after a process relaunch if a route was active.
704
- * Safe no-op when no route is persisted.
705
- */
706
- static async resumeRouteGeofencingIfNeeded() {
707
- try {
708
- await DoorstepAI.resumeRouteGeofencingIfNeeded();
709
- } catch (error) {
710
- console.error('DOORSTEPAI - Failed to resume route geofencing:', error);
711
- throw error;
712
- }
713
- }
714
-
715
- /** The stops currently registered for route geofencing (empty if none). */
716
- static async getMonitoredStops() {
717
- try {
718
- const stops = await DoorstepAI.getMonitoredStops();
719
- return stops ?? [];
720
- } catch (error) {
721
- console.error('DOORSTEPAI - Failed to get monitored stops:', error);
722
- return [];
723
- }
724
- }
725
-
726
- /**
727
- * Subscribe to geofence-session events (auto start/stop of a delivery on
728
- * geofence transitions). Returns a subscription — call `.remove()` to
729
- * unsubscribe. Returns `undefined` if the native module is unavailable.
730
- */
731
- static addGeofenceSessionListener(listener) {
732
- return doorstepEventEmitter?.addListener(GEOFENCE_SESSION_EVENT, listener);
733
- }
734
-
735
- // ---- Dev-mode helpers (Android exposes a richer surface than iOS) ----
736
-
737
- static async enableDevMode(apiKey) {
738
- if (Platform.OS === 'ios') {
739
- await DoorstepAI.enableDevMode(apiKey);
740
- return true;
741
- }
742
- return Boolean(await DoorstepAI.enableDevMode());
743
- }
744
-
745
- /** Android only. Returns false on iOS. */
746
- static async validateDevModeAccess() {
747
- if (Platform.OS !== 'android') return false;
748
- return Boolean(await DoorstepAI.validateDevModeAccess());
749
- }
750
-
751
- /** Android only. No-op on iOS. */
752
- static async disableDevMode() {
753
- if (Platform.OS !== 'android') return false;
754
- return Boolean(await DoorstepAI.disableDevMode());
755
- }
756
- }
757
- export { DoorstepAIModule as DoorstepAI };
758
- //# sourceMappingURL=DoorstepAI.js.map