Install in Flutter
One Dart file plus the http package.
Platform guidesPro
Mobile SDKs are available on Pro and above.
bash
curl -o lib/deepsync_flutter.dart https://ingest.deepsync.in/sdk/mobile/deepsync_flutter.dart
flutter pub add httpdart
// 2. Initialize before runApp (main.dart)
import 'deepsync_flutter.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await DeepSync.init(
projectId: 'YOUR_PROJECT_ID',
ingestUrl: 'https://ingest.deepsync.in',
);
runApp(const MyApp());
}
// 3. Track interactions and errors where relevant
DeepSync.trackWidgetInteraction(widgetType: 'Button', action: 'tap', label: 'Buy');
DeepSync.trackError(error, stackTrace: stack);Related
Still have a question?
Support is included on every plan, including Free. Tell us what you're trying to do and we'll point you at the right page — or fix the docs.
Contact support