1 // Copyright 2022-present 650 Industries. All rights reserved.
2 
3 #pragma once
4 
5 #ifdef __cplusplus
6 
7 #ifdef ANDROID
8 #include <folly/dynamic.h>
9 #include <react/renderer/mapbuffer/MapBuffer.h>
10 #include <react/renderer/mapbuffer/MapBufferBuilder.h>
11 #endif
12 
13 namespace expo {
14 
15 class ExpoViewState final {
16 public:
ExpoViewState()17   ExpoViewState() {};
18 
19 #ifdef ANDROID
ExpoViewState(ExpoViewState const & previousState,folly::dynamic data)20   ExpoViewState(ExpoViewState const &previousState, folly::dynamic data) {};
21 
getDynamic()22   folly::dynamic getDynamic() const {
23     return {};
24   };
25 
getMapBuffer()26   facebook::react::MapBuffer getMapBuffer() const {
27     return facebook::react::MapBufferBuilder::EMPTY();
28   };
29 #endif
30 
31 };
32 
33 } // namespace expo
34 
35 #endif // __cplusplus
36