We are using RSA (Public - Private key) encryption / decryption with padding #PKCS1, and it is working fine when we are running the app in "Debug" mode (Xcode 12.4) or generating the Appstore build from Xcode with 11 series.
But when we are generating the Testflight/ Appstore build from Xcode 12.4 (or any other Xcode with 12 series), Server is unable to decrypt the messages and throwing "RSA decryption error: javax.crypto.BadPaddingException: Decryption error".
Is there any changes in difference b/w Debug and Release mode, or this is an issue with Xcode 12.4?
Any help is welcome :)