diff --git a/wrappers/javascript/packages/anoncreds-react-native/android/cpp-adapter.cpp b/wrappers/javascript/packages/anoncreds-react-native/android/cpp-adapter.cpp index 1d473c4b..4b1e2bf1 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/android/cpp-adapter.cpp +++ b/wrappers/javascript/packages/anoncreds-react-native/android/cpp-adapter.cpp @@ -3,7 +3,7 @@ #include #include -#include +#include "turboModuleUtility.h" using namespace facebook; diff --git a/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.cpp b/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.cpp index 39711314..e6980c22 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.cpp +++ b/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.cpp @@ -1,7 +1,8 @@ -#include #include #include +#include "HostObject.h" + AnoncredsTurboModuleHostObject::AnoncredsTurboModuleHostObject( jsi::Runtime &rt) { return; diff --git a/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.h b/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.h index f9dbd8f9..48186f7c 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.h +++ b/wrappers/javascript/packages/anoncreds-react-native/cpp/HostObject.h @@ -4,8 +4,8 @@ #include -#include -#include +#include "anoncreds.h" +#include "turboModuleUtility.h" using namespace facebook; diff --git a/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.cpp b/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.cpp index 98646a74..fb5ac140 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.cpp +++ b/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.cpp @@ -1,6 +1,5 @@ -#include - -#include +#include "anoncreds.h" +#include "include/libanoncreds.h" using namespace anoncredsTurboModuleUtility; diff --git a/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.h b/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.h index 6f737a2d..4f03b4df 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.h +++ b/wrappers/javascript/packages/anoncreds-react-native/cpp/anoncreds.h @@ -1,8 +1,9 @@ #pragma once -#include #include -#include + +#include "include/libanoncreds.h" +#include "turboModuleUtility.h" using namespace facebook; diff --git a/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.cpp b/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.cpp index 0e83609e..e687482a 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.cpp +++ b/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.cpp @@ -1,6 +1,6 @@ #include -#include +#include "turboModuleUtility.h" namespace anoncredsTurboModuleUtility { diff --git a/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.h b/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.h index 7a104040..552151a9 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.h +++ b/wrappers/javascript/packages/anoncreds-react-native/cpp/turboModuleUtility.h @@ -3,8 +3,8 @@ #include #include -#include -#include +#include "HostObject.h" +#include "include/libanoncreds.h" using namespace facebook; diff --git a/wrappers/javascript/packages/anoncreds-react-native/ios/Anoncreds.mm b/wrappers/javascript/packages/anoncreds-react-native/ios/Anoncreds.mm index 686f3a16..6007a03d 100644 --- a/wrappers/javascript/packages/anoncreds-react-native/ios/Anoncreds.mm +++ b/wrappers/javascript/packages/anoncreds-react-native/ios/Anoncreds.mm @@ -1,11 +1,11 @@ -#import "turboModuleUtility.h" - -#import "Anoncreds.h" #import #import #import #import +#import "turboModuleUtility.h" +#import "Anoncreds.h" + using namespace facebook; @implementation Anoncreds