Skip to content

Commit

Permalink
Trigger CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Oct 3, 2023
1 parent 00130b5 commit 8c0c8ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import 'package:lantern/common/common.dart';
Future<void> main() async {
// CI will be true only when running appium test
var CI = const String.fromEnvironment('CI', defaultValue: 'false');
var boolCI = bool.fromEnvironment("CI", defaultValue: false);
var boolCI = const String.fromEnvironment("ci", defaultValue: 'false');
print('Appium CI is running $CI and bool $boolCI');

if (CI == 'true') {
enableFlutterDriverExtension();
}

WidgetsFlutterBinding.ensureInitialized();
await _initGoogleMobileAds();
await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
Expand Down

0 comments on commit 8c0c8ba

Please sign in to comment.