diff --git a/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm b/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm index 0ad49d5cd..ffaace01c 100644 --- a/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm +++ b/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm @@ -25,6 +25,7 @@ #include #include "context/ContextInternal.h" +#include "olp/core/context/Context.h" #include "olp/core/context/EnterBackgroundSubscriber.h" #include "olp/core/http/Network.h" #include "olp/core/logging/Log.h" @@ -80,6 +81,7 @@ @interface OLPHttpClient () @implementation OLPHttpClient { NSOperationQueue* _delegateQueue; + olp::context::Context::Scope _scope; std::shared_ptr _enterBackgroundSubscriber; }