Issue of decryption with encryption component

Hi folks,
I have a problem with the encryption component.
I can easily encrypt, save online (firebase real-time Db), download, and decrypt in a single android device. However, using the exact same settings and password when I try to decrypt on another device, it does not decrypt. Each device is able to decrypt only those files that were uploaded by itself. Am I missing some setting? I need all to devices to encrypt the data before uploading on to the server so the data is secure during storage. However, data, when downloaded by ANY authorized user, should be decryptable within the device, irrespective of who encrypted it (because all settings are the same).
An image of the code is attached. Please advise.

I need this too