When sharing a jpeg to app's share-extension, the media that is given by share-extension isn't the same as we shared (the data bytes and MD5 are not the same as shared one).
Is there any way to get the exact jpeg file from share-extension on iOS 16?
provider.loadFileRepresentation(forTypeIdentifier: identifier) works for all media except jpg.
Related
I can not save video file to iOS(to be visible in Photos app).
I have tried some plugins but they only save IMAGE(not video) to Photos.
I have used:
image_picker_saver: 0.3.0
It works fine for saving images(iOS), and rotates image for 90 degrees on Android.
For recording, I'm using image_picker: ^0.6.0+10
Any ideas?
Thanks.
Edit:
In the meantime, we have developed a plugin which supports saving both images and videos to gallery(android)/photos(ios), from Camera or url.
https://pub.dev/packages/gallery_saver
it has methods saveImage and saveVideo that take path or url(String).
Aside from the mentioned gallery_saver gallery_saver. There is another existing package that would do the trick, image_gallery_saver. Check this blog for the complete guide on how to save files to your own Flutter App Folder in Internal Phone Storage on Android and to the Photos Library on iOS Device. See also the package file_saver, which is another pretty decent plugin for saving files with formats like PDF, MP3, MP4, etc.
My iOS app im building used various images (.PNG files, some are via the Assets Catalog). For now these images are part of the app. In the future more .PNG images will be downloaded as part of an In-App Purchased package (.PKG).
Do each .PNG file need to be registered into the Document Types list in the info.plist?
No. PNG is already a standard registered type. And registering Document Types is for registering a type, not a list of files using that type.
How can I store text and audio information in a CSV file with Cordova(phonegap) in an iOS device ? I would also like to export it into the iOS device.
I wouldn't recommend storing audio in a CSV, but if you have no choice, I would compress the audio as much as possible and then encode in Base64 (which basically turns it into a string) before putting it in the CSV.
As per my client's requirement, I had used flash as3.0 Advanced Photo Album in a website gallery, But Flash is not compatible on Apple's gadget's like iPhone, iMac, iPad etc.
I have gone thought internet and found that "SWIFFY" can convert the files to HTML5, but limit is 1024 kb. and my file is 4.5 mb. How can I reduce flash file size to that limit so that I can convert file.
I have a web app designed for use on an iOS device. The web app includes file uploaders, which are meant to allow the user to upload an image from their iOS device or take an image from their camera.
The issue I'm running into is that I want the user to be able to upload PNG images through this interface, as well.
What is happening, though, is that it seems iOS renames the file image.jpg before it is sent to the web app, not honoring the original file extension. This is only an issue because I am trying to preserve transparency in the .png files, and this is lost in the extension renaming.
Any thoughts on how to handle this? Thanks, in advance, for any assistance on this front.
Mobile Safari only allows the uploads of jpeg's at this time. If you try to upload a png it will be (heavily) compressed into the jpeg format and then uploaded to the server.
The only way we have been about to get around this is by creating a native app for iOS and uploading the image through the Cocoa-Touch API's.
I've filed a Bug report with apple for this issue. Bug ID: 14494395