**Describe the bug**
We are using deeplinks to open our app and we tried to chec…k if there is an existing connection and we found out that we should use getAccount but got inconsistent results sometimes the account was return and sometimes not. We know that there were an active connection due to the fact that when we open the modal we saw the active connection `AppKit.getAccount()` returns null while `AppKit.getActiveSession()` returns not null
**SDK Version**
- Client: Kotlin
- Version BOM 1.4.11
**To Reproduce**
Steps to reproduce the behavior:
1. Create a new connection with deeplinks (I used TrustWallet)
2. Read getAccount/getActiveSession
3. Close the app (including from memory)
4. getAccounts is null while getActiveSession return an active session
5. The correct value/ the expected one is from getActiveSession
**Expected behavior**
Basically if I have an active session it means that getAccount should return value (non - null). In the modal I can see that the account appears and I would expect that the getAccount to return non null value
**Screenshots**
Screenshot with the module where the account appears at it should
<img width="251" height="522" alt="Image" src="https://github.com/user-attachments/assets/1ced6639-c1dc-481c-a079-a81a985c71f3" />
**Device (please complete the following information):**
- Device: We tried on virtual device and a physical HONOR ALI-NX1
- OS: Android 16 virtual/ Android 15 physical | Magic OS 9
- Browser in app
- Version 15
**Additional context**
We display the active Session info where the account was null
```
Session(
pairingTopic=644c011e0e86d91956d63af696fdf32dd5aaf94cb4bd1ebc1a0ed6b497b8256c,
topic=0aaef5d3d293224c4cf6fde27b07915c2416b6803a0d89db0c67e177d4c9b8ec,
expiry=1761042198,
namespaces={
tron=Session(chains=[tron:0x2b6653dc],
accounts=[tron:0x2b6653dc:TU2hJ3ya76VSPWePQLmZqDiWj4SY4DTzMG],
methods=[tron_signTransaction, tron_signMessage],
events=[]),
tron:0x2b6653dc=Session(chains=[tron:0x2b6653dc],
accounts=[tron:0x2b6653dc:TU2hJ3ya76VSPWePQLmZqDiWj4SY4DTzMG],
methods=[tron_signTransaction, tron_signMessage],
events=[])},
metaData=AppMetaData(name=Trust Wallet,
description=Trust Wallet is a secure and easy-to-use mobile wallet,
url=https://trustwallet.com,
icons=[https://trustwallet.com/assets/images/media/assets/TWT.png],
redirect=trust://open,
appLink=null,
linkMode=false,
verifyUrl=null))
```
We display also the value where both the account, the active session were non-null:
```
Account(address=TU2hJ3ya76VSPWePQLmZqDiWj4SY4DTzMG,
chain=Chain(chainName=Tron,
chainNamespace=tron,
chainReference=0x2b6653dc,
requiredMethods=[tron_signTransaction,
tron_signMessage],
optionalMethods=[],
events=[],
token=Token(name=,
symbol=,
decimal=0),
chainImage=Asset(id=2131165568),
rpcUrl=null,
blockExplorerUrl=null))
Session(
pairingTopic=0410f3258c9299527b5fc4299fa735621dc6b346da295ef8d8ad942c1a590356,
topic=eb2edb8f97aa0360595fb23218e58a72469b14d7ed1e2e5d023008df0974c7d5,
expiry=1761047838,
namespaces={
tron=Session(chains=[tron:0x2b6653dc],
accounts=[tron:0x2b6653dc:TU2hJ3ya76VSPWePQLmZqDiWj4SY4DTzMG],
methods=[tron_signTransaction, tron_signMessage],
events=[]),
tron:0x2b6653dc=Session(chains=[tron:0x2b6653dc],
accounts=[tron:0x2b6653dc:TU2hJ3ya76VSPWePQLmZqDiWj4SY4DTzMG],
methods=[tron_signTransaction, tron_signMessage],
events=[])},
metaData=AppMetaData(name=Trust Wallet,
description=Trust Wallet is a secure and easy-to-use mobile wallet,
url=https://trustwallet.com,
icons=[https://trustwallet.com/assets/images/media/assets/TWT.png],
redirect=trust://open,
appLink=null,
linkMode=false,
verifyUrl=null))
```
We could not find any differences but maybe it helps you guys