@doorstepai/dropoff-sdk 2.2.9 → 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.
- package/DropoffSdk.podspec +10 -31
- package/android/build.gradle +42 -54
- package/android/gradle.properties +3 -4
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module +106 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.module.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom +46 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/2026.12.0-rc.1/doorstep-bom-2026.12.0-rc.1.pom.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml +13 -0
- package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-bom/maven-metadata.xml.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar +0 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.aar.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module +146 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.module.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom +79 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/3.1.0/doorstep-core-3.1.0.pom.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml +13 -0
- package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-core/maven-metadata.xml.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar +0 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.aar.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module +104 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.module.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom +39 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/1.0.0/doorstep-embed-1.0.0.pom.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml +13 -0
- package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-embed/maven-metadata.xml.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar +0 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.aar.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module +104 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.module.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom +39 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/3.1.0/doorstep-permissions-3.1.0.pom.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml +13 -0
- package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-permissions/maven-metadata.xml.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar +0 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.aar.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module +146 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.module.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom +59 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/1.0.0/doorstep-realtime-1.0.0.pom.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml +13 -0
- package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-realtime/maven-metadata.xml.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar +0 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.aar.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module +188 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.module.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom +99 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc +7 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.asc.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/3.1.0/doorstep-route-3.1.0.pom.sha512 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml +13 -0
- package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.md5 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.sha1 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.sha256 +1 -0
- package/android/maven/ai/doorstep/doorstep-route/maven-metadata.xml.sha512 +1 -0
- package/android/src/main/AndroidManifest.xml +14 -2
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNAutoStartProvider.kt +24 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNCore.kt +271 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNEmbedView.kt +135 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNEmbedViewManager.kt +61 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNMap.kt +272 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepRNPermissions.kt +67 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepReactNative.kt +17 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepReactNativeModule.kt +219 -0
- package/android/src/main/java/ai/doorstep/reactnative/DoorstepReactNativePackage.kt +21 -0
- package/ios/DoorstepRNAutoStart.m +32 -0
- package/ios/DoorstepRNCore.swift +302 -0
- package/ios/DoorstepRNEmbedHost.swift +110 -0
- package/ios/DoorstepRNEmbedView.h +8 -0
- package/ios/DoorstepRNEmbedView.mm +94 -0
- package/ios/DoorstepRNMap.swift +308 -0
- package/ios/DoorstepRNModuleImpl.swift +159 -0
- package/ios/DoorstepReactNative.h +12 -0
- package/ios/DoorstepReactNative.mm +118 -0
- package/ios/{DoorstepDropoffSDK.xcframework → Frameworks/DoorstepCore.xcframework}/Info.plist +4 -8
- package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeResources +285 -0
- package/ios/Frameworks/DoorstepCore.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/DoorstepCore +0 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Headers/DoorstepCore-Swift.h +382 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Headers/DoorstepCore.h +2 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Headers/DoorstepCoreBootstrap.h +16 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Modules/DoorstepCore.swiftmodule/arm64-apple-ios.swiftinterface +279 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/Modules/module.modulemap +10 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64/DoorstepCore.framework/PrivacyInfo.xcprivacy +41 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/DoorstepCore +0 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Headers/DoorstepCore-Swift.h +760 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Headers/DoorstepCore.h +2 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Headers/DoorstepCoreBootstrap.h +16 -0
- 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
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Modules/DoorstepCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +279 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Modules/DoorstepCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +279 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/Modules/module.modulemap +10 -0
- package/ios/Frameworks/DoorstepCore.xcframework/ios-arm64_x86_64-simulator/DoorstepCore.framework/PrivacyInfo.xcprivacy +41 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/Info.plist +44 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeResources +241 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/DoorstepEmbed +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Headers/DoorstepEmbed-Swift.h +382 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Modules/DoorstepEmbed.swiftmodule/arm64-apple-ios.swiftinterface +93 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64/DoorstepEmbed.framework/PrivacyInfo.xcprivacy +25 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/DoorstepEmbed +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Headers/DoorstepEmbed-Swift.h +760 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Modules/DoorstepEmbed.swiftmodule/arm64-apple-ios-simulator.swiftinterface +93 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Modules/DoorstepEmbed.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +93 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/DoorstepEmbed.xcframework/ios-arm64_x86_64-simulator/DoorstepEmbed.framework/PrivacyInfo.xcprivacy +25 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/Info.plist +44 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeResources +241 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/DoorstepPermissions +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/Headers/DoorstepPermissions-Swift.h +382 -0
- package/ios/{DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework → Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework}/Info.plist +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/Modules/DoorstepPermissions.swiftmodule/arm64-apple-ios.swiftinterface +151 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64/DoorstepPermissions.framework/PrivacyInfo.xcprivacy +17 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/DoorstepPermissions +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Headers/DoorstepPermissions-Swift.h +760 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Modules/DoorstepPermissions.swiftmodule/arm64-apple-ios-simulator.swiftinterface +151 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Modules/DoorstepPermissions.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +151 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/DoorstepPermissions.xcframework/ios-arm64_x86_64-simulator/DoorstepPermissions.framework/PrivacyInfo.xcprivacy +17 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/Info.plist +44 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeResources +241 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/DoorstepRealTime +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Headers/DoorstepRealTime-Swift.h +382 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Modules/DoorstepRealTime.swiftmodule/arm64-apple-ios.swiftinterface +906 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64/DoorstepRealTime.framework/PrivacyInfo.xcprivacy +33 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/DoorstepRealTime +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Headers/DoorstepRealTime-Swift.h +760 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Modules/DoorstepRealTime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +906 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Modules/DoorstepRealTime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +906 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/Modules/module.modulemap +3 -0
- package/ios/Frameworks/DoorstepRealTime.xcframework/ios-arm64_x86_64-simulator/DoorstepRealTime.framework/PrivacyInfo.xcprivacy +33 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/Info.plist +44 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeResources +285 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/DoorstepRoute +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Headers/DoorstepRoute-Swift.h +382 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Headers/DoorstepRoute.h +2 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Headers/DoorstepRouteBootstrap.h +19 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Modules/DoorstepRoute.swiftmodule/arm64-apple-ios.swiftinterface +259 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/Modules/module.modulemap +10 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64/DoorstepRoute.framework/PrivacyInfo.xcprivacy +33 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/DoorstepRoute +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Headers/DoorstepRoute-Swift.h +760 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Headers/DoorstepRoute.h +2 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Headers/DoorstepRouteBootstrap.h +19 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Info.plist +0 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Modules/DoorstepRoute.swiftmodule/arm64-apple-ios-simulator.swiftinterface +259 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Modules/DoorstepRoute.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +259 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/Modules/module.modulemap +10 -0
- package/ios/Frameworks/DoorstepRoute.xcframework/ios-arm64_x86_64-simulator/DoorstepRoute.framework/PrivacyInfo.xcprivacy +33 -0
- package/lib/module/DoorstepEmbedViewNativeComponent.ts +51 -0
- package/lib/module/NativeDoorstep.ts +56 -0
- package/lib/module/compat.js +226 -0
- package/lib/module/compat.js.map +1 -0
- package/lib/module/doorstep.js +100 -0
- package/lib/module/doorstep.js.map +1 -0
- package/lib/module/embed.js +138 -0
- package/lib/module/embed.js.map +1 -0
- package/lib/module/index.js +16 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal.js +72 -0
- package/lib/module/internal.js.map +1 -0
- package/lib/module/permissions.js +78 -0
- package/lib/module/permissions.js.map +1 -0
- package/lib/module/realtime.js +86 -0
- package/lib/module/realtime.js.map +1 -0
- package/lib/module/route.js +57 -0
- package/lib/module/route.js.map +1 -0
- package/lib/module/types.js +4 -0
- package/lib/module/types.js.map +1 -0
- package/lib/typescript/src/DoorstepEmbedViewNativeComponent.d.ts +50 -0
- package/lib/typescript/src/DoorstepEmbedViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/NativeDoorstep.d.ts +36 -0
- package/lib/typescript/src/NativeDoorstep.d.ts.map +1 -0
- package/lib/typescript/src/compat.d.ts +77 -0
- package/lib/typescript/src/compat.d.ts.map +1 -0
- package/lib/typescript/src/doorstep.d.ts +3 -0
- package/lib/typescript/src/doorstep.d.ts.map +1 -0
- package/lib/typescript/src/embed.d.ts +5 -0
- package/lib/typescript/src/embed.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +11 -6
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/internal.d.ts +20 -0
- package/lib/typescript/src/internal.d.ts.map +1 -0
- package/lib/typescript/src/permissions.d.ts +3 -0
- package/lib/typescript/src/permissions.d.ts.map +1 -0
- package/lib/typescript/src/realtime.d.ts +3 -0
- package/lib/typescript/src/realtime.d.ts.map +1 -0
- package/lib/typescript/src/route.d.ts +3 -0
- package/lib/typescript/src/route.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts +1043 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/package.json +47 -65
- package/src/DoorstepEmbedViewNativeComponent.ts +51 -0
- package/src/NativeDoorstep.ts +56 -0
- package/src/compat.ts +240 -0
- package/src/doorstep.ts +110 -0
- package/src/embed.tsx +137 -0
- package/src/index.ts +19 -0
- package/src/internal.ts +61 -0
- package/src/permissions.ts +66 -0
- package/src/realtime.ts +120 -0
- package/src/route.ts +53 -0
- package/src/types.ts +1110 -0
- package/README.md +0 -593
- package/android/libs/doorstepai-tracking-sdk-api-prod-release.aar +0 -0
- package/android/src/main/AndroidManifestNew.xml +0 -2
- package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +0 -1064
- package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepEmbedViewManager.kt +0 -241
- package/android/src/main/java/com/doorstepai/dropoffsdk/DropoffSdkPackage.kt +0 -19
- package/android/src/main/java/com/doorstepai/dropoffsdk/HostForegroundServiceWaiter.kt +0 -98
- package/ios/DoorstepAI.mm +0 -109
- package/ios/DoorstepAI.swift +0 -610
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/DoorstepDropoffSDK.h +0 -19
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Headers/RateReducer.h +0 -117
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +0 -20490
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -415
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +0 -415
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/module.modulemap +0 -6
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/PrivacyInfo.xcprivacy +0 -39
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +0 -201
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Info.plist +0 -20
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +0 -5074
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/DoorstepDropoffSDK.h +0 -19
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Headers/RateReducer.h +0 -117
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -20490
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -415
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -415
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -20490
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -415
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -415
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/module.modulemap +0 -6
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/PrivacyInfo.xcprivacy +0 -39
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +0 -256
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Info.plist +0 -20
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +0 -5075
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +0 -5037
- package/ios/DoorstepEmbedViewManager.mm +0 -29
- package/ios/DoorstepEmbedViewManager.swift +0 -184
- package/ios/DropoffSdk-Bridging-Header.h +0 -2
- package/ios/RootDoorstepAIViewManager.mm +0 -5
- package/ios/RootDoorstepAIViewManager.swift +0 -16
- package/lib/module/DoorstepAI.js +0 -758
- package/lib/module/DoorstepAI.js.map +0 -1
- package/lib/module/DoorstepEmbedView.js +0 -89
- package/lib/module/DoorstepEmbedView.js.map +0 -1
- package/lib/module/RootDoorstepAI.js +0 -118
- package/lib/module/RootDoorstepAI.js.map +0 -1
- package/lib/typescript/embed-preload.example.d.ts +0 -25
- package/lib/typescript/embed-preload.example.d.ts.map +0 -1
- package/lib/typescript/src/DoorstepAI.d.ts +0 -538
- package/lib/typescript/src/DoorstepAI.d.ts.map +0 -1
- package/lib/typescript/src/DoorstepEmbedView.d.ts +0 -68
- package/lib/typescript/src/DoorstepEmbedView.d.ts.map +0 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts +0 -37
- package/lib/typescript/src/RootDoorstepAI.d.ts.map +0 -1
- package/src/DoorstepAI.tsx +0 -1233
- package/src/DoorstepEmbedView.tsx +0 -185
- package/src/RootDoorstepAI.tsx +0 -178
- package/src/index.tsx +0 -32
package/README.md
DELETED
|
@@ -1,593 +0,0 @@
|
|
|
1
|
-
# DoorstepAI Dropoff SDK for React Native
|
|
2
|
-
|
|
3
|
-
The `@doorstepai/dropoff-sdk` provides a set of tools to integrate delivery tracking into your React Native application. This SDK enables seamless coordination between your delivery interface and DoorstepAI's backend systems.
|
|
4
|
-
|
|
5
|
-
## 📦 Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install @doorstepai/dropoff-sdk
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## 🚀 Getting Started
|
|
14
|
-
|
|
15
|
-
### 1. **Import Components**
|
|
16
|
-
|
|
17
|
-
```tsx
|
|
18
|
-
import {
|
|
19
|
-
RootDoorstepAI,
|
|
20
|
-
DoorstepAI
|
|
21
|
-
} from '@doorstepai/dropoff-sdk';
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### 2. **Add `RootDoorstepAI` to Root File**
|
|
25
|
-
|
|
26
|
-
Place the following component in the root of your `App.tsx` or main entry file:
|
|
27
|
-
|
|
28
|
-
```jsx
|
|
29
|
-
import { RootDoorstepAI } from "@doorstepai/dropoff-sdk"
|
|
30
|
-
|
|
31
|
-
const App = () => {
|
|
32
|
-
return (
|
|
33
|
-
<View>
|
|
34
|
-
<RootDoorstepAI
|
|
35
|
-
apiKey="YOUR_API_KEY_HERE"
|
|
36
|
-
notificationTitle="Some Notification Title"
|
|
37
|
-
notificationText="Some Notification Text"
|
|
38
|
-
/>
|
|
39
|
-
{/** Your App Components */}
|
|
40
|
-
)
|
|
41
|
-
}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
This sets the API key, initializes the SDK, and runs the permission sequence when
|
|
45
|
-
the app launches. Every part of it is available a la carte on `DoorstepAI` — the
|
|
46
|
-
component exists so a host that just wants the default flow does not have to write
|
|
47
|
-
it.
|
|
48
|
-
|
|
49
|
-
The notification title/text is passed to Android's foreground service, so you get
|
|
50
|
-
full control over that text.
|
|
51
|
-
|
|
52
|
-
Optional props:
|
|
53
|
-
|
|
54
|
-
| prop | default | what it does |
|
|
55
|
-
|---|---|---|
|
|
56
|
-
| `permissions` | *(every bucket)* | The whitelist handed to `requestPermissions`: **exactly these buckets are requested and nothing else.** See [Permissions](#-permissions). |
|
|
57
|
-
| `requestBackgroundLocation` | `true` | Run the second-phase `locationAlways` request once foreground location is granted. It has to be a second phase because Android auto-denies a background ask bundled with the foreground one. Turn it off if your own onboarding asks for "Allow all the time". |
|
|
58
|
-
| `requestBluetooth` | `true` | **Deprecated** — use `permissions`, which can narrow any bucket rather than just this one. `false` drops the platform's Bluetooth bucket from the default whitelist. |
|
|
59
|
-
|
|
60
|
-
```jsx
|
|
61
|
-
<RootDoorstepAI
|
|
62
|
-
apiKey="YOUR_API_KEY_HERE"
|
|
63
|
-
permissions={['location', 'motion']} // no Bluetooth, no notifications
|
|
64
|
-
/>
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## 📲 Example Usage
|
|
70
|
-
|
|
71
|
-
Use the SDK's functions to track and update delivery events. Below are common examples using buttons.
|
|
72
|
-
|
|
73
|
-
```jsx
|
|
74
|
-
import { Button } from 'react-native';
|
|
75
|
-
import { DoorstepAI } from "@doorstepai/dropoff-sdk"
|
|
76
|
-
|
|
77
|
-
// Start a delivery using a Google Place ID
|
|
78
|
-
<Button title="Start Delivery" onPress={() => {
|
|
79
|
-
DoorstepAI.startDeliveryByPlaceID('destination_place_id', 'delivery_id_1');
|
|
80
|
-
}} />
|
|
81
|
-
|
|
82
|
-
// Start a delivery using an address
|
|
83
|
-
<Button title="Start Delivery by Address" onPress={() => {
|
|
84
|
-
const address = {
|
|
85
|
-
streetNumber: '123',
|
|
86
|
-
route: 'Main St',
|
|
87
|
-
subPremise: 'Apt 4B',
|
|
88
|
-
locality: 'New York',
|
|
89
|
-
administrativeAreaLevel1: 'NY',
|
|
90
|
-
postalCode: '10001'
|
|
91
|
-
};
|
|
92
|
-
DoorstepAI.startDeliveryByAddress(address, 'delivery_id_1');
|
|
93
|
-
}} />
|
|
94
|
-
|
|
95
|
-
// Send "taking_pod" event
|
|
96
|
-
<Button title="Taking POD" onPress={() => {
|
|
97
|
-
DoorstepAI.newEvent('taking_pod', 'delivery_id_1');
|
|
98
|
-
}} />
|
|
99
|
-
|
|
100
|
-
// Send "pod_captured" event
|
|
101
|
-
<Button title="POD Captured" onPress={() => {
|
|
102
|
-
DoorstepAI.newEvent('pod_captured', 'delivery_id_1');
|
|
103
|
-
}} />
|
|
104
|
-
|
|
105
|
-
// End the delivery
|
|
106
|
-
<Button title="End Delivery" onPress={() => {
|
|
107
|
-
DoorstepAI.stopDelivery('delivery_id_1');
|
|
108
|
-
}} />
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## 🔧 SDK API
|
|
114
|
-
|
|
115
|
-
Every method below is a thin pass-through to the native iOS/Android SDK. Where a
|
|
116
|
-
method exists on only one platform it says so, and it **rejects** on the other
|
|
117
|
-
rather than resolving a fabricated value — a helper that quietly resolved
|
|
118
|
-
`true`/`[]` would read as "granted" / "nothing needed" to a cross-platform host.
|
|
119
|
-
|
|
120
|
-
### Setup
|
|
121
|
-
|
|
122
|
-
| method | notes |
|
|
123
|
-
|---|---|
|
|
124
|
-
| `init(notificationTitle?, notificationText?): Promise<void>` | Android only (no-op on iOS). Handled for you by `<RootDoorstepAI />`. The title/text go on the foreground-service notification. |
|
|
125
|
-
| `setApiKey(apiKey): void` | Collection API key. |
|
|
126
|
-
| `setDoorstepGoApiKey(apiKey): void` | Doorstep Go is a **separate credential and realm**; a no-op if you do not use it. |
|
|
127
|
-
| `configureRemoteLogging({ enabled, minLevel?, flushIntervalSeconds?, batchSize?, maxQueueSize? }): void` | iOS only (no-op on Android, which drives remote logging from remote config). |
|
|
128
|
-
| `debugStateJson(): Promise<string>` | iOS only. Free-form internal-state dump for bug reports — never branch on it. |
|
|
129
|
-
| `retryGnssCallbacks(): Promise<boolean>` | Android only. Re-registers raw-GNSS callbacks after the OS silently stops delivering them. |
|
|
130
|
-
| `enableDevMode(apiKey)` / `validateDevModeAccess()` / `disableDevMode()` | Dev tooling. The last two are Android-only and answer `false` on iOS. |
|
|
131
|
-
|
|
132
|
-
### Embedded Doorstep Go map
|
|
133
|
-
|
|
134
|
-
Set the separate Doorstep Go key before mounting the view, then use either the
|
|
135
|
-
named export or `DoorstepAI.EmbedView`:
|
|
136
|
-
|
|
137
|
-
```tsx
|
|
138
|
-
import { DoorstepAI, DoorstepEmbedView } from '@doorstepai/dropoff-sdk';
|
|
139
|
-
|
|
140
|
-
DoorstepAI.setDoorstepGoApiKey('YOUR_DOORSTEP_GO_API_KEY');
|
|
141
|
-
|
|
142
|
-
<DoorstepEmbedView
|
|
143
|
-
address="1600 Pennsylvania Avenue NW, Washington, DC"
|
|
144
|
-
deliveryID="delivery-123"
|
|
145
|
-
inlineHeight={300}
|
|
146
|
-
expandedHeight={600}
|
|
147
|
-
linkAPI="https://api.core.doorstep.ai"
|
|
148
|
-
baseMap="light"
|
|
149
|
-
parkingText="95% of drivers parked here"
|
|
150
|
-
markerColor="#027FB8"
|
|
151
|
-
polygonColor="#3291BC"
|
|
152
|
-
parkingColor="#FF847B"
|
|
153
|
-
onModeChanged={(mode) => console.log('embed mode', mode)}
|
|
154
|
-
onLoad={() => console.log('embed navigation started')}
|
|
155
|
-
onSuccess={() => console.log('embed ready')}
|
|
156
|
-
onError={(message, error) => console.warn(error.code, error.stage, message)}
|
|
157
|
-
/>
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
`DoorstepAI.EmbedView` accepts the same props. `mode` is optional: omit it to let
|
|
161
|
-
the native expand/collapse control own the mode, or provide it as a controlled
|
|
162
|
-
prop. The component defaults its height to the active mode's `inlineHeight` or
|
|
163
|
-
`expandedHeight`; an explicit `style.height` overrides that behavior. Keep the
|
|
164
|
-
view mounted while it is visible, because detaching Android's WebGL-backed map
|
|
165
|
-
destroys its graphics context.
|
|
166
|
-
|
|
167
|
-
For preloading and revealing the same mounted map only after `onSuccess`, see
|
|
168
|
-
[`embed-preload.example.tsx`](./embed-preload.example.tsx). It keeps the native
|
|
169
|
-
view attached at full size with opacity zero while loading, disables touch and
|
|
170
|
-
accessibility while hidden, and handles errors and a bounded preload timeout.
|
|
171
|
-
Use `show={false}` to preload for later, then set it to `true` to reveal once
|
|
172
|
-
ready. Keep its parent mounted and avoid navigation that detaches native screens.
|
|
173
|
-
This retains a live view in memory; it does not download a durable offline map.
|
|
174
|
-
|
|
175
|
-
`onLoad` fires when navigation starts after the signed link is created;
|
|
176
|
-
`onLoading` remains a compatibility alias. `onSuccess` fires when the page reports
|
|
177
|
-
map readiness, so use it to reveal a preloaded map. `onLoad` alone does not mean
|
|
178
|
-
the map is ready. These callbacks require the updated JavaScript package and a
|
|
179
|
-
rebuilt native app on both Android and iOS; an Expo OTA JavaScript update alone
|
|
180
|
-
cannot add missing native callbacks.
|
|
181
|
-
|
|
182
|
-
The optional `mapStyleToggle`, `gpsRecenterToggle`, `streetViewToggle`, and
|
|
183
|
-
`expandContractToggle` props default to `true` on both platforms. `endpoint={{lat, lng}}`
|
|
184
|
-
forwards destination coordinates, `fitGpsOnStart` defaults to `false`, and
|
|
185
|
-
`readyTimeoutSeconds` defaults to `15`. Native button analytics travel directly through
|
|
186
|
-
the native SDK's WebView bridge to Doorstep Go; React Native does not need to forward them.
|
|
187
|
-
|
|
188
|
-
`onError(message, error)` keeps the legacy message as its first argument and supplies a
|
|
189
|
-
`DoorstepEmbedError` as its second: `code`, `stage`, `message`, `isRetryable`, and optional
|
|
190
|
-
`httpStatusCode`/`requestId`. Both platforms use the same field names and enum values.
|
|
191
|
-
`onLoading` reports navigation starting; `onSuccess` reports page readiness.
|
|
192
|
-
|
|
193
|
-
### Deliveries
|
|
194
|
-
|
|
195
|
-
All four starters take the same trailing `StartDeliveryOptions`:
|
|
196
|
-
|
|
197
|
-
```ts
|
|
198
|
-
type StartDeliveryOptions = {
|
|
199
|
-
timeoutSeconds?: number; // hard session cap; OMIT for none
|
|
200
|
-
manualForeground?: boolean; // Android only: host owns the FGS
|
|
201
|
-
customerId?: string;
|
|
202
|
-
driverId?: string;
|
|
203
|
-
};
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
| method | notes |
|
|
207
|
-
|---|---|
|
|
208
|
-
| `startDeliveryByAddressString(address, deliveryId, timeoutSeconds?, coordinates?, options?)` | Preferred. Pass `coordinates` when you have them. |
|
|
209
|
-
| `startDeliveryByAddress(address: AddressType, deliveryId, timeoutSeconds?, coordinates?, options?)` | Structured address. |
|
|
210
|
-
| `startDeliveryByPlaceID(placeID, deliveryId, timeoutSeconds?, options?)` | Google Place ID. |
|
|
211
|
-
| `startDeliveryByLatLng(lat, lng, subUnit, deliveryId, timeoutSeconds?, options?)` | **Deprecated** — use an address method with `coordinates`. |
|
|
212
|
-
| `startDeliveryByPlusCode(plusCode, deliveryId, timeoutSeconds?, options?)` | **Deprecated** — same. |
|
|
213
|
-
| `markDropoff(deliveryId, 'pod' \| 'non_pod'): Promise<void>` | Records completion and gates the route-geofence EXIT stop. |
|
|
214
|
-
| `stopDelivery(deliveryId): Promise<void>` | |
|
|
215
|
-
| `newEvent(eventName, deliveryId, timestamp?): Promise<...>` | `timestamp` is optional epoch **seconds**. |
|
|
216
|
-
|
|
217
|
-
```ts
|
|
218
|
-
type AddressType = {
|
|
219
|
-
streetNumber: string;
|
|
220
|
-
route: string;
|
|
221
|
-
subPremise: string; // apartment, suite, unit
|
|
222
|
-
locality: string; // city
|
|
223
|
-
administrativeAreaLevel1: string; // state/province
|
|
224
|
-
postalCode: string;
|
|
225
|
-
};
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
**`timeoutSeconds` omitted means NO backstop**, which is the native behaviour on
|
|
229
|
-
both platforms. (An older version of this wrapper substituted 3600 s here and
|
|
230
|
-
force-stopped every delivery at one hour.)
|
|
231
|
-
|
|
232
|
-
One cross-platform difference the wrapper does not paper over: **Android resolves
|
|
233
|
-
the server session id** (`{"id":"<uuid>"}`) from a starter and **iOS resolves
|
|
234
|
-
nothing** — native returns `Void` there. Treat a resolved promise as the success
|
|
235
|
-
signal, not a truthy return value. On iOS, listen for the SDK's
|
|
236
|
-
`sessionServerIdAssignedNotification` natively if you need the id.
|
|
237
|
-
|
|
238
|
-
### Route geofencing
|
|
239
|
-
|
|
240
|
-
The SDK fences each stop and auto-starts a delivery on qualified ENTER. The server owns
|
|
241
|
-
radius and EXIT policy (`misc.geofence.waitForDropoff`): true/missing requires `markDropoff`
|
|
242
|
-
before EXIT stops the session; false permits unmarked EXIT and keeps the stop armed.
|
|
243
|
-
Whole-route telemetry is also server controlled. Background routes require location
|
|
244
|
-
authorization and the native SDK's supported foreground/background execution setup;
|
|
245
|
-
Always authorization provides the broadest recovery support.
|
|
246
|
-
|
|
247
|
-
```ts
|
|
248
|
-
type DeliveryStop = {
|
|
249
|
-
deliveryId: string;
|
|
250
|
-
address: string;
|
|
251
|
-
latitude: number;
|
|
252
|
-
longitude: number;
|
|
253
|
-
routeStopId?: string; // stable identity; defaults to deliveryId
|
|
254
|
-
radiusMeters?: number; // deprecated, ignored; radius is server controlled
|
|
255
|
-
customerId?: string;
|
|
256
|
-
driverId?: string;
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
type RouteOptions = {
|
|
260
|
-
defaultRadiusMeters?: number; // deprecated, ignored
|
|
261
|
-
timeoutSeconds?: number; // per auto-started session
|
|
262
|
-
autoStopAfterDropoffSeconds?: number;
|
|
263
|
-
manualForeground?: boolean; // Android only; ignored on iOS
|
|
264
|
-
maxAgeSeconds?: number; // Android only
|
|
265
|
-
clientRouteId?: string;
|
|
266
|
-
driverId?: string;
|
|
267
|
-
metadata?: Record<string, string>;
|
|
268
|
-
};
|
|
269
|
-
// RouteGeofenceOptions remains a deprecated alias for source compatibility.
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
For Android routes using a host-owned location foreground service, start that
|
|
273
|
-
service while the app is visible, then await readiness before starting the route:
|
|
274
|
-
|
|
275
|
-
```ts
|
|
276
|
-
await Location.startLocationUpdatesAsync(LOCATION_TASK, locationOptions);
|
|
277
|
-
await DoorstepAI.waitForHostForegroundService({
|
|
278
|
-
timeoutMs: 10_000,
|
|
279
|
-
serviceClassName: 'expo.modules.location.services.LocationTaskService',
|
|
280
|
-
});
|
|
281
|
-
await DoorstepAI.startRouteGeofencing(stops, { manualForeground: true });
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
`waitForHostForegroundService(options?): Promise<void>` is Android-only and
|
|
285
|
-
rejects on iOS. It checks immediately, then every 100 ms using Android's own-app
|
|
286
|
-
running-service query. `timeoutMs` defaults to 10000 and accepts integer values
|
|
287
|
-
from 0 to 120000; zero performs one immediate check. Omit `serviceClassName` to
|
|
288
|
-
accept any foreground service in your app except Doorstep's tracking service.
|
|
289
|
-
For Expo, match its service class as above so unrelated services cannot satisfy
|
|
290
|
-
the wait. Rejections have native codes `HOST_FGS_TIMEOUT`,
|
|
291
|
-
`HOST_FGS_CHECK_FAILED`, or `HOST_FGS_CANCELLED` (module teardown).
|
|
292
|
-
The query is deprecated but still supports inspecting the caller's own services.
|
|
293
|
-
|
|
294
|
-
Success is a snapshot of foreground state, not proof of location-service type,
|
|
295
|
-
permissions, fresh fixes, or future uptime. Keep the host location service alive
|
|
296
|
-
for the entire route. This method does not start a service, initialize tracking,
|
|
297
|
-
or alter `manualForeground`. Updating JavaScript alone is insufficient: rebuild
|
|
298
|
-
the native Android app after updating the SDK.
|
|
299
|
-
|
|
300
|
-
| method | notes |
|
|
301
|
-
|---|---|
|
|
302
|
-
| `startRouteGeofencing(stops, options?): Promise<void>` | Rejects if no stop has a `deliveryId` + coordinates. |
|
|
303
|
-
| `updateRouteStops(stops): Promise<void>` | Replaces the list in place. **Removing a stop that has an active session stops it immediately** (reason `removed_from_route`) — not EXIT-driven, not dropoff-gated. Does not extend the route lease. |
|
|
304
|
-
| `stopRouteGeofencing(): Promise<void>` | Teardown is handed to the tracking service / region manager, so `getMonitoredStops()` can still show the old list for a moment. |
|
|
305
|
-
| `resumeRouteGeofencingIfNeeded(): Promise<void>` | **Call this on every launch.** A per-launch host obligation: without it Android silently loses route monitoring across a process kill. |
|
|
306
|
-
| `getMonitoredStops(): Promise<DeliveryStop[]>` | The SDK's *intent* registry, not the OS's registered-region set. |
|
|
307
|
-
| `isRouteGeofencingActive(): Promise<boolean>` | Durable route intent, independent of an active delivery. |
|
|
308
|
-
| `getActiveRouteId(): Promise<string \| null>` | Canonical SDK route UUID on either platform. |
|
|
309
|
-
| `getActiveRouteRevision(): Promise<number \| null>` | Current manifest revision, or null without a route. |
|
|
310
|
-
| `addMetadata(deliveryId, metadata): Promise<void>` | Attach JSON metadata before or after a delivery session starts. |
|
|
311
|
-
| `addGeofenceSessionListener(cb): EmitterSubscription \| undefined` | `{ deliveryId, type: 'STARTED' \| 'STOPPED', reason }`. Call `.remove()` to unsubscribe. |
|
|
312
|
-
|
|
313
|
-
```ts
|
|
314
|
-
const sub = DoorstepAI.addGeofenceSessionListener(({ deliveryId, type, reason }) => {
|
|
315
|
-
console.log(type, deliveryId, reason);
|
|
316
|
-
});
|
|
317
|
-
await DoorstepAI.startRouteGeofencing(stops, { clientRouteId: 'route-123', driverId: 'driver-123' });
|
|
318
|
-
// ...later
|
|
319
|
-
sub?.remove();
|
|
320
|
-
```
|
|
321
|
-
|
|
322
|
-
### Permissions
|
|
323
|
-
|
|
324
|
-
`checkPermissions`, `checkPermissionsJson`, `requestPermissions`,
|
|
325
|
-
`allPermissionBuckets`, `notePermissionRequestResult`, and the Android-only query
|
|
326
|
-
helpers. See [Permissions](#-permissions) below — that section is the reference.
|
|
327
|
-
|
|
328
|
-
---
|
|
329
|
-
|
|
330
|
-
## ✅ Best Practices
|
|
331
|
-
|
|
332
|
-
- Always wrap `DoorstepAI` API calls in `try/catch` or use `.catch()` for better error handling when applicable.
|
|
333
|
-
- Use the `RootDoorstepAI` component only **once** at the **root** of your app.
|
|
334
|
-
- Ensure your API key is securely stored and never hardcoded in production.
|
|
335
|
-
- Always provide a unique `deliveryId` for each delivery session.
|
|
336
|
-
- Keep track of the `deliveryId` throughout the delivery lifecycle as it's required for all operations.
|
|
337
|
-
|
|
338
|
-
---
|
|
339
|
-
|
|
340
|
-
## 🧪 Debugging
|
|
341
|
-
|
|
342
|
-
If something isn't working as expected:
|
|
343
|
-
|
|
344
|
-
- Check console logs for `DoorstepAI initialized` or error messages.
|
|
345
|
-
- Verify that the API key is valid and accepted by the SDK.
|
|
346
|
-
- Ensure your permissions (e.g., location) are correctly set up on the device.
|
|
347
|
-
- Verify that you're using the correct `deliveryId` for each operation.
|
|
348
|
-
|
|
349
|
-
---
|
|
350
|
-
|
|
351
|
-
## 🔐 Permissions
|
|
352
|
-
|
|
353
|
-
To use the `@doorstepai/dropoff-sdk` effectively, you must include the appropriate permissions in your mobile app's configuration files.
|
|
354
|
-
|
|
355
|
-
### 📱 iOS
|
|
356
|
-
|
|
357
|
-
In your `Info.plist`, include the following usage descriptions:
|
|
358
|
-
|
|
359
|
-
```xml
|
|
360
|
-
<!-- Location Usage Descriptions -->
|
|
361
|
-
<key>NSLocationWhenInUseUsageDescription</key>
|
|
362
|
-
<string>This app requires access to your location for delivery tracking.</string>
|
|
363
|
-
<key>NSLocationAlwaysAndWhenInUseUsage</key>
|
|
364
|
-
<string>This app requires access to your location to provide continuous tracking even in the background.</string>
|
|
365
|
-
|
|
366
|
-
<!-- Optional: Motion & Sensor Data (if applicable) -->
|
|
367
|
-
<key>NSMotionUsageDescription</key>
|
|
368
|
-
<string>This app uses motion data to enhance delivery tracking accuracy.</string>
|
|
369
|
-
|
|
370
|
-
<!-- Required if you let Bluetooth default to on (see the permission API below).
|
|
371
|
-
Without this key the SDK skips the Bluetooth request with a warning. -->
|
|
372
|
-
<key>NSBluetoothAlwaysUsageDescription</key>
|
|
373
|
-
<string>This app uses Bluetooth to improve delivery location accuracy.</string>
|
|
374
|
-
|
|
375
|
-
<!-- Background Location Mode -->
|
|
376
|
-
<key>UIBackgroundModes</key>
|
|
377
|
-
<array>
|
|
378
|
-
<string>location</string>
|
|
379
|
-
</array>
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
### 🤖 Android
|
|
383
|
-
|
|
384
|
-
The SDK's own manifest already declares every permission it needs, so manifest
|
|
385
|
-
merging supplies them to your app. Declare these only if you want them visible in
|
|
386
|
-
your own `AndroidManifest.xml`:
|
|
387
|
-
|
|
388
|
-
```xml
|
|
389
|
-
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
390
|
-
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
391
|
-
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
|
392
|
-
<uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" />
|
|
393
|
-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
394
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
395
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
|
|
396
|
-
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
397
|
-
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
|
|
398
|
-
<uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" />
|
|
399
|
-
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
400
|
-
|
|
401
|
-
<uses-feature android:name="android.hardware.sensor.accelerometer" />
|
|
402
|
-
<uses-feature android:name="android.hardware.sensor.gyroscope" />
|
|
403
|
-
<uses-feature android:name="android.hardware.sensor.barometer" />
|
|
404
|
-
<uses-feature android:name="android.hardware.sensor.compass" />
|
|
405
|
-
<uses-feature android:name="android.hardware.sensor.proximity" />
|
|
406
|
-
```
|
|
407
|
-
|
|
408
|
-
### Requesting them at runtime
|
|
409
|
-
|
|
410
|
-
`<RootDoorstepAI />` does this for you. Use the API directly if you drive
|
|
411
|
-
permissions from your own onboarding flow — every method delegates to the native
|
|
412
|
-
SDK's own whitelist permission API, so the buckets, the states, the prompt order
|
|
413
|
-
and the "what will I decline to ask, and why" planning stay whatever the SDK says
|
|
414
|
-
they are.
|
|
415
|
-
|
|
416
|
-
**One requester, both platforms. No argument requests everything; an argument is a
|
|
417
|
-
whitelist and nothing outside it is ever asked for.** Do not branch on
|
|
418
|
-
`Platform.OS` to ask for permissions — the branch is inside the wrapper, on
|
|
419
|
-
`DoorstepAI.requestPermissions(_ permissions:…)` (iOS) and
|
|
420
|
-
`DoorstepAI.requestPermissions(activity, permissions)` (Android).
|
|
421
|
-
|
|
422
|
-
```ts
|
|
423
|
-
await DoorstepAI.requestPermissions(); // every bucket
|
|
424
|
-
await DoorstepAI.requestPermissions(['locationWhenInUse']); // only this one
|
|
425
|
-
await DoorstepAI.requestPermissions({ // object form
|
|
426
|
-
permissions: ['location', 'motion'],
|
|
427
|
-
onlyIfNotDetermined: true, // iOS
|
|
428
|
-
timeoutSeconds: 60,
|
|
429
|
-
});
|
|
430
|
-
```
|
|
431
|
-
|
|
432
|
-
#### Buckets
|
|
433
|
-
|
|
434
|
-
A **bucket** is one user-visible OS decision. They are deliberately OS-specific,
|
|
435
|
-
because the platforms are — only the two location buckets exist on both:
|
|
436
|
-
|
|
437
|
-
| bucket | iOS | Android |
|
|
438
|
-
|---|---|---|
|
|
439
|
-
| `locationWhenInUse` | `requestWhenInUseAuthorization` | `ACCESS_FINE_LOCATION` + `ACCESS_COARSE_LOCATION` |
|
|
440
|
-
| `locationAlways` | `requestAlwaysAuthorization` | `ACCESS_BACKGROUND_LOCATION` |
|
|
441
|
-
| `motionFitness` | Motion & Fitness | — |
|
|
442
|
-
| `activityRecognition` | — | `ACTIVITY_RECOGNITION` |
|
|
443
|
-
| `bluetooth` | `CBCentralManager` | — |
|
|
444
|
-
| `bluetoothScan` | — | `BLUETOOTH_SCAN` (API 31+) |
|
|
445
|
-
| `nearbyWifiDevices` | — | `NEARBY_WIFI_DEVICES` (API 33+) |
|
|
446
|
-
| `notifications` | — | `POST_NOTIFICATIONS` (API 33+) |
|
|
447
|
-
|
|
448
|
-
You can pass **either platform's** name on either platform: the wrapper translates
|
|
449
|
-
the counterpart (`motionFitness` ⇄ `activityRecognition`, `bluetooth` ⇄
|
|
450
|
-
`bluetoothScan`), so one whitelist works on both without a `Platform.OS` branch. A
|
|
451
|
-
name with no counterpart at all (`notifications` on iOS) comes back in
|
|
452
|
-
`unsupported` rather than being dropped in silence. The coarse aliases `'location'`
|
|
453
|
-
(→ both location buckets), `'motion'` / `'activity'` and `'bluetooth'` are still
|
|
454
|
-
accepted — they are what the published 2.x API took.
|
|
455
|
-
|
|
456
|
-
`DoorstepAI.allPermissionBuckets()` returns this platform's list if you want to
|
|
457
|
-
build a permission screen without hardcoding it.
|
|
458
|
-
|
|
459
|
-
#### States
|
|
460
|
-
|
|
461
|
-
Eight states, **the same names on both platforms**, so host code branches once:
|
|
462
|
-
|
|
463
|
-
| state | meaning |
|
|
464
|
-
|---|---|
|
|
465
|
-
| `granted` | held right now |
|
|
466
|
-
| `notDetermined` | never asked; a request will show a dialog |
|
|
467
|
-
| `whenInUseOnly` | **foreground location held, background not.** Only ever reported for `locationAlways` |
|
|
468
|
-
| `denied` | refused, another prompt is still possible (Android only) |
|
|
469
|
-
| `permanentlyDenied` | refused, no further prompt possible — deep-link to Settings. Every iOS refusal lands here |
|
|
470
|
-
| `restricted` | blocked by device policy / MDM / Screen Time |
|
|
471
|
-
| `unavailable` | the OS version or the hardware does not have it. Not a failure |
|
|
472
|
-
| `notDeclared` | **your build is missing the declaration** (`<uses-permission>` / `NS…UsageDescription`). Not a user refusal — fixable by you |
|
|
473
|
-
|
|
474
|
-
`whenInUseOnly` is the load-bearing one: **never treat it as `granted`.** Background
|
|
475
|
-
collection and route geofencing do not work in it.
|
|
476
|
-
|
|
477
|
-
```ts
|
|
478
|
-
// Read the current state. Pure observation — never shows a dialog.
|
|
479
|
-
const { statuses } = await DoorstepAI.checkPermissions();
|
|
480
|
-
if (statuses.locationAlways?.state === 'whenInUseOnly') {
|
|
481
|
-
// foreground-only: no background collection, no route geofencing
|
|
482
|
-
}
|
|
483
|
-
if (statuses.locationWhenInUse?.state === 'permanentlyDenied') {
|
|
484
|
-
// a request would be answered instantly with no dialog — send them to Settings
|
|
485
|
-
}
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
#### What a request answers with
|
|
489
|
-
|
|
490
|
-
`requestPermissions` **resolves only after the user has answered**, with the settled
|
|
491
|
-
state — a status read while a prompt is still up would be a lie. Everything native
|
|
492
|
-
declined to ask comes back explained rather than silently not happening:
|
|
493
|
-
|
|
494
|
-
```ts
|
|
495
|
-
const result = await DoorstepAI.requestPermissions();
|
|
496
|
-
result.requested; // buckets a dialog was actually raised for
|
|
497
|
-
result.alreadyDetermined; // already answered, so left alone
|
|
498
|
-
result.unavailable; // absent on this device / missing from this build
|
|
499
|
-
result.deferred; // deliberately skipped, with the reason
|
|
500
|
-
result.statuses; // state of every whitelisted bucket, after settling
|
|
501
|
-
result.permissions; // legacy { location, motion, bluetooth } view
|
|
502
|
-
result.unsupported; // whitelist entries this platform has no bucket for
|
|
503
|
-
```
|
|
504
|
-
|
|
505
|
-
**Expect `locationAlways` in `deferred` on a full-whitelist call.** It is only ever
|
|
506
|
-
asked *alone* and only *after* foreground location is granted — Android auto-denies
|
|
507
|
-
a bundled background ask, and iOS shows the When-In-Use prompt first and offers the
|
|
508
|
-
Always upgrade later on its own schedule. So the standard two-phase flow is:
|
|
509
|
-
|
|
510
|
-
```ts
|
|
511
|
-
const first = await DoorstepAI.requestPermissions();
|
|
512
|
-
if (first.statuses.locationWhenInUse?.state === 'granted') {
|
|
513
|
-
await DoorstepAI.requestPermissions(['locationAlways']);
|
|
514
|
-
}
|
|
515
|
-
```
|
|
516
|
-
|
|
517
|
-
Device-measured, Moto G stylus 5G / Android 14: a full-whitelist call raises the
|
|
518
|
-
five askable dialogs in one batch and returns
|
|
519
|
-
`deferred: { locationAlways: 'ACCESS_BACKGROUND_LOCATION cannot be requested before
|
|
520
|
-
foreground location is granted…' }`. iPhone 16 Pro / iOS 26.6: it raises
|
|
521
|
-
`locationAlways`, `motionFitness` and `bluetooth` one at a time and returns
|
|
522
|
-
`deferred: { locationWhenInUse: 'covered by the locationAlways prompt in this call…' }`.
|
|
523
|
-
|
|
524
|
-
A second call made while one is still in flight does not interleave prompt
|
|
525
|
-
sequences: iOS reports every bucket as `deferred`, Android rejects with
|
|
526
|
-
`E_PERMISSION_REQUEST_IN_FLIGHT`. If the user never answers, the wait gives up after
|
|
527
|
-
`timeoutSeconds` (default 120 s) and resolves with the state as it stands.
|
|
528
|
-
|
|
529
|
-
iOS guidance from the SDK: call it **once, from a user-initiated flow**, not from
|
|
530
|
-
app launch.
|
|
531
|
-
|
|
532
|
-
#### Android: forward your grant results (optional, worth doing)
|
|
533
|
-
|
|
534
|
-
Android reports *identical* signals for "permanently denied" and "never asked", and
|
|
535
|
-
a **cancelled** dialog leaves the same trace as a denial. The SDK refuses to guess,
|
|
536
|
-
so without a real answer a refusal reports as the re-askable `denied`. Forward the
|
|
537
|
-
result and you get `permanentlyDenied` — and the JS promise settles on the answer
|
|
538
|
-
itself instead of on a window-focus heuristic:
|
|
539
|
-
|
|
540
|
-
```kotlin
|
|
541
|
-
// MainActivity.kt
|
|
542
|
-
import com.doorstepai.dropoffsdk.DoorstepAIModule
|
|
543
|
-
|
|
544
|
-
override fun onRequestPermissionsResult(
|
|
545
|
-
requestCode: Int, permissions: Array<out String>, grantResults: IntArray
|
|
546
|
-
) {
|
|
547
|
-
super.onRequestPermissionsResult(requestCode, permissions, grantResults)
|
|
548
|
-
DoorstepAIModule.notePermissionRequestResult(this, permissions, grantResults)
|
|
549
|
-
}
|
|
550
|
-
```
|
|
551
|
-
|
|
552
|
-
There is a JS entry point too (`DoorstepAI.notePermissionRequestResult(permissions,
|
|
553
|
-
grantResults)`) if the values reach you there instead.
|
|
554
|
-
|
|
555
|
-
#### Legacy three-value view
|
|
556
|
-
|
|
557
|
-
`statuses` is the real answer, but every result also carries the
|
|
558
|
-
`{ location, motion, bluetooth }` × `granted | denied | prompt` map the published
|
|
559
|
-
2.x API returned, so existing hosts keep working. It is collapsed from `statuses`:
|
|
560
|
-
`whenInUseOnly` and `unavailable` → `granted`, `notDetermined` → `prompt`,
|
|
561
|
-
everything else (including `notDeclared`) → `denied`.
|
|
562
|
-
|
|
563
|
-
Two things it cannot tell you, which is why it is deprecated: While-In-Use vs
|
|
564
|
-
Always, and a host-build mistake vs a user refusal.
|
|
565
|
-
|
|
566
|
-
`motion` stays unconditionally `granted` on Android, exactly as in 2.x. That is the
|
|
567
|
-
honest answer to what the key asks — Android's IMU streams (accel, gyro, mag,
|
|
568
|
-
rotation vectors, barometer) need **no** runtime grant, so motion collection is
|
|
569
|
-
always possible there. `activityRecognition` adds only the step-counter streams,
|
|
570
|
-
and the SDK never blocks a session on it; read `statuses.activityRecognition` for
|
|
571
|
-
its real state. On iOS `motion` does track Motion & Fitness, which genuinely gates
|
|
572
|
-
`CMMotionActivityManager`, `CMSensorRecorder` and absolute altitude.
|
|
573
|
-
|
|
574
|
-
#### Android-only query helpers
|
|
575
|
-
|
|
576
|
-
These reject on iOS rather than resolving `true`/`[]`, which a cross-platform host
|
|
577
|
-
would read as "granted" / "nothing needed".
|
|
578
|
-
|
|
579
|
-
```ts
|
|
580
|
-
await DoorstepAI.hasRequiredPermissions(); // -> boolean
|
|
581
|
-
await DoorstepAI.hasBackgroundLocationPermission(); // -> boolean
|
|
582
|
-
await DoorstepAI.requestBackgroundLocationPermission();
|
|
583
|
-
|
|
584
|
-
// Want the grant results in JS? Request the SDK's own flat list with RN's API.
|
|
585
|
-
const required = await DoorstepAI.getRequiredPermissions();
|
|
586
|
-
await PermissionsAndroid.requestMultiple(required);
|
|
587
|
-
```
|
|
588
|
-
|
|
589
|
-
`requestPermissions(['locationAlways'])` is the cross-platform way to express the
|
|
590
|
-
same intent as `requestBackgroundLocationPermission()`, and it reports back why if
|
|
591
|
-
the OS would have refused to show the prompt.
|
|
592
|
-
|
|
593
|
-
---
|
|
Binary file
|