[Error: file type is Invalid] iOS
See original GitHub issueMy app shows up correctly in the share menu and it opens the app fine, but I’m getting an log
{"url": "ShareMedia://dataUrl=ShareKey#text"}
(same with #media)
and error
Error: file type is Invalid
for both simulator iphone 11 pro and a real iphone 8. It works great on Android.
I don’t think I missed any steps in the installation-- Did the “ShareKey” in ios/{share extension/ShareViewController.swift needed to be replaced by anything?
I’m using “react-native”: “^0.62.2”, “react-native-receive-sharing-intent”: “^1.0.4”, xcode 11.5. Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Invalid file type for photos and videos w… - Apple Community
I'm trying to upload from iPhone to my iMac but sometimes the photos/videos won't transfer because there's an issue with the file type....
Read more >How to Solve “the File Format Is Invalid” Issue - CBackup
Way 1. Change the File Extension ... Very often, “the file format is invalid” error occurs due to incompatible file extensions. If this...
Read more >"object file format unrecognized, invalid, or unsuitable" Xcode ...
How can I fix this error? I am desperate, all my certificates and profiles are valid, the app itself has no bugs at...
Read more >[iOS-12.x] Error uploading audio or video (invalid file type)
Description: I am using an iPhone (iOS-12.5). And I am trying to record a short video and/or an audio to send to any...
Read more >Unable to upload a picture from my iPhone due to an invalid ...
Hello,. I tried my form. from my iPhone and i'm not able to upload picture. It says the format is no available (.jpeg...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You were right, my bundle id was wrong in the app groups. Thank you!
hello, I spent many hours trying to make it work on iOS and nothing, until I got it to work, I read that it was a problem with the group.name, simply I opened the file “ShareViewController.swift”, search and replace all values that said
"group.\(this.hostAppBundleIdentifier)"
and I set them manual"group.com.myappidname"
and that solved the problem and no longer gives more error [Error: file type is Invalid] iOS