Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

App receives push notifications but crashes when opened #10

Open
Paoleddu opened this issue Jul 21, 2022 · 16 comments
Open

App receives push notifications but crashes when opened #10

Paoleddu opened this issue Jul 21, 2022 · 16 comments

Comments

@Paoleddu
Copy link

After having sideloaded the app through WebIDE and having successfully logged in, the app crashed (I must also add that this happened the second time I reinstalled the app, the first time I managed to get into the settings before it crashed).
The apps still manages to show push notifications, not all of them but whenever it connects to the Internet I suppose, though if I open the notification the app freezes on the main pages (it doesn't display the profile pictures) and force exits.
I'm using a Nokia 6300 4G on KaiOS 2.5.4 with only debugging active, no root.

@arma7x
Copy link
Owner

arma7x commented Jul 22, 2022

The app only crash if you open the app via notification right ? The latest KaiOS firmware update quite unstable

@Paoleddu
Copy link
Author

Paoleddu commented Jul 22, 2022

No, unfortunately the app crashes also when I open it normally
If you want I'll make a video

@arma7x
Copy link
Owner

arma7x commented Jul 22, 2022

You install the zip package from bhstore or build it directly from this depository ?

@Paoleddu
Copy link
Author

Paoleddu commented Jul 22, 2022

I downloaded the package from bhstore website on my pc, unpacked it and side loaded the app using WebIDE on PaleMoon 28.6.1, I didn't build the app because I don't know what I need to edit in the Config.js file

@arma7x
Copy link
Owner

arma7x commented Jul 22, 2022

Maybe this issue is related to KaiOS firmware, latest update make the quite slow and unresponsive. I ALSO don't have any issues running Telekram on my Nokia 8110 4G

@Paoleddu
Copy link
Author

Paoleddu commented Jul 22, 2022

I don't know, it might be caused by KaiOS
I've noticed that a few times I could enter a chat, but when I pressed the "Message" button it crashed
Later this afternoon I'll shot a couple of videos of the problems
Is there a Discord where I can join? It would be faster than github

@Paoleddu
Copy link
Author

VID_20220722_121831_115.mp4

@arma7x
Copy link
Owner

arma7x commented Jul 22, 2022

This is an OOM(Out Of Memory) issue. How many chats (personal, bot and channel) on your home screen?

@Paoleddu
Copy link
Author

Around 70

@Paoleddu
Copy link
Author

Also, two of the group chats I'm in are each over 2000 members, that might be an issue I guess

@Paoleddu
Copy link
Author

Paoleddu commented Jul 22, 2022

Ok, I've tried archiving some of them, comprised the big group chats, and now there are about 40 chats in the main page, but unfortunately the app still crashes
Also, it hasn't archieved the chats I've archieved from the pc client

@arma7x
Copy link
Owner

arma7x commented Jul 22, 2022

This Telegram client does not support Archived Chats

@Paoleddu
Copy link
Author

Ok, so for my use case it's an unsolvable problem.
Thanks anyway for your patience

@arma7x
Copy link
Owner

arma7x commented Jul 24, 2022

Yes. But, i'm working on new Telegram client https://github.com/arma7x/svelte-telekram, once it's stable I will send you a zip archive for testing purpose

@Paoleddu
Copy link
Author

With pleasure
I've moved to an Energizer E241S, it should work the same

@Paoleddu
Copy link
Author

Well, on the Energizer E241s (firmware 2.5.1.2) telekram, although slowly, works without going OOM, it even opens from the notifications
I guess that the 6300 4G is really poorly optimized

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants