-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Description
Version
3.8.0, 3.8.1
Platforms
iOS
Device Model
iPhone 13pro(iOS18.6)
flutter info
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.35.5, on macOS 15.1.1 24B91 darwin-arm64 (Rosetta), locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.2)
[✓] VS Code (version 1.106.2)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for iPhone12. Ensure the device is unlocked and attached with a cable or associated with the same local
area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone15 Pro. Ensure the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone14. Ensure the device is unlocked and attached with a cable or associated with the same
local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone 16 Pro. Ensure the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same
local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• No issues found!How to reproduce?
- Upgrade to PhotoManager 3.7.1 → 3.8.0 or 3.8.1
- Call PhotoManager.presentLimited()
Logs
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: type '() => String' is not a subtype of type '() => int' of 'ifAbsent'
#0 _LinkedHashMapMixin.putIfAbsent (dart:_compact_hash:657)
#1 PMMethodChannel.invokeMethod (package:photo_manager/src/internal/plugin.dart:42)
#2 PhotoManagerPlugin.presentLimited (package:photo_manager/src/internal/plugin.dart:668)
#3 PhotoManager.presentLimited (package:photo_manager/src/managers/photo_manager.dart:104)Example code (optional)
Contact
No response
Copilot