[U] copy from n3 client

This commit is contained in:
2025-08-16 15:54:49 +08:00
parent 22eba4dbc2
commit ecdb09eac2
3 changed files with 36 additions and 4 deletions

View File

@@ -404,7 +404,7 @@ public class SDKManager {
ShareDialog dialog = new ShareDialog(activity);
ShareLinkContent linkContent = new ShareLinkContent.Builder()
.setQuote(content)
.setContentUrl(Uri.parse("http://developers.facebook.com/android"))
.setContentUrl(Uri.parse(url))
.build();
dialog.show(linkContent);
}
@@ -421,7 +421,7 @@ public class SDKManager {
Activity activity = UnityPlayer.currentActivity;
ShareLinkContent linkContent = new ShareLinkContent.Builder()
.setQuote(content)
.setContentUrl(Uri.parse("http://developers.facebook.com/android"))
.setContentUrl(Uri.parse(url))
.build();
MessageDialog.show(activity,linkContent);
}