debug prints :)

This commit is contained in:
Vadim 2024-03-05 11:19:52 +01:00
parent 80f33d3b4d
commit ecf3643ffe
3 changed files with 11 additions and 6 deletions

View file

@ -48,6 +48,12 @@ jobs:
flutter pub get
flutter pub run intl_utils:generate
flutter analyze lib --fatal-infos
if [ "${{ matrix.os }}" == "macos-13" ]
then
cd ios
pod install
cd ..
fi
flutter build ${{ matrix.os == 'ubuntu-latest' && 'apk --debug' || 'ios --no-codesign --simulator --debug' }} $BUILD_ARGS -t $TARGET
- name: Enable KVM
@ -74,8 +80,4 @@ jobs:
model: "iPhone 15 Pro"
- name: Run tests
if: ${{ matrix.os == 'macos-13' }}
run: |
cd ios
pod install
cd ..
flutter test $TARGET $BUILD_ARGS
run: flutter test $TARGET $BUILD_ARGS

View file

@ -50,6 +50,7 @@ class CameraContainerBloc extends EvSourceBlocBase<CameraContainerEvent, CameraC
communicationBloc,
const CameraInitState(),
) {
print('CameraContainerBloc');
_observer = _WidgetsBindingObserver(_appLifecycleStateObserver);
WidgetsBinding.instance.addObserver(_observer);

View file

@ -5,7 +5,9 @@ class MockCameraContainerBloc extends CameraContainerBloc {
super._meteringInteractor,
super.communicationBloc,
super._analytics,
);
) {
print('MockCameraContainerBloc');
}
@override
Future<void> _onRequestPermission(_, Emitter emit) async {