Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing constants to fallback implementation of ToastAndroid #38803

Closed
wants to merge 1 commit into from
Closed

Add missing constants to fallback implementation of ToastAndroid #38803

wants to merge 1 commit into from

Conversation

SamChou19815
Copy link
Contributor

Summary:
The d.ts file says these constant must exist, but they only exist in the android implementation. This diff stops lying and adds some dummy constants, so that the type will match-up.

Changelog: [Internal]

Differential Revision: D48085126

@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 fb-exported labels Aug 4, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Aug 4, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,892,884 -1
android hermes armeabi-v7a 7,941,610 -2
android hermes x86 9,290,643 -1
android hermes x86_64 9,192,284 -1
android jsc arm64-v8a 9,485,476 +0
android jsc armeabi-v7a 8,427,161 -2
android jsc x86 9,469,399 +1
android jsc x86_64 9,783,774 -1

Base commit: 7709aad
Branch: main

)

Summary:
Pull Request resolved: #38803

The d.ts file says these constant must exist, but they only exist in the android implementation. This diff stops lying and adds some dummy constants, so that the type will match-up.

Changelog: [Internal]

Differential Revision: D48085126

fbshipit-source-id: 7142c9b019881ab3e37506eb797643d5ef6dc097
@facebook-github-bot
Copy link
Contributor

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

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

This pull request was successfully merged by @SamChou19815 in c0c4507.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Aug 8, 2023
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