We have moved to a new Sailfish OS Forum. Please start new discussions there.
32

Android apps are requiring Lollipop API 21 and TLS 1.2

asked 2018-06-30 01:27:28 +0300

updated 2018-07-26 13:12:09 +0300

This started on just speculation of something larger than just two apps. Since I had not been able to login and it seems that from communication with one of developers and stellar investigation by @ron282 that SailfishOS' Android support needs an upgrade for apps as they advance in using the next level of Android. Using the message I received from Venmo, it would be good direction for the Android support to be updated to at least Android Lollipop (API 21) as we are apparently only at API 19. There seems to be another factor, namely that tls1.2 is not enabled. The error I receive on my banking android apk shows an SSL Handshake error and wont let me log in, until @beeki mentioned it I did not realize the issue.

EDIT: Adding an important response I received about the Venmo app. According to @ron282 Sailfish is on API 19 and and it seems we need an upgrade from Sailfish on the Android support. Added the TLS1.2 reference raised in comments for @beeki. After reading through a few issues on various githubs this might be a relevant discussion to explore.

Venmo is only able to support Android Lollipop (API 21) or higher devices at this time. If you’re seeing this error, that would indicate that your device is not supported. Please contact your phone carrier for assistance upgrading your phone’s operating system.

edit retag flag offensive close delete

Comments

Same problem seems to be with Finnair and maybe also with VR Mobile aps. But update in Sailfish was not the problem because it started already in previous version. Haven't yet tried with MicroG.

japsi ( 2018-06-30 09:39:29 +0300 )edit
2

I have a similar feeling with an Android app which used to work and which is no more working. I have a message displayed by the app javax.net.ssl.SSLProtocolException.

When I look at the traces with devel-su chroot /opt/alien /system/bin/logcat

here are the first errors in the traces: E/GooglePlayServicesUtil( 4161): GooglePlayServices not available due to error 9 E/AudioManagerAndroid( 4161): BLUETOOTH permission is missing! E/dalvikvm( 4161): Could not find class 'android.app.job.JobScheduler', referenced from method com.google.android.gms.internal.measurement.zzbz.cancel

I tried to find what is this class android.app.job.JobScheduler. I can see it has been introduced in Android version 5 (API Level 21). This might be the issue since API level is 19 for Xperia X version 2.2 (i.e. Android 4.4).

ron282 ( 2018-06-30 15:41:09 +0300 )edit
1

Maybe SFOS 3 will bring the solution for that!

aQUICK1 ( 2018-07-02 21:16:55 +0300 )edit

hm but why would an android app's update upgrade to a newer abi version? thats just plain dumb, as in quite a heavy assumption to be.made by the developers. they might have forgotten to update the min abi version, is there a changelog of the app in question?

tortoisedoc ( 2018-07-02 21:47:59 +0300 )edit

ps which device are you on?

tortoisedoc ( 2018-07-02 21:54:49 +0300 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2018-07-05 05:23:10 +0300

andyr0ck gravatar image

Sailfish 3 is supposed to bring us an upgrade to the JVM version, no?

edit flag offensive delete publish link more

Comments

1

This is not an answer, and nobody said anything official on upgraded Android Runtime (not a JVM).

magullo ( 2018-07-05 12:50:17 +0300 )edit
5

https://jolla.com/sailfish3/ "Sailfish 3 Updates: .... Android support version upgrade ... "

mcencora ( 2018-07-05 13:50:21 +0300 )edit
2

Apologies, I typed my answer in the wrong text input box. I didn't think I was providing an answer. Also, by JVM, I mean the Android Runtime.

andyr0ck ( 2018-07-06 04:29:21 +0300 )edit

@magullo you raise a good point and I failed to realized that Q3 is the period we are in now. So hopefully not too far away.

marxistvegan ( 2018-07-07 07:15:44 +0300 )edit

OS3 came ... but no new Android SDK.

very, VERY :-(

Olle Jolle ( 2019-05-28 16:48:33 +0300 )edit
2

answered 2018-07-25 02:57:32 +0300

Rafael Flores gravatar image

Hi. I was in the same situation, with some android apps that donk work because this level 21 thing. I solved it instaling google play. It seems the Gplay upgrade alien dalvik somehow.

edit flag offensive delete publish link more

Comments

2

Thanks for the info, i rather not involve google play if I dont have to I am willing to wait it out until the upgrade.

marxistvegan ( 2018-07-25 05:36:45 +0300 )edit
1

I think that along a playstore you get tls1.2 implementation, that is what is usually missing.

beeki ( 2018-07-25 18:01:39 +0300 )edit

That would explain the obscure error I get on my other application, which does not require level 21 but requires level 16 and up and at first i did not think of it but ssl handshake error is what i see.

marxistvegan ( 2018-07-26 13:07:36 +0300 )edit

Thanks, I was wondering if updating Google Play services might resolve this issue, though I currently face a bit of a dilemma in that I need access to the Google Play store in order to install that, but in order to get access to the Google Play store I need to install Aurora*, but that requires SDK 21 giving me a bit of a chicken and egg situation...

  • Yalp now seems to be broken and unable to log in, and it has been quite some time since I had Google Play store app itself work. I guess I'll need to download from one of those questionable mirror sites and hope not to pick up anything nasty...
DarkStarSword ( 2019-07-31 10:51:11 +0300 )edit
0

answered 2020-02-02 23:17:57 +0300

algori gravatar image

Is the SDK version 16 the highest Jolla phone supports? I was not able to install Vivaldi Beta browser because of this incompatibility issue. Is there anything I can do?

edit flag offensive delete publish link more

Comments

2

just switch to sony xa2 or x10 device, it supports ad 8.1 versions. current devices are too old to be upgraded :)

coderus ( 2020-02-03 09:16:35 +0300 )edit

I just bought used Jolla so I'm going to stick with it as long as possible:) But is the SDK 16 really the latest one you can get?

algori ( 2020-02-12 23:37:01 +0300 )edit
Login/Signup to Answer

Question tools

Follow
12 followers

Stats

Asked: 2018-06-30 01:27:28 +0300

Seen: 4,049 times

Last updated: Feb 02 '20