rafidgotit / media_picker_widget

A widget that picks media files from storage and allows you to place anywhere in the widget tree.
MIT License
13 stars 14 forks source link

[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(PERMISSION_REQUESTING, Another permission request is still ongoing. Please request after the existing one is done., null, null) #3

Closed bugrevealingbme closed 1 year ago

bugrevealingbme commented 2 years ago

There is a problem getting the photos on the first launch.

D/CompatibilityChangeReporter( 759): Compat change id reported: 78294732; UID 10152; state: DISABLED E/flutter ( 759): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(PERMISSION_REQUESTING, Another permission request is still ongoing. Please request after the existing one is done., null, null) E/flutter ( 759): #0 StandardMethodCodec.decodeEnvelope package:flutter/…/services/message_codecs.dart:607 E/flutter ( 759): #1 MethodChannel._invokeMethod package:flutter/…/services/platform_channel.dart:167

rafidgotit commented 1 year ago

This issue should be solved by now. I couldn't reproduce this issue in android. Maybe you were using another permission handler package that was trying to ask permission at the same time this package was asking...