Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33336481
D13786.1768905136.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
735 B
Referenced Files
None
Subscribers
None
D13786.1768905136.diff
View Options
diff --git a/native/media/file-utils.js b/native/media/file-utils.js
--- a/native/media/file-utils.js
+++ b/native/media/file-utils.js
@@ -195,7 +195,12 @@
try {
const assetInfo = await MediaLibrary.getAssetInfoAsync(mediaNativeID);
success = true;
- localURI = assetInfo.localUri;
+ // on iOS18 getAssetInfoAsync returns uri with a weird #YnBsaXN... suffix
+ // this looks like iOS bug, so to mitigate it for now we simply remove
+ // the suffix
+ // https://github.com/expo/expo/issues/31857
+ // https://forums.developer.apple.com/forums/thread/760499
+ localURI = assetInfo.localUri.replace(/#.*$/, '');
if (Platform.OS === 'ios') {
orientation = assetInfo.orientation;
} else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 10:32 AM (6 m, 41 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5960458
Default Alt Text
D13786.1768905136.diff (735 B)
Attached To
Mode
D13786: [native] Fix sending videos on iOS 18
Attached
Detach File
Event Timeline
Log In to Comment