Encrypt RSA/ECB/OAEPWithSHA-256AndMGF1Padding Swift

I encrypted with this code

if let ciphertext = SecKeyCreateEncryptedData(publicKey, .rsaEncryptionOAEPSHA256, message as CFData, &error) as? Data {
         
         return ciphertext.base64EncodedString()
      }

But server can't decrypt On android, I encrypted with code below

OAEPParameterSpec oaepparaspec = new OAEPParameterSpec("SHA-256", "MGF1", MGF1ParameterSpec.SHA256, PSource.PSpecified.DEFAULT)  ; 
	             Cipher enc = Cipher.getInstance("RSA/ECB/OAEPPadding"); 
	             enc.init(Cipher.ENCRYPT_MODE, pubkey, oaepparaspec);   

And server can decrypt How to set on Swift?

Encrypt RSA/ECB/OAEPWithSHA-256AndMGF1Padding Swift
 
 
Q