britzl / defold-sharing

Defold native extension to share data from a Defold application using native dialogs
MIT License
23 stars 8 forks source link

More then 5 sec waiting before share message appear #15

Closed ufgo closed 3 years ago

ufgo commented 4 years ago

Defold 1.2.174 Android Miui 11.05

When i try to share image it take more then 5 sec. I compared two different apps, first on defold and last other. In last app speed 1.7 sec. Then i compared file sizes and for first its was 1 mb and 320 kb for last. Also i testing other app made on defold with .png file size 56 kb and speed for "share" "message appears 3.2 sec. IMG_20201102_161259

britzl commented 3 years ago

I am unsure of why this happens. The share popup is shown instantly on my Android device. Have you tried other devices?

AGulev commented 3 years ago

I think it depends on number applications on device or something like that. On my device it's instantly too, but Alex reported me that he has the same issue. I added a spiner to show user that app is thinking and hide it when app gains focus.

britzl commented 3 years ago

Good point! I think it might be possible to limit what kind of apps that are shown somehow.