Android client: if only I could unread the sdk

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
User avatar
tjh
Bear Rating Trainee
Bear Rating Trainee
Posts: 11
Joined: 04 Apr 2013, 01:17
Location: Napier, New Zealand
Contact:

Re: Android client: if only I could unread the sdk

Postby tjh » 14 Oct 2016, 03:42

Hello.
Firstly, fox, please don't hunt me down and kill me. This is just a humble bug report.
I promise I tried, I really did.

I've just changed the SSL Certificate on my server from a typical RSA certificate to a "trendy, new, sexy" ECC (Elliptical Curve Cryptography) certificate.

Now I can't login to the Android app anymore.

I have a Nexus 6, Running Android 7.0. It's not modded, or unlocked, or running any kiddy ROM. Just the standard Google Factory Image.

If I roll back to an RSA certificate, I can login again.

It seem that the Tiny Tiny RSS App (ver 1.178) doesn't support ECC certificates? Is this something that can be easily fixed?

My website (https://reader.muppetz.com) works fine in Chrome on the same device.

Thanks.

PS: Please don't murder me.

PPS:

Code: Select all

Tiny Tiny RSS v16.8   © 2005-2016   Andrew Dolgov

[email protected]:/home/tim# apache2 -v
Server version: Apache/2.2.22 (Debian)
Server built:   Jul 20 2016 11:32:01

[email protected]:/home/tim# php -v
PHP 5.6.26-1~dotdeb+7.1 (cli) (built: Sep 18 2016 21:04:37)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

PHP 5.6.26-1~dotdeb+7.1 (cli) (built: Sep 18 2016 21:04:37)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client: if only I could unread the sdk

Postby fox » 14 Oct 2016, 08:07

the app uses HttpsURLConnection which is a part of android/java SDK. if it doesn't like your certificate for some reason then you're SOL i'm afraid.

chrome probably has its own SSL implementation because android is a shitpile in general and google software is the worst offender of never using its own SDK and reimplementing everything in their own proprietary apps again and again and again

e: you can try getting adb logs or screenshot the error message

User avatar
tjh
Bear Rating Trainee
Bear Rating Trainee
Posts: 11
Joined: 04 Apr 2013, 01:17
Location: Napier, New Zealand
Contact:

Re: Android client: if only I could unread the sdk

Postby tjh » 14 Oct 2016, 21:21

No worries. I've gone back to just an RSA certificate for this domain.
I figured it was probably just a standard Android API you were calling and yea, doing a bit of googling it seems support for ECC certs in this call isn't a thing. Cheers.

nameless
Bear Rating Master
Bear Rating Master
Posts: 126
Joined: 28 Aug 2013, 20:33

Re: Android client: if only I could unread the sdk

Postby nameless » 17 Feb 2017, 20:01

Swipe to dismiss has been implemented today while I consider this a convenient feature I'm not sure if it works as expected.
When dismissing multiple articles in a row things look kinda funky. ( Screenshot attached)

Also most apps I use on a daily basis have their swipe notification at the bottom. Is there any particular reason why you placed at the top?


Nevermind. I now get how this is supposed to work.

Other then that it seems as if swipe only works as expected if you scroll past the notification while having auto-mark-as-read enabled. Or is this just me?
Last edited by nameless on 17 Feb 2017, 20:16, edited 1 time in total.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client: if only I could unread the sdk

Postby fox » 17 Feb 2017, 20:12

it's not at the bottom because the listview element is being replaced with the undo thing, like gmail does for example. unfortunately it's not possible to have this view separate with this implementation.

it should however dismiss the previous undo notification while making another one, but i guess it's not smart enough to do so. i think they had some kind of timer-based undo, maybe i should use that instead.

the library i'm using for listviews is this one http://nhaarman.github.io/ListViewAnimations/

e: i'll use the timer-based thing maybe it'll be less dumb then

e2: yeah this is a lot better

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client: if only I could unread the sdk

Postby fox » 17 Feb 2017, 20:18

>Other then that it seems as if swipe only works as expected if you scroll past the notification while having auto-mark-as-read enabled. Or is this just me?

nope it should squish itself and disappear even if this is disabled, at least that's how it work on an avd here

i like the timer-based approach better anyway tho

e: i'm officially hardcoding the undo timer to 2 seconds

btw i really wish i had like dedicated beta people who would report this kinda shit before i roll the new release to everyone and their mom

Reader_Refugee
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 01 Apr 2013, 19:25

Re: Android client: if only I could unread the sdk

Postby Reader_Refugee » 17 Feb 2017, 20:36

i really wish i had like dedicated beta people


I'm down.

nameless
Bear Rating Master
Bear Rating Master
Posts: 126
Joined: 28 Aug 2013, 20:33

Re: Android client: if only I could unread the sdk

Postby nameless » 17 Feb 2017, 21:05

Isn't there beta testing via Play Store already?
If I am not mistaken I am already signed up for that.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client: if only I could unread the sdk

Postby fox » 17 Feb 2017, 21:30

yeah I rarely get reports before stuff goes public tho

oh well

e: beta enrollment info is stickied in development subforum I think

nameless
Bear Rating Master
Bear Rating Master
Posts: 126
Joined: 28 Aug 2013, 20:33

Re: Android client: if only I could unread the sdk

Postby nameless » 18 Feb 2017, 11:41

I just noticed an other thing which might be a bug.
When performing the swipe left to dismiss gesture while there a no articles being displayed the app crashes.
Can somebody confirm this?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client: if only I could unread the sdk

Postby fox » 18 Feb 2017, 12:07

probably swiping the automarkasread placeholder entity

i'll take a look later today

e: new build should be up soon

nameless
Bear Rating Master
Bear Rating Master
Posts: 126
Joined: 28 Aug 2013, 20:33

Re: Android client: if only I could unread the sdk

Postby nameless » 18 Feb 2017, 14:14

Seems to be fixed.
Thanks.

pcause
Bear Rating Master
Bear Rating Master
Posts: 144
Joined: 23 Aug 2013, 19:52

Re: Android client: if only I could unread the sdk

Postby pcause » 18 Feb 2017, 17:59

Just downloaded the Android client update. I am in tablet mode with the list of labels/categories on the right. When I tap and hold a message summary on the right I no longer get the popup menu that would allow me to open in the browser, etc.

PS: as long as your are doing things to the client, how about adding a mark older than read feature.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Android client: if only I could unread the sdk

Postby fox » 18 Feb 2017, 20:13

disable swipe to dismiss to get the context menu back those are mutually exclusive

>PS: as long as your are doing things to the client, how about adding a mark older than read feature.

what

pcause
Bear Rating Master
Bear Rating Master
Posts: 144
Joined: 23 Aug 2013, 19:52

Re: Android client: if only I could unread the sdk

Postby pcause » 19 Feb 2017, 00:37

I'd previously suggested:

viewtopic.php?f=8&t=3975


Return to “Support”

Who is online

Users browsing this forum: No registered users and 11 guests