nostros icon indicating copy to clipboard operation
nostros copied to clipboard

IzzyOnDroid incomplete

Open Gzushgshsh opened this issue 1 year ago • 29 comments

Screenshot_20230313-195313_F-Droid.jpg

Just arm-v8 is in the in IzzyOnDroid repositore, change this to universal build or add the other versions too

Gzushgshsh avatar Mar 13 '23 23:03 Gzushgshsh

Right now IzzyDroid only accepts arm-v8, if you know any other repository we can contacts with accepting more version would be glad to contact them :)

KoalaSat avatar Mar 14 '23 21:03 KoalaSat

Right now IzzyDroid only accepts arm-v8, if you know any other repository we can contacts with accepting more version would be glad to contact them :)

So what is going on with this app? Screenshot_20230314-193531_F-Droid.jpg

Gzushgshsh avatar Mar 14 '23 22:03 Gzushgshsh

Right now IzzyDroid only accepts arm-v8, if you know any other repository we can contacts with accepting more version would be glad to contact them :)

So what is going on with this app? Screenshot_20230314-193531_F-Droid.jpg

Maybe I'm wrong but I remember when talking with them they allowed me to choose between amerabi and v8, but their recommendation was v8

KoalaSat avatar Mar 15 '23 15:03 KoalaSat

Right now IzzyDroid only accepts arm-v8, if you know any other repository we can contacts with accepting more version would be glad to contact them :)

So what is going on with this app? Screenshot_20230314-193531_F-Droid.jpg

Maybe I'm wrong but I remember when talking with them they allowed me to choose between amerabi and v8, but their recommendation was v8

This app here seems to provide the universal apk, this is FairEmailScreenshot_20230315-125020_F-Droid.jpg

Gzushgshsh avatar Mar 15 '23 15:03 Gzushgshsh

I don't know how but it seems to be possible to make it available

Gzushgshsh avatar Mar 15 '23 15:03 Gzushgshsh

Yep, but the universal APK is 2 tines bigger, they allow only 2 versions of the specific v8/armeabi or just 1 version of the universal, I just just followed all their tips and the way they recommend to offer APKs 🙂

KoalaSat avatar Mar 15 '23 22:03 KoalaSat

To be more precise: the limit is 30 MB per app. So it's either 2 copies of a single ABI (currently around 14 MB each) and not running the risk of "install errors" when a new version was released but you didn't yet update the index – or a single copy of the "fat lady" (currently around 29 MB) and the risk that it would exceed the 30 MB limit anytime soon. Not sure if there's a third variant (like a build with both ARM ABIs only but in one APK), which might be something around 25 MB then.

By the way, @KoalaSat: I just had to add the NonFreeNet anti-feature as somehow a "Google Play" library slipped in. If that was by accident, you might wish to find and remove the culprit (npm list might help with that). If it was intended, you might wish to reconsider :wink:

IzzySoft avatar Mar 15 '23 22:03 IzzySoft

Thanks @IzzySoft for letting us know. I'm running the script you shared with me but I believe somehow it's not really working

https://github.com/KoalaSat/nostros/blob/main/.github/workflows/android-build.yml#L46

Do you see something wrong? Here is an example of the last run https://github.com/KoalaSat/nostros/actions/runs/4511890155/jobs/7944610670

KoalaSat avatar Mar 25 '23 22:03 KoalaSat

https://github.com/iBotPeaches/Apktool/releases/download/v2.5.0/apktool_2.5.0.jar

Ugh? That's pretty old (12/2020). I'd recommend using the latest release, here: https://github.com/iBotPeaches/Apktool/releases/download/v2.7.0/apktool_2.7.0.jar (11/2022, so almost 2 years younger). But it is still working, see the report at this place.

Offending libs:
---------------
* Google Play (/com/android/vending): NonFreeNet

1 offenders.

I guess you'd rather want a variant of my script as used by F-Droid's issuebot (what you used is rather for a quick manual investigation), see here – which outputs its report in JSON so your task can easily evaluate that (and e.g. get the count of "offenders").

IzzySoft avatar Mar 26 '23 00:03 IzzySoft

Ah I see, I just assumed scanapk.php finish with an exit 1 if any offender is found, this would help a lot for CI/CD, do you thing it would be possible to add it?

KoalaSat avatar Mar 26 '23 10:03 KoalaSat

Sure it's possible. And as it's FOSS you could even do that yourself :stuck_out_tongue_winking_eye: Done, just fetch the update.

IzzySoft avatar Mar 26 '23 12:03 IzzySoft

Sure it's possible. And as it's FOSS you could even do that yourself 😜 Done, just fetch the update.

Totally legitimate answer 😄 sorry has been a while since the last time I walked my php skills, next time I'll try 😛

KoalaSat avatar Mar 26 '23 16:03 KoalaSat

Done, should be good with the latest release

KoalaSat avatar Mar 27 '23 11:03 KoalaSat

Thanks! AF should be gone with the next index sync :smiley:

IzzySoft avatar Mar 27 '23 20:03 IzzySoft

@KoalaSat Any news about this issue?

Gzushgshsh avatar Apr 01 '23 02:04 Gzushgshsh

@lucas-04 unlikely. @KoalaSat cannot do much about that: which APKs are fetched is up to me (who runs the IzzyOnDroid repo). The universal APK is beyond the allotted 30-MB-per-app limit (and hardly will it be possible to make it smaller), so I decided to pick a per-ABI-build.

But seeing we decided for the armv8 build here: I probably could switch to fetching armv7 if @KoalaSat wants that. It should be compatible with most 64bit devices as well (except with Pixel 7+ and probably other future devices coming as 64bit-only). So would the other half of you complain then about the missing arm64 builds? And would a switch allow existing arm64 users to update still? (Taking a look: Yes, that should not be an issue here as the ABI is indicated by the "lowest bit": v7 has 70001, v8 70003 with the current version; just needed to make sure as e.g. Flutter by default uses the highest bit – e.g. 1007 vs. 3007, so whoever had installed v8 could never switch to v7).

That said, what device are you using? Will it even be capable of running Nostros "fluently"? I can only tell from having tested Amethyst for its inclusion with F-Droid.org that it was quite resource hungry, and even my (admittedly a bit older) Arm64 device had issues keeping up. @KoalaSat could you name some "recommended minimum requirements" towards hardware, especially how much RAM and CPU power would be needed to not end up in frustration?

IzzySoft avatar Apr 01 '23 12:04 IzzySoft

@IzzySoft I use a Galaxy A02 whith 2GB of RAM and 4x 1.5 Ghz CPU, it's very low cost device

Gzushgshsh avatar Apr 01 '23 21:04 Gzushgshsh

That about matches the Wileyfox Swift I've used for testing Amethyst. Have you tried the 32bit APK from releases here? Does it run acceptably smooth (not expecting wonders on low-end devices, but on my Fox Amethyst became quite … ahem … slow after a while)? I mean, I cannot argue for all Nostr clients by just having tested one of them. One day @KoalaSat might decide to have it at F-Droid, so I'll finally have a reason to try Nostros myself when performing the review :wink:

IzzySoft avatar Apr 01 '23 21:04 IzzySoft

I not test, i still use https://github.com/kaiwolfram/Nozzle it's very light nostr client

Gzushgshsh avatar Apr 01 '23 22:04 Gzushgshsh

Ah, yes. And also available via my repo :smiley: Maybe you can help improve its description?

IzzySoft avatar Apr 01 '23 23:04 IzzySoft

How i do this?

Gzushgshsh avatar Apr 01 '23 23:04 Gzushgshsh

Just let me know what should be added there. I'll update it then in my repo – and maybe open a PR to provide it upstream for further maintenance.

IzzySoft avatar Apr 02 '23 00:04 IzzySoft

Maybe the original description, the main attraction is that it is a light and simple client and this is not mentioned in the repository description

Gzushgshsh avatar Apr 02 '23 01:04 Gzushgshsh

Trouble is there is no such thing like "original description" – just one-liners. OK, I've added the word "lightweight" then, thanks!

IzzySoft avatar Apr 02 '23 11:04 IzzySoft

@KoalaSat could it be you forgot to increase versionCode with today's release? My updater is complaining.

IzzySoft avatar Apr 05 '23 19:04 IzzySoft

@KoalaSat could it be you forgot to increase versionCode with today's release? My updater is complaining.

Nope https://github.com/KoalaSat/nostros/commit/9b7a9db439219fe0ab0355b7d2cbea38210095c4 any details?

KoalaSat avatar Apr 06 '23 22:04 KoalaSat

Nope https://github.com/KoalaSat/nostros/commit/9b7a9db439219fe0ab0355b7d2cbea38210095c4 any details?

2023-04-05 19:31:36 local WARNING  repo/com.nostros_70003.apk already exists, quarantining before replacing it with update 'com.nostros_0.3.2.4-alpha.apk'

The meanwhile previous version was affected. The log message means it fetched 0.3.2.4-alpha, and it had versionCode 70003 which was already present (must have been 0.3.2.3)

package: name='com.nostros' versionCode='70003' versionName='v0.3.2.3-alpha'
package: name='com.nostros' versionCode='70003' versionName='v0.3.2.4-alpha'

Hereby confirmed. So fixed with the new one :wink:

IzzySoft avatar Apr 07 '23 00:04 IzzySoft

That about matches the Wileyfox Swift I've used for testing Amethyst. Have you tried the 32bit APK from releases here? Does it run acceptably smooth (not expecting wonders on low-end devices, but on my Fox Amethyst became quite … ahem … slow after a while)? I mean, I cannot argue for all Nostr clients by just having tested one of them. One day @KoalaSat might decide to have it at F-Droid, so I'll finally have a reason to try Nostros myself when performing the review 😉

I know this post is about a month old but my device has a sd712 paired with 8gb of ram and Amethyst is just about impossible to use, which seems crazy to me. It's not the most powerful device but I have zero issues running anything else I've thrown at it. Nostros works great and imo, it's the best open source client. Plasma could be good in the future but lacks a lot of features currently.

jawsh207 avatar Apr 24 '23 02:04 jawsh207