yasirkula / UnityNativeShare

A Unity plugin to natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS
MIT License
891 stars 131 forks source link

Landscape Mode #98

Closed elephantmobiledev closed 3 years ago

elephantmobiledev commented 3 years ago

Hi. When i use portrait mode, everything works perfect but when i use landscape mode, i can't see icons of applications.

Edit: This works for android too. Thanks.

yasirkula commented 3 years ago

Were you using the latest version of the plugin?

elephantmobiledev commented 3 years ago

Yes I was.

yasirkula commented 3 years ago

What is the device's model and does it use MIUI?

elephantmobiledev commented 3 years ago

I have tried it on 2 devices

Vestel Venus V3 5580 / Android 7.0

Samsung Galaxy Note 3 / Android 5.0

I have done that and it has worked perfect.

yasirkula commented 3 years ago

I'm happy to hear about the resolution. Did you install MIUI operating system on these devices or was it the stock operating system that comes with the device (or maybe another custom OS)?

elephantmobiledev commented 3 years ago

No. I didn't install anything. They have Android 7 and Android 5. The solution is effective for Android too.

yasirkula commented 3 years ago

Hmm, without the fix, both of these devices had the same issue, am I right? This is the first time I'm hearing about this issue on stock Android OS so I'm surprised. I'd really appreciate it if you could temporarily undo the fix and send me a screenshot of the problematic share sheet.

elephantmobiledev commented 3 years ago

Yes, you are right. I thought that screenshot is unnecessary. Because when i touched the "Share" button, nothing happened. That's all.

yasirkula commented 3 years ago

OK now I'm relieved 😺 Probably there was an error message. Can you please check logcat for any error messages when you click the "Share" button? If you have no logcat experience, you can use Unity's Android Logcat package which is very easy to use.

elephantmobiledev commented 3 years ago

If I would have the same problem in the future, I will send you error messages.

By the way, thank you so much again for share this very useful plugin with us.

yasirkula commented 3 years ago

You are welcome. I was asking you to undo the fix temporarily then check logcat for error messages because I can't reproduce this issue on my own and need to see the error message.