Skip to content

Update RN Share.share()'s argument types to be more explicit#44887

Closed
charlesbdudley wants to merge 1 commit into
facebook:mainfrom
charlesbdudley:export-D58224906
Closed

Update RN Share.share()'s argument types to be more explicit#44887
charlesbdudley wants to merge 1 commit into
facebook:mainfrom
charlesbdudley:export-D58224906

Conversation

@charlesbdudley
Copy link
Copy Markdown
Contributor

Summary:
The previous inexact object types and documentation for Share.share()'s arguments have led to confusion in how this library should be used. This diff updates the argument types to be more explicit, and rewrites some of the documentation for clarity.

Changelog:
[General][Breaking] Update Share.share()'s argument types to be more explicit.

Differential Revision: D58224906

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jun 11, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58224906

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Jun 11, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 20,364,507 -4
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 23,569,621 +1
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 49a911f
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58224906

…k#44887)

Summary:
Pull Request resolved: facebook#44887

The previous inexact object types and documentation for Share.share()'s arguments have led to confusion in how this library should be used. This diff updates the argument types to be more explicit, and rewrites some of the documentation for clarity.

Changelog:
[General][Breaking] Update `Share.share()`'s argument types to be more explicit.

Reviewed By: NickGerleman

Differential Revision: D58224906
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D58224906

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 13, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 8b53d41.

@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by Charles Dudley in 8b53d41.

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants