0 purchases
aggregatori capaci sdk tracking
The AggregatoriCapaci sdk sos is a Flutter package to integrate location-based garage finder for mobile device.
Getting started #
Environment:
flutter: ">=3.0.0"
sdk: '>=3.1.3 <4.0.0'
Import package into pubspec.yaml
dependencies:
aggregatori_capaci_sdk_tracking: 0.0.1
copied to clipboard
Usage:
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await AppTracking.instance.init('your base url');
runApp(MyApp());
}
copied to clipboard
After Login success
AppTracking.instance.trackLogin('YOUR_USER_ID',ePassId:'YOUR_EPASS_ID');
copied to clipboard
Track dynamic event
var content = {
'key1': 'value1',
'key2': value2,
'userId': your_user_id,
};
AppTracking.instance.trackEvent('your_event_name': content)
copied to clipboard
Track observer screen
import 'package:aggregatori_capaci_sdk_tracking/aggregatori_capaci_sdk_tracking.dart';
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
navigatorObservers: [CarDoctorObserver()],
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.