Skip to content

Commit

Permalink
Add logs around Liquid SDK initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Jun 27, 2024
1 parent d8b3069 commit e666643
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ void main() async {
[DeviceOrientation.portraitUp, DeviceOrientation.portraitDown],
);
// Initialize library
await liquid_sdk.initialize();
try {
print("Initializing Liquid SDK");
await liquid_sdk.initialize();
print("Initialized Liquid SDK");
} on Exception catch (e) {
print("Failed to initialize Liquid SDK. Error: $e");
}
//initializeDateFormatting(Platform.localeName, null);
BreezDateUtils.setupLocales();
//await Firebase.initializeApp();
// Initialize logger
final injector = ServiceInjector();
var breezLogger = injector.breezLogger;

Expand Down

0 comments on commit e666643

Please sign in to comment.