Roman Yankovsky
Roman Yankovsky

Reputation: 1217

TIdHTTP and TRESTClient with SSl on Android

It is possible to use TRESTClient with HTTPS/SSL on iOS and Mac OSX in Delphi by setting OpenSSL library path. But is there a way to make it work on Android?

Upvotes: 0

Views: 1192

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 597941

Indy's OpenSSL support works the same way on Android as it does on all other non-iOS platforms. On every platform other than iOS, Indy loads OpenSSL dynamically at runtime. You can use Indy's IdOpenSSLSetLibPath() function to tell Indy where the OpenSSL DLLs/Dylibs are located, if not in the app's folder. On iOS, OpenSSL is statically compiled into the app at compile-time instead of dynamically loaded at runtime, so there is no IdOpenSSLSetLibPath() function to call.

Upvotes: 1

Related Questions