Add missing #import <folly/dynamic.h> on RN 0.75 (#2344)

Currently, react-native-svg fails to compile on Android with react-native@0.75.0-rc.4 and new architecture enabled due to an unknown identified folly::dynamic.

This PR adds the missing import so that the identifier has a declaration.
This commit is contained in:
Tomek Zawadzki
2024-07-11 09:59:57 +02:00
committed by GitHub
parent dd57e9e83b
commit 1de7709176

View File

@@ -14,6 +14,7 @@
#ifdef ANDROID #ifdef ANDROID
#include <react/renderer/mapbuffer/MapBuffer.h> #include <react/renderer/mapbuffer/MapBuffer.h>
#include <react/renderer/mapbuffer/MapBufferBuilder.h> #include <react/renderer/mapbuffer/MapBufferBuilder.h>
#include <folly/dynamic.h>
#endif #endif
namespace facebook { namespace facebook {