0

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?

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, Remy! Also could you please tell me where OpenSSL libs are located on Android?
I'm not an Android developer, and I can't find that info online anywhere. You might have to look on an actual Android device or simulator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.