Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

[Linux] EncryptedLocalStore doesn't work

Open itlancer opened this issue 4 years ago • 2 comments

Problem Description

EncryptedLocalStore doesn't work with Linux devices. It just throw exception when you try to use it. Tested with latest AIR 33.1.1.795 with Ubuntu 20.04.2.

It works fine with other platfroms (Windows, macOS, Android, iOS). EncryptedLocalStore.isSupported always returns true in all these cases.

Related issue (that was earlier for Windows/macOS): https://github.com/airsdk/Adobe-Runtime-Support/issues/205

Steps to Reproduce

Launch code below.

Application example with sources attached. encrypted_local_store_linux_bug.zip

var bytes:ByteArray = EncryptedLocalStore.getItem("test");

Actual Result: Exception will be throwed:

Error: EncryptedLocalStore is out of memory
at flash.data::EncryptedLocalStore$/processErrorCode()
at flash.data::EncryptedLocalStore$/getItem()

Expected Result: EncryptedLocalStore.getItem returns ByteArray with data of specified name without exceptions.

Known Workarounds

none

itlancer avatar Apr 07 '22 12:04 itlancer

Issue still exists. With latest AIR 33.1.1.929 and Ubuntu 22.04.1 LTS actual result (error):

Error: EncryptedLocalStore database access error
	at flash.data::EncryptedLocalStore$/processErrorCode()
	at flash.data::EncryptedLocalStore$/getItem()

itlancer avatar Sep 08 '22 07:09 itlancer

@ajwfrost, issue still exists with latest AIR 50.0.0.1

itlancer avatar Sep 16 '22 07:09 itlancer

Fixed with latest AIR 50.0.1.1. Thanks!

itlancer avatar Oct 23 '22 15:10 itlancer