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

View file

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

View file

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