Run the sample app
Use a physical device. The iOS SDK is added via Swift Package Manager, so no pod install step is needed for it.
flutter pub get
flutter run -d <device-id>
Channel contract
Method channel — com.spyne.spyne_sdk_flutter/spyne
start — begins (or resumes) a shoot.
| Argument | Type | Required | Default |
|---|---|---|---|
| userId | String | Yes | "" |
| vin | String | At least one identifier | "" |
| stockNumber | String | At least one identifier | "" |
| registrationNumber | String | At least one identifier | "" |
| locale | String | No | "en" |
Resolves null when the shoot is launched, not when it completes — completion arrives on the event channel.
Event channel — com.spyne.spyne_sdk_flutter/spyne_events
Every event is { "event": "<name>", "data": { … } }.
| event | data keys |
|---|---|
| onShootInitiated | shootData, dealerVinId, mediaId, status |
| onShootCompleted | shootData, dealerVinId, mediaId, isReshoot |
| onShootExit | shootData, dealerVinId, mediaId |
shootData = { "vin": String?, "stockNumber": String?, "registrationNumber": String? }.
Related pages
For deeper SDK features — resuming a shoot, tracking and managing uploads, customizing the shooting flow, and handling lifecycle callbacks — refer to the native documentation for the platform you are integrating:
- iOS → iOS SDK
- Android → Android SDK
- Sample project → spyne-flutter-sample on GitHub
Updated 20 days ago
Did this page help you?
