-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Description
Hi,
I use the Share plugin and I noticed that when sharing images to whatsapp on iOS the UIActivityViewController gets kind of "frozen" for some seconds until whatsapp appear. This process takes a little bit too much time and the users thinks that the app crashed.
For some reason, this doesn't happen to all apps. For example, sharing to Messages, Mail, Facebook is fast.
But some apps like: WhatsApp, Spark and others are slow.
But why am I reporting this? Well, the process is way slower on apps that were made with flutter than on other apps.
I tried both sending the original files (png/jpg/heic) as well as only jpg converted version and still it takes too much time to be acceptable. Also, this only happens on flutter apps. If I go to other apps, even when sharing the same pics it is way faster.
I pretty much tried every plugin on pub.dev and all have the same problem so I maybe it is not plugin related but flutter related.
I'm using the latest stable version and I've been testing this on a iPhone Xs Max (but a lot of iOS users complain about it):
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.20257.1], locale pt-BR)
• Flutter version 1.22.4 at C:\Users\leona\Documents\flutter
• Framework revision 1aafb3a8b9 (3 hours ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
Here is a sample of sharing 15 photos:
Here are the same photos on an app that is not made in flutter, it takes less than half of the time:
Not sure if this is really flutter fault but I couldn't help noticed that all other native apps are way faster.