Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

immediate crash on launch #5

Closed
Der-Flip opened this issue Sep 8, 2022 · 10 comments
Closed

immediate crash on launch #5

Der-Flip opened this issue Sep 8, 2022 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@Der-Flip
Copy link

Der-Flip commented Sep 8, 2022

As title describes, I don't have many info on it.

have the app installed for quite some time, now. Wanted to launch it recently but it crashed immediately on launch.
After deleting cache and all app data as well as a re-install app still crashes immediately

attached is the catlog (logcat?), hopefully done correctly.
2022-09-08-17-49-53_unittool.txt

Redmi 9C
MIUI Global 12.0.14 stable (As well as previous release)
Android 10 QP1A.190711.020
Security Updates: 22-07-01

@ThiBsc
Copy link
Owner

ThiBsc commented Sep 8, 2022

Hi, thank you for using the application.

Can you tell me on which store do you installed it (Google or F-Droid), and also the version of the application (I guess 1.0.6?).
Also, do you set some special settings ? Like dark mode, language etc

I'll take a look to it when I'll find time, but thank you for helping me improve the application.

@ThiBsc ThiBsc self-assigned this Sep 8, 2022
@Der-Flip
Copy link
Author

Der-Flip commented Sep 8, 2022

Hi, my apologies, I knew I forgot something
App Version 1.0.6 via fdroid (droidify)
https://www.f-droid.org/packages/com.unitstool/

Regarding the special settings, I wish I could remember but I don't. I also would've done more testing if the app had started after deleting all app data and reinstalling.

I can do some more checks this evening

@ThiBsc
Copy link
Owner

ThiBsc commented Sep 8, 2022

Could you just test to use the version of the Play store to know if the problem can come from the generated apk itself or not ?

@Der-Flip
Copy link
Author

Der-Flip commented Sep 8, 2022 via email

@ThiBsc
Copy link
Owner

ThiBsc commented Sep 8, 2022

Ok, so the problem should come more from the apk on F-Droid than from the application itself, it's nice to know.

@ThiBsc
Copy link
Owner

ThiBsc commented Sep 8, 2022

You're right, I tested with the last version of the app on the F-Droid store and I have the same problem. But not with the 1.0.5 version, it seems to be the generating process on F-Droid that provide a bad APK for the last version on this store. So by waiting I'm investigate more. You can use the 1.0.6 version of the play store or the 1.0.5 version of the F-Droid store

@ThiBsc
Copy link
Owner

ThiBsc commented Sep 18, 2022

The problem seems to be after an update that I made, to solve it, I run this command before generate my apk:
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle like it said on this issue, so I have to update the yml file on the f-droid side.
The generated apk was asking for Metro server like if I was in debug bug, I don't know really why, but it was the cause

@ThiBsc
Copy link
Owner

ThiBsc commented Oct 5, 2022

@Der-Flip I fixed the apk of the F-Droid store for the v1.0.6, can you confirm it's now working ? As I can close this issue

@ThiBsc ThiBsc closed this as completed Oct 7, 2022
@Der-Flip
Copy link
Author

Der-Flip commented Oct 7, 2022

hi sorry, didn't have time before and didn't realize you pushed it already to f-droid as it still shows 4th August as 1.0.6's publishing date.
Tested it and it does indeed start up now.
Thanks! :)

@ThiBsc
Copy link
Owner

ThiBsc commented Oct 7, 2022

Yes, the date hasn't change because the problem was in the apk generation process, not in the source code. So F-Droid display the same date

@ThiBsc ThiBsc added the bug Something isn't working label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants