Kwikpass Flutter SDK Integration Guide
Introduction
This guide provides complete instructions for integrating the Kwikpass SDK into your Flutter application, enabling seamless Phone + OTP login and analytics event tracking. The Flutter implementation mirrors the functionality of the React Native version while following Flutter best practices.
Features
- ✅ Phone + OTP single login experience
- 📊 Analytics integration (page view & structured events)
- 👤 Guest login support
- 🎨 Customizable UI components
Integration Steps
1. Add Dependency
Add to your pubspec.yaml
:
dependencies:
gokwik: ^1.0.0
Libraries
- api/api_routes
- api/api_service
- api/base_response
- api/http_snowplow_tracker
- api/httpClient
- api/sdk_config
- api/shopify_service
- api/snowplow
- api/snowplow_client
- api/snowplow_events
- checkout/checkout_shopify
- checkout/kp_checkout
- config/cache_instance
- config/key_congif
- config/storege
- config/types
- flow_result
- go_kwik
- go_kwik_client
- module/advertise
- module/downloader
- module/logger
- module/single_use_data
- notification/data/notifiaction_data
- notification/data/notification_builder
- notification/kwik_chat_notification
- notification/notification_helper
- notification/strategy/andriod_push
- notification/strategy/apple_push
- notification/strategy/notification_strategy
- screens/create_account
- screens/cubit/root_cubit
- screens/cubit/root_model
- screens/login
- screens/main_screen
- screens/root
- screens/shopify
- screens/verify_code