Closed ShenKang4181 closed 3 years ago
I was checking for Xiaomi but maybe I have to check for MIUI instead.
At the moment, you can execute the following code in Start function to resolve this issue:
using( AndroidJavaClass ajc = new AndroidJavaClass( "com.yasirkula.unity.NativeShare" ) )
ajc.SetStatic<bool>( "alwaysUseCustomShareDialog", true );
I have done it! love you
After I upgraded the plug-in and confidently removed my method of judging Xiaomi devices, I repackaged the apk, and it still failed in landscape mode. haha
This is a screenshot of my mobile phone system
My phone model is realmex. I flashed miui
I think your judgment should be the Xiaomi device or the miui system
Or can I customize whether to use the new custom layout