WirelessAlien / BhagavadGitaApp

A Simple Open-source Android App for Bhagavad Gita
GNU General Public License v3.0
57 stars 9 forks source link

Verse 48 translates opens Verse 1. #3

Closed sak96 closed 1 year ago

sak96 commented 1 year ago

https://github.com/WirelessAlien/BhagavadGitaApp/blob/cc48a216ee03178f7a53778332a2273b05d68afb/app/src/main/java/com/wirelessalien/android/bhagavadgita/activity/VerseDetailActivity.kt#L133-L135

this above line uses verse_number to open translation.

But the json has verse number resets for each chapter. https://github.com/WirelessAlien/BhagavadGitaApp/blob/cc48a216ee03178f7a53778332a2273b05d68afb/app/src/main/assets/verse.json#L566-L577

Thus the translation on verse 48 open verse 1 and not the correct verse.

so the code should ideally use verse_order instead of veser_number.

ps: thanks for the app.

WirelessAlien commented 1 year ago

5 Fixed

sak96 commented 1 year ago

hi @WirelessAlien do you know which issue is related to packaging of this app to fdroid. i am not able to find the fdroid packaging update. i checked here: https://gitlab.com/fdroid/rfp/-/issues/?sort=created_date&state=opened&search=gita&first_page_size=10

WirelessAlien commented 1 year ago

hi @WirelessAlien do you know which issue is related to packaging of this app to fdroid. i am not able to find the fdroid packaging update. i checked here: https://gitlab.com/fdroid/rfp/-/issues/?sort=created_date&state=opened&search=gita&first_page_size=10

I don't know, according to this F-Droid should automatically detect the update within 2 days but it has not done it yet, so maybe I have to manually update the metadata. I have asked them what to do - Link

sak96 commented 1 year ago

ok i see a commit happened 19hr ago. may be will check after a day or two. https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.wirelessalien.android.bhagavadgita.yml?ref_type=heads

WirelessAlien commented 1 year ago

ok i see a commit happened 19hr ago. may be will check after a day or two. https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.wirelessalien.android.bhagavadgita.yml?ref_type=heads

ooh, thanks, I did not see that. There is no issue now, build completed - https://gitlab.com/fdroid/fdroiddata/-/pipelines/974742750 so the the new update will be available soon.

sak96 commented 1 year ago

looks like the build failed for this app.

you can check more stuff here

some mismatch between their build and the binary in releases.

DOES NOT VERIFY ERROR: APK Signature Scheme v2 signer #1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: <16340ecf97125512ef9310eebc5ec80529c3ca3a98a2f1e2a7ad05f6bc5e5d51>, actual: <948df443324a3bf6110a7f3197ab12c299bc5834cab6a502a6111b91178f9625> 2023-08-23 07:55:43,148 ERROR: Could not build app com.wirelessalien.android.bhagavadgita: compared built binary to supplied reference binary but failed

You have release version 3 does that fix the issue ?

WirelessAlien commented 1 year ago

Yeah, it is a reproducible build issue.

The v3 was not released to solve the fdroid issue, I added new features and I published it.

May be we can skip the version 2.1 and try to build build v3.0 to see if that solves the issue

Let's see what happens 😔

sak96 commented 1 year ago

Something is wrong for fdroid. https://monitor.f-droid.org/builds/log/com.wirelessalien.android.bhagavadgita/5#site-footer

WirelessAlien commented 1 year ago

Something is wrong for fdroid. https://monitor.f-droid.org/builds/log/com.wirelessalien.android.bhagavadgita/5#site-footer

The issue is solved now but rebuild has not started, it will.

See this - https://github.com/WirelessAlien/BhagavadGitaApp/issues/8