ShoutSocial / share_handler

A plugin to facilitate receiving and handling share intents
43 stars 45 forks source link

Cant receive PDF in android 7 #42

Open ericktarzia opened 1 year ago

ericktarzia commented 1 year ago

Show error, file not found in android 7

Captura de tela de 2023-01-19 12-45-56

Captura de tela de 2023-01-19 12-46-41

Error registred in Gleap: Description Error: Invalid argument(s): Illegal percent encoding in URI

StackTrace: #0 _Uri._uriDecode (dart:core/uri.dart:3060)

1 Uri.decodeComponent (dart:core/uri.dart:1251)

2 SharedAttachment.decode (package:share_handler_platform_interface/src/data/messages.dart:33)

3 SharedMedia.decode. (package:share_handler_platform_interface/src/data/messages.dart:92)

4 MappedListIterable.elementAt (dart:_internal/iterable.dart:413)

5 ListIterator.moveNext (dart:_internal/iterable.dart:342)

6 CastIterator.moveNext (dart:_internal/cast.dart:61)

7 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)

8 new _GrowableList.of (dart:core-patch/growable_array.dart:150)

9 new List.of (dart:core-patch/array_patch.dart:51)

10 SetMixin.toList (dart:collection/set.dart:118)

11 SharedMedia.decode (package:share_handler_platform_interface/src/data/messages.dart:94)

12 _ShareHandlerApiCodec.readValueOfType (package:share_handler_platform_interface/src/data/messages.dart:131)

13 StandardMessageCodec.readValue (package:flutter/src/services/message_codecs.dart:479)

14 StandardMessageCodec.readValueOfType (package:flutter/src/services/message_codecs.dart:531)

15 _ShareHandlerApiCodec.readValueOfType (package:share_handler_platform_interface/src/data/messages.dart:137)

16 StandardMessageCodec.readValue (package:flutter/src/services/message_codecs.dart:479)

17 StandardMessageCodec.decodeMessage (package:flutter/src/services/message_codecs.dart:343)

18 BasicMessageChannel.send (package:flutter/src/services/platform_channel.dart:180)

19 ShareHandlerApi.getInitialSharedMedia (package:share_handler_platform_interface/src/data/messages.dart:156)

20 MethodChannelShareHandler.getInitialSharedMedia (package:share_handler_platform_interface/src/method_channel/method_channel_share_handler.dart:25)

21 SharedMediaService.getSharedMedia (package:core/shared/services/shared_media_service.dart:13)

22 SharedMediaService.executeShare (package:core/shared/services/shared_media_service.dart:45)