Skip to content

Setup issues #275

@ThinLizzy13

Description

@ThinLizzy13

ThingsBoard Platform Version

latest

Affected platforms

Ios

ThingsBoard Platform Type

Self-hosted ThingsBoard

App Release Version

1.7 (latest)

Steps to reproduce

  1. Followed instructions as per https://thingsboard.io/docs/pe/mobile/getting-started/#app-wont-build.
  • For the bundle I was unsure what to fill in for the Application Package Name: I created my own "com.sensedsportsapp.ios.app" - please advise if this is ok or if I should get this from elsewhere
  1. Using VS code terminal: git clone -b master https://github.com/thingsboard/flutter_thingsboard_pe_app.git
  2. Cocoa pods error: followed [these](Flutter: CocoaPods's specs repository is too out-of-date to satisfy dependencies) instructions to fix
  3. When I try run the next step i.e. flutter run --dart-define-from-file configs.json I get the below errors.

Actual results

base) USER@USER-MacBook-Pro flutter_thingsboard_pe_app % flutter run --dart-define-from-file configs.json
Launching lib/main.dart on Sensed in debug mode...
Running Xcode build...
Xcode build done. 25.4s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

Writing result bundle at path:
/var/folders/vv/qx7zwq497vz7mrk1ygdz99ym0000gn/T/flutter_tools.a99RWF/flutter_ios_build_temp_
dir6t2lRq/temporary_xcresult_bundle

lib/core/entity/entities_base.dart:227:7: Error: No named parameter with the name
'firstPageKey'.
      firstPageKey: widget.pageKeyController.value.pageKey,
      ^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_controlle
r.dart:25:3: Context: Found this candidate, but the arguments don't match.
  PagingController({
  ^^^^^^^^^^^^^^^^
lib/core/entity/entities_base.dart:230:22: Error: The method 'addPageRequestListener' isn't
defined for the type 'PagingController<P, T>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing method, or defining a method named
'addPageRequestListener'.
    pagingController.addPageRequestListener((pageKey) {
                     ^^^^^^^^^^^^^^^^^^^^^^
lib/core/entity/entities_base.dart:284:21: Error: The getter 'itemList' isn't defined for the
type 'PagingState<P, T>'.
 - 'PagingState' is from 'package:infinite_scroll_pagination/src/core/paging_state.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_state.
 dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
          if (state.itemList != null) {
                    ^^^^^^^^
lib/core/entity/entities_base.dart:285:19: Error: The getter 'itemList' isn't defined for the
type 'PagingState<P, T>'.
 - 'PagingState' is from 'package:infinite_scroll_pagination/src/core/paging_state.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_state.
 dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
            state.itemList!.clear();
                  ^^^^^^^^
lib/core/entity/entities_base.dart:289:28: Error: The method 'appendLastPage' isn't defined
for the type 'PagingController<P, T>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing method, or defining a method named
'appendLastPage'.
          pagingController.appendLastPage(pageData.data);
                           ^^^^^^^^^^^^^^
lib/core/entity/entities_base.dart:292:28: Error: The method 'appendPage' isn't defined for
the type 'PagingController<P, T>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing method, or defining a method named
'appendPage'.
          pagingController.appendPage(pageData.data, nextPageKey);
                           ^^^^^^^^^^
lib/core/entity/entities_base.dart:296:28: Error: The setter 'error' isn't defined for the
type 'PagingController<P, T>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'error'.
          pagingController.error = error;
                           ^^^^^
lib/core/entity/entities_list.dart:32:11: Error: No named parameter with the name
'pagingController'.
          pagingController: pagingController,
          ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_sliver_
list.dart:36:9: Context: Found this candidate, but the arguments don't match.
  const PagedSliverList.separated({
        ^^^^^^^^^^^^^^^^^^^^^^^^^
lib/modules/notification/widgets/notification_list.dart:30:7: Error: No named parameter with
the name 'pagingController'.
      pagingController: pagingController,
      ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_list_vi
ew.dart:58:9: Context: Found this candidate, but the arguments don't match.
  const PagedListView.separated({
        ^^^^^^^^^^^^^^^^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:21:7: Error: No
named parameter with the name 'firstPageKey'.
      firstPageKey: notificationQueryPageCtrl.value.pageKey,
      ^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_controlle
r.dart:25:3: Context: Found this candidate, but the arguments don't match.
  PagingController({
  ^^^^^^^^^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:25:22: Error: The
method 'addPageRequestListener' isn't defined for the type
'PagingController<PushNotificationQuery, PushNotification>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PushNotificationQuery' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
 - 'PushNotification' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
Try correcting the name to the name of an existing method, or defining a method named
'addPageRequestListener'.
    pagingController.addPageRequestListener((pageKey) {
                     ^^^^^^^^^^^^^^^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:47:19: Error: The
getter 'itemList' isn't defined for the type 'PagingState<PushNotificationQuery,
PushNotification>'.
 - 'PagingState' is from 'package:infinite_scroll_pagination/src/core/paging_state.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_state.
 dart').
 - 'PushNotificationQuery' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
 - 'PushNotification' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
        if (state.itemList != null) {
                  ^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:48:17: Error: The
getter 'itemList' isn't defined for the type 'PagingState<PushNotificationQuery,
PushNotification>'.
 - 'PagingState' is from 'package:infinite_scroll_pagination/src/core/paging_state.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_state.
 dart').
 - 'PushNotificationQuery' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
 - 'PushNotification' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
          state.itemList!.clear();
                ^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:52:26: Error: The
method 'appendLastPage' isn't defined for the type 'PagingController<PushNotificationQuery,
PushNotification>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PushNotificationQuery' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
 - 'PushNotification' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
Try correcting the name to the name of an existing method, or defining a method named
'appendLastPage'.
        pagingController.appendLastPage(pageData.data);
                         ^^^^^^^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:55:26: Error: The
method 'appendPage' isn't defined for the type 'PagingController<PushNotificationQuery,
PushNotification>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PushNotificationQuery' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
 - 'PushNotification' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
Try correcting the name to the name of an existing method, or defining a method named
'appendPage'.
        pagingController.appendPage(pageData.data, nextPageKey);
                         ^^^^^^^^^^
lib/modules/notification/repository/notification_pagination_repository.dart:58:24: Error: The
setter 'error' isn't defined for the type 'PagingController<PushNotificationQuery,
PushNotification>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PushNotificationQuery' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
 - 'PushNotification' is from
 'package:thingsboard_pe_client/src/model/push_notification_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/push_notification
 _models.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'error'.
      pagingController.error = error;
                       ^^^^^
lib/utils/services/pagination_repository.dart:17:7: Error: No named parameter with the name
'firstPageKey'.
      firstPageKey: pageKeyController.value.pageKey,
      ^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_controlle
r.dart:25:3: Context: Found this candidate, but the arguments don't match.
  PagingController({
  ^^^^^^^^^^^^^^^^
lib/utils/services/pagination_repository.dart:21:22: Error: The method
'addPageRequestListener' isn't defined for the type 'PagingController<T, B>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing method, or defining a method named
'addPageRequestListener'.
    pagingController.addPageRequestListener((pageKey) {
                     ^^^^^^^^^^^^^^^^^^^^^^
lib/utils/services/pagination_repository.dart:32:33: Error: The getter 'firstPageKey' isn't
defined for the type 'PagingController<T, B>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'firstPageKey'.
    _fetchPage(pagingController.firstPageKey, refresh: true);
                                ^^^^^^^^^^^^
lib/utils/services/pagination_repository.dart:47:19: Error: The getter 'itemList' isn't
defined for the type 'PagingState<T, B>'.
 - 'PagingState' is from 'package:infinite_scroll_pagination/src/core/paging_state.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_state.
 dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
        if (state.itemList != null) {
                  ^^^^^^^^
lib/utils/services/pagination_repository.dart:48:17: Error: The getter 'itemList' isn't
defined for the type 'PagingState<T, B>'.
 - 'PagingState' is from 'package:infinite_scroll_pagination/src/core/paging_state.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_state.
 dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
          state.itemList!.clear();
                ^^^^^^^^
lib/utils/services/pagination_repository.dart:52:26: Error: The method 'appendLastPage' isn't
defined for the type 'PagingController<T, B>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing method, or defining a method named
'appendLastPage'.
        pagingController.appendLastPage(pageData.data);
                         ^^^^^^^^^^^^^^
lib/utils/services/pagination_repository.dart:55:26: Error: The method 'appendPage' isn't
defined for the type 'PagingController<T, B>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing method, or defining a method named
'appendPage'.
        pagingController.appendPage(pageData.data, nextPageKey);
                         ^^^^^^^^^^
lib/utils/services/pagination_repository.dart:58:24: Error: The setter 'error' isn't defined
for the type 'PagingController<T, B>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named
'error'.
      pagingController.error = error;
                       ^^^^^
lib/utils/ui/pagination_widgets/pagination_grid_widget.dart:37:15: Error: No named parameter
with the name 'pagingController'.
              pagingController: pagingController,
              ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_sliver_
grid.dart:16:9: Context: Found this candidate, but the arguments don't match.
  const PagedSliverGrid({
        ^^^^^^^^^^^^^^^
lib/core/entity/entities_grid.dart:40:13: Error: No named parameter with the name
'pagingController'.
            pagingController: pagingController,
            ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_sliver_
grid.dart:16:9: Context: Found this candidate, but the arguments don't match.
  const PagedSliverGrid({
        ^^^^^^^^^^^^^^^
lib/modules/alarm/presentation/widgets/assignee/assignee_list_widget.dart:115:19: Error: No
named parameter with the name 'pagingController'.
                  pagingController:
                  ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_list_vi
ew.dart:58:9: Context: Found this candidate, but the arguments don't match.
  const PagedListView.separated({
        ^^^^^^^^^^^^^^^^^^^^^^^
lib/modules/alarm/presentation/bloc/assignee/assignee_bloc.dart:32:51: Error: The getter
'itemList' isn't defined for the type 'PagingController<PageLink, AssigneeEntity>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PageLink' is from 'package:thingsboard_pe_client/src/model/page/page_link.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/page/page_link.da
 rt').
 - 'AssigneeEntity' is from
 'package:thingsboard_app/modules/alarm/domain/entities/assignee_entity.dart'
 ('lib/modules/alarm/domain/entities/assignee_entity.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
            paginationRepository.pagingController.itemList?.firstWhere(
                                                  ^^^^^^^^
lib/modules/alarm/presentation/widgets/alarm_types/types_list_widget.dart:59:17: Error: No
named parameter with the name 'pagingController'.
                pagingController: getIt<AlarmTypesBloc>()
                ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_list_vi
ew.dart:58:9: Context: Found this candidate, but the arguments don't match.
  const PagedListView.separated({
        ^^^^^^^^^^^^^^^^^^^^^^^
lib/modules/alarm/presentation/bloc/alarm_types/alarm_types_bloc.dart:34:56: Error: The getter
'itemList' isn't defined for the type 'PagingController<PageLink, AlarmType>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PageLink' is from 'package:thingsboard_pe_client/src/model/page/page_link.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/page/page_link.da
 rt').
 - 'AlarmType' is from 'package:thingsboard_pe_client/src/model/alarm_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/alarm_models.dart
 ').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
                (paginationRepository.pagingController.itemList?.length ?? 0),
                                                       ^^^^^^^^
lib/modules/alarm/presentation/bloc/alarm_types/alarm_types_bloc.dart:48:58: Error: The getter
'itemList' isn't defined for the type 'PagingController<PageLink, AlarmType>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PageLink' is from 'package:thingsboard_pe_client/src/model/page/page_link.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/page/page_link.da
 rt').
 - 'AlarmType' is from 'package:thingsboard_pe_client/src/model/alarm_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/alarm_models.dart
 ').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
                  (paginationRepository.pagingController.itemList?.length ?? 0),
                                                         ^^^^^^^^
lib/modules/alarm/presentation/bloc/alarm_types/alarm_types_bloc.dart:69:58: Error: The getter
'itemList' isn't defined for the type 'PagingController<PageLink, AlarmType>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'PageLink' is from 'package:thingsboard_pe_client/src/model/page/page_link.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/page/page_link.da
 rt').
 - 'AlarmType' is from 'package:thingsboard_pe_client/src/model/alarm_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/alarm_models.dart
 ').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
                  (paginationRepository.pagingController.itemList?.length ?? 0),
                                                         ^^^^^^^^
lib/utils/ui/pagination_widgets/pagination_list_widget.dart:34:13: Error: No named parameter
with the name 'pagingController'.
            pagingController: pagingController,
            ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_sliver_
list.dart:36:9: Context: Found this candidate, but the arguments don't match.
  const PagedSliverList.separated({
        ^^^^^^^^^^^^^^^^^^^^^^^^^
lib/modules/alarm/presentation/widgets/alarm_assignee/alarm_assignee_list_widget.dart:123:17:
Error: No named parameter with the name 'pagingController'.
                pagingController:
                ^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/layouts/paged_list_vi
ew.dart:58:9: Context: Found this candidate, but the arguments don't match.
  const PagedListView.separated({
        ^^^^^^^^^^^^^^^^^^^^^^^
lib/modules/alarm/presentation/bloc/alarm_assignee/alarm_assignee_bloc.dart:57:51: Error: The
getter 'itemList' isn't defined for the type 'PagingController<UsersAssignQuery,
AssigneeEntity>'.
 - 'PagingController' is from
 'package:infinite_scroll_pagination/src/core/paging_controller.dart'
 ('../../.pub-cache/hosted/pub.dev/infinite_scroll_pagination-5.1.1/lib/src/core/paging_contro
 ller.dart').
 - 'UsersAssignQuery' is from 'package:thingsboard_pe_client/src/model/user_models.dart'
 ('../../.pub-cache/hosted/pub.dev/thingsboard_pe_client-4.0.0/lib/src/model/user_models.dart'
 ).
 - 'AssigneeEntity' is from
 'package:thingsboard_app/modules/alarm/domain/entities/assignee_entity.dart'
 ('lib/modules/alarm/domain/entities/assignee_entity.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named
'itemList'.
            paginationRepository.pagingController.itemList?.firstWhere(
                                                  ^^^^^^^^
lib/core/auth/login/two_factor_authentication_page.dart:440:9: Error: The argument type
'String' can't be assigned to the parameter type 'RegExp'.
 - 'RegExp' is from 'dart:core'.
        pattern,
        ^
Target kernel_snapshot_program failed: Exception
Failed to package /Users/USER/SensedApp1/flutter_thingsboard_pe_app/ios/...
Command PhaseScriptExecution failed with a nonzero exit code
note: Run script build phase 'Run Script' will be run during every build because the option to
run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from
project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option
to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from
project 'Runner')

Could not build the application for the simulator.
Error launching application on Sensed.
(base) USER@USER flutter_thingsboard_pe_app %

Problematic Files (Optional)

No response

App Logs

App Logs
<!-- Paste your app logs here -->

Flutter Doctor output

Doctor output
<!-- Paste your flutter doctor -v output here -->

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions