It seems like the framework takes a very long time to initialise compared to the Android counterpart. I suspect this has to do with OpenSSL usages and key generations.
Performance audits should be done to identify what is causing it to be slow and then investigate what can be done about it.