Flutter Luciq Migration
Migrate a Flutter app from the Instabug SDK to Luciq. Covers the pubspec dependency swap, the Instabug to Luciq class rename, and the CLI dry run.
Last updated
Migrate a Flutter app from the Instabug SDK to Luciq. Covers the pubspec dependency swap, the Instabug to Luciq class rename, and the CLI dry run.
This comprehensive migration guide helps you migrate from Instabug to Luciq Flutter SDK, covering all recent changes, API updates, and configuration requirements.
Summary of Core Changes: Dependency: "instabug_flutter":xxx → "luciq_flutter": "xxx" Main Class: Instabug -> Luciq
Ensure you have a clean git working directory (no uncommitted changes)
Make sure you’re using Instabug version 16.0.0 or later.
Make sure you're in the root directory of your Flutter project
Instabug.init()
Luciq.init()
Main initialization method
Instabug.setEnabled()
Luciq.setEnabled()
Enable/disable functionality
Instabug.show()
Luciq.show()
Show bug reporting UI
Instabug.setUserData()
Luciq.setUserData()
Set user data
Instabug.identifyUser()
Luciq.identifyUser()
Identify user
Instabug.logOut()
Luciq.logOut()
Log out user
InstabugConfig
LuciqConfig
Configuration interface
Instabug.invocationEvent
Luciq.invocationEvent
Invocation events enum
Instabug.LogLevel
Luciq.LogLevel
Log level enum
Instabug.ColorTheme
Luciq.ColorTheme
Color theme enum
Instabug.IBGLocale
Luciq.LuciqLocale
Locale enum
IBG_*
LCQ_*
All prefixed constants in iOS
IBG_*
LUCIQ_*
All prefixed constants in Android
LUCIQ_APP_TOKEN
Your Luciq application token
LUCIQ_API_KEY
Your Luciq API key
LUCIQ_AUTO_UPLOAD_ENABLE
Enable/disable automatic symbol upload
Documentation: Luciq Flutter Documentation GitHub Issues: Luciq Flutter GitHub
Last updated
## Run tests
flutter test
## Build and test on devices
flutter build apk --release
flutter build ios --release