You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android pickVideo returns path:
content://com.google.android.apps.photos.contentprovider/-1/2/content://media/external/video/media/1000000018/ORIGINAL/NONE/video/mp4/906508663
When i use this path with Filesystem.stat() application crashes
I think i should transform content:// to file://. How can I do it?
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference -
Expected Behavior
get stats
Code Reproduction
Other Technical Details
Additional Context
I think i should transform content:// to file://. How can I do it?
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
馃拪 Capacitor Doctor 馃拪
Latest Dependencies:
@capacitor/cli: 5.5.0
@capacitor/core: 5.5.0
@capacitor/android: 5.5.0
@capacitor/ios: 5.5.0
Installed Dependencies:
@capacitor/cli: 5.4.2
@capacitor/android: 5.4.2
@capacitor/core: 5.4.2
@capacitor/ios: 5.4.2
[success] iOS looking great! 馃憣
[success] Android looking great! 馃憣
Platform(s)
Android
Current Behavior
On Android pickVideo returns path:
content://com.google.android.apps.photos.contentprovider/-1/2/content://media/external/video/media/1000000018/ORIGINAL/NONE/video/mp4/906508663
When i use this path with Filesystem.stat() application crashes
I think i should transform content:// to file://. How can I do it?
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference -
Expected Behavior
get stats
Code Reproduction
Other Technical Details
Additional Context
I think i should transform content:// to file://. How can I do it?
The text was updated successfully, but these errors were encountered: