Skip to content

History / Android Session and App Lifecycle Management

Revisions

  • Android: SmartDrive 1.6.6 / Consolidated SDK 1.1.6 — initialize(), vehicleSelected(), compileSdk 36 Hub, Simplified integration, TripWrapper SDK, Migration guide, Lifecycle, Diagnostics, Demo overview and the framework page move to 1.6.6 / 1.1.6 (BLE 1.5.6, shared classes 1.1.7): five lifecycle calls with initialize() restoring the last accepted configuration at process start, vehicleSelected() with the unit type for apps without PortalAPI in place of the host's vehicleUnitType(), configurations comparing by value, and the compileSdk 36 requirement the AGP 9 builds introduce. The Lifecycle page's restart story now rests on initialize rather than start. Release notes gain the v1.6.6 entry. Android: re-apply start when a setting is chosen after launch The SmartDriveDemo field log of 2026-10-07 showed the SDK started in SMART mode before the first-run screen set BLE, so it gated recording on a permission the app never requested. The demo now calls ScopeSDK.start again from AppTypeActivity; the integration page gets a pitfall for settings chosen after launch and the demo overview shows the extra call in the lifecycle and the sequence. Android: SmartDrive 1.6.7 / Consolidated SDK 1.1.7 — tripCounts stays current; demo Local trips Release notes entry for 1.6.7, the 1.1.7 row in the Consolidated SDK versions table, dependency snippets and "last updated" lines on every Android page, the tripCounts row on the TripWrapper page with when the flow refreshes, and the demo overview's new Local trips block. Android: confirmProcessingTrips (SmartDrive 1.6.8) in the API reference, the integration guarantees and the demo overview Android: SmartDrive 1.6.8 / Consolidated SDK 1.1.8 release rows Release notes v1.6.8 with the latest-version banner, the 1.1.8 row and paragraph in the hub page's version table, dependency snippets and last-updated lines on the integration, diagnostics, TripWrapper, migration, SmartDrive and demo pages, and the migration guide's processing-check rows pointing at confirmProcessingTrips. Android: retryFailedTrips as a manual send (SmartDrive 1.6.9); the demo's Auto-resend failed trips switch Android: SmartDrive 1.6.9 / Consolidated SDK 1.1.9 release rows

    @AigarsM AigarsM committed Oct 13, 2026
  • Android: demo links point at master The SmartDriveDemo facade integration is merged into master, so the 23 links into the demo repository move from the feature branch to master, and the prose that named the branch names the repository.

    @AigarsM AigarsM committed Sep 30, 2026
  • Android: session and app lifecycle guide Counterpart of the iOS lifecycle page for the facade: check the persisted session at launch, start the SDK from Application.onCreate so a sticky-service restart re-arms it, log out from one method, plus the Android-specific mistakes (start in an Activity, stop() from onStop, a grant without permissionsChanged, a permission revoked in Settings). Linked from Home, the sidebar and the hub's integration guides.

    @AigarsM AigarsM committed Sep 30, 2026