Closed andrewspalato closed 3 years ago
Is text visible in any of the social apps?
Tweets and notes only show an image if it is added by file path or Texture2D. I am pretty sure with previous versions of the plugin, I was able to include images and text in one share.
I'm skeptical that I've made a change in the codebase that would cause this. You can download the previous versions from here: https://github.com/yasirkula/UnityNativeShare/releases. Can you find the latest release that didn't have this issue?
I tried an empty minimal project but using the same projects settings as above, and the latest version actually works correctly! Something must be overriding the text being used for the share. This requires more investigation.
Turned out to be a race condition to populate some strings in the app I am working on. The strings were empty at the time of the sharing. I will close this issue and thank you for assistance.
Creating a NativeShare with image and text will not display the text, this happens when sharing via email/gmail and other apps. I expected Facebook to only show image or text due to the fact there is a Facebook SDK which handles this.
Reproduction steps
Platform specs
Player Settings Target API level: 29 Scripting Backend: IL2CPP API Compatibility Level: .NET Standard 2.0
Additional info Logs: Shared on app: com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal