Asked by:
Lastest update of Adroid webview is causing errors in our APP with signalR connection

Question
-
User-337363504 posted
Good afternoon
As the subject says, in the last update of Android webview for Android 5 and 6, and the last update of Chrome for Android 7, is causing trouble in our application.
We devepeloped an emergency app, that is using Android webview application to show google maps, in our application we use google maps to show where an incident is ocurring and tracking car as ambulances responding this incident.
With this last part is where Android webview latest update is causing us troubles, because we are using signalR client services technology and signalR server technology to do the track of the units that wants to be tracked, in order to read from the server where is exactly the position of the unit, how ever in the last update of the Android webview the instance of signalR is doing nothing when its start to track on the client side.
With this i mean that the connetion hub try to start and nothing happen not even a single error is showed.
We already check in several forums if there’s a way to fix this, even asked signalR developers on github issues.
This error start to happen the same day that the last update of Android webview and Chrome were released, on september 25.
In order to validate if these application are causing us this troubles we downgrade to the versión of factory, the default versions of these apps in our cellphones, an xperia ultra xa with Android 7, a Samsung s5 with Android 5 and other one with Android 6, we run our application again in order to validate, and the tracking was done correctly.
i would like to know if there a way tp fix this in our application, because it’s seems that the last update for Android webview is not working correctly with signalR client services technology.
If you need to check some code just ask for it.
Hope to have news about this and you can help us because we’re having issues with a lot of clients, that are Android users.
Marcos Hernandez
software engineer
Definity First
Monterrey Mexico.
Tuesday, October 10, 2017 4:19 PM
All replies
-
User-335504541 posted
Hi marcosmemo,
What's the error do you meet?
Do you get any error message?
Best Regards,
Billy
HiWednesday, October 11, 2017 2:36 PM -
User-337363504 posted
does not throw any error, just try to start the hub with $.connection.hub.start() and it does nothing, it has a done function and fail but does not get into any one.
but if i get back to the factory versión of android webview in my phone, all works correctly again.
i don't get what can be happening.
checking the log of my server wich is running signalR backend, i realize that is ignoring my hub class, i mean there's no log trace of that class. but for web browser and ios there is log trace.
my $.connection object has all the properties needed setted up, i can even see in My DOM the server methods of the hub class, it just does not start anymore.
Wednesday, October 11, 2017 4:44 PM -
User-335504541 posted
Hi marcosmemo,
if i get back to the factory versión of android webview in my phone, all works correctly again.It appears that the problem is caused by the Android WebView.
You could post your question to Android WebView forum for a more professional help:
https://groups.google.com/a/chromium.org/forum/#!forum/android-webview-dev
Best Regards,
Billy
Monday, October 16, 2017 2:20 AM