#Android app crash when adding Matter device

1 messages ยท Page 1 of 1 (latest)

potent solstice
#

Hi, Android dev here. Can you check in the app: settings > companion app > show and share logs to see if it has a recent crash log?

silver geyser
#

yes let me get those

#

ahh wont all me to add it here

#

let me PM

#

you

#

if that is ok?

potent solstice
#

Does it have a 'recent crash' tab at the top of the screen?

#

Otherwise it's the full logs after the crash, those won't tell anything

silver geyser
#

I don't see a recent crash tab

potent solstice
#

OK so it's the normal logs, crash not recorded ๐Ÿ˜ฆ

#

Which version of the app are you using?

#

Should be 2023.6.0-full

silver geyser
#

im in the latest beta...let me find that long version number

potent solstice
#

Latest beta is also fine

silver geyser
#

beta-10230-b7c6be45-full

#

ok

#

I restarted the phone, still crashes

potent solstice
#

Can you check in system settings > Google > Devices & sharing if it lists 'Matter devices'?

silver geyser
#

ok

#

yes lists "matter devices"

#

but I have no matter devices

potent solstice
#

That's fine, it just means that your device has all the required dependencies

#

Does the app crash immediately when you tap on add Matter device?

#

or does it take a few seconds?

silver geyser
#

yes, almost immediatlely....I can porvide a screenshot video if you like?

potent solstice
#

That would be great ๐Ÿ™

silver geyser
#

ok, give me a few minutes.....

#

sent via PM

#

private message

potent solstice
#

Got it

#

It might be crashing on the Thread syncing but hard to tell

#

Do you know how to install an apk file? The upcoming beta actually has a setting to only do Thread syncing, no Matter, so we can know for sure which is causing the issue

silver geyser
#

I've installed apk files before, yes, I think its simple....lets give it a try

potent solstice
#

It will update your existing Home Assistant app

#

Once that is completed, there is a new option in Settings > Companion app > Troubleshooting > Sync Thread credentials

silver geyser
#

may I ask...im not on my home network, does this matter?

potent solstice
#

Err it should fail then, but not crash the app

silver geyser
#

ok

#

let me try the apk file

potent solstice
#

I'll also test the flow when not connected to a home network ๐Ÿ™‚

silver geyser
#

great..updating....

#

ok updated and now will trying to add the matter device again

#

I'm sorry it does the same thing...maybe a restart?

potent solstice
#

Can you check the Thread option in the app settings?

silver geyser
#

you may have got something...soon as I pressed that, it crashed again

potent solstice
#

ok

silver geyser
#

another video?

potent solstice
#

Now I know where to look ๐Ÿ™‚

#

No video needed

silver geyser
#

ok

potent solstice
#

Thanks for the quick responses btw, much appreciated

silver geyser
#

just ping me if you need more testing...

#

my phone is Samsung A54 5G android 13
5.15.78 kernal
if you need that information

potent solstice
#

Can confirm a crash when not connected to the home network that isn't being handled properly

#

I need some time to fix this but if you try again at home it hopefully works without crashing

silver geyser
#

ok! this makes sense....I will confirm with you when I get home in about 5 hrs

potent solstice
#

Fix submitted

potent solstice