Description
New Issue Checklist
- [x ] I am not disclosing a vulnerability.
- [ x] I am not just asking a question.
- [ x] I have searched through existing issues.
- [ x] I can reproduce the issue with the latest version of Parse Server and the Parse Flutter SDK.
Issue Description
Cannot build flutter application with parse server plugin
Steps to reproduce
Run application build in IntelliJ IDEA
Actual Outcome
Running Xcode build...
Xcode build done. 34.8s
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/parse_server_sdk_flutter-8.0.0/lib/parse_server_sdk_flutter.dart:126:53: Error: The argument type
'ParseConnectivityResult Function(ConnectivityResult)' can't be assigned to the parameter type 'ParseConnectivityResult Function(List)'.
Encountered error while building for device.
Expected Outcome
Normal build and run application
Environment
Parse Flutter SDK
- SDK version:
parse_server_sdk_flutter-8.0.0
- Flutter version:
Flutter 3.22.3 • channel stable
- Dart version:
Dart SDK version: 3.4.4 (stable)
- Operating system version:
Mac OS Sonoma 14.5 (23F79)
Server
- Parse Server version:
6.5.4
Logs
Running Xcode build...
Xcode build done. 31.4s
Failed to build iOS app
Error (Xcode): ../../.pub-cache/hosted/pub.dev/parse_server_sdk_flutter-8.0.0/lib/parse_server_sdk_flutter.dart:126:53: Error: The argument type 'ParseConnectivityResult Function(ConnectivityResult)' can't be assigned to the parameter type 'ParseConnectivityResult Function(List)'.
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.