HomePhabricator
Diffusion Comm 26c185c7116b

[cpp] Copy-paste react-native internal Promise utils into separate file

Description

[cpp] Copy-paste react-native internal Promise utils into separate file

Summary:
Sharing this to show one possible way I was able to get Android to compile createPromiseAsJSIValue.

Ultimately this sort of defers the problem of getting folly to compile on Android, so it's probably not a good long-term solution.

Test Plan: Make sure it compiles and runs on iOS and Android, and that drafts read / write correctly on both

Reviewers: karol-bisztyga, palys-swm

Reviewed By: karol-bisztyga

Subscribers: KatPo, Adrian, atul

Differential Revision: https://phabricator.ashoat.com/D1122

Details

Provenance
ashoatAuthored on May 9 2021, 12:07 PM
Reviewer
karol
Differential Revision
Restricted Differential Revision
Parents
rCOMMb1c9b4f53688: [cpp] Return Promise from getDrafts
Branches
Unknown
Tags
Unknown
Reverted By
rCOMM8deff3242fe1: Revert "[cpp] Copy-paste react-native internal Promise utils into separate file"
Restricted Differential Revision