-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Hi, I try to open content:// paths on Android that I receive as a share target.
With an input of content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2F1607722645567.jpg I get the following error:
E/MethodChannel#flutter_absolute_path(21745): Failed to handle method call
E/MethodChannel#flutter_absolute_path(21745): java.lang.NumberFormatException: For input string: "raw:/storage/emulated/0/Download/1607722645567.jpg"
E/MethodChannel#flutter_absolute_path(21745): at java.lang.Long.parseLong(Long.java:594)
E/MethodChannel#flutter_absolute_path(21745): at java.lang.Long.valueOf(Long.java:808)
E/MethodChannel#flutter_absolute_path(21745): at com.kasem.flutter_absolute_path.FileDirectory.getAbsolutePath(FileDirectory.kt:47)
E/MethodChannel#flutter_absolute_path(21745): at com.kasem.flutter_absolute_path.FlutterAbsolutePathPlugin.onMethodCall(FlutterAbsolutePathPlugin.kt:42)
E/MethodChannel#flutter_absolute_path(21745): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/MethodChannel#flutter_absolute_path(21745): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#flutter_absolute_path(21745): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels