Automatically resets app Locale in Android Nougat 7.1 after launching the WebView

Save

In this small blog, we will see the basic solution to solve the Android 7.1 issue, somehow android nougat 7.1 devices automatically resets application locale after launching the WebView.

In the below solution, we will change the locale to ES(Spanish language).

How to fix

Step 1: Add this link before or after loading the webview,  

like this,

Step 2: Create a method for language change in application Class,

Step 3: Call it to the onCreate(),

complete application class,

If you have any doubt on this blog, please ask in comments. And stay updated and stay super.

Reference link.

 

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

It was a successful collaboration. The Mobikul team provided the client everything they needed in a timely and high-quality manner. They were very professional, reliable, and accessible during the entire process. The client also saw no room for any improvements in the vendor's performance.

Vincenzo Carrano

Vincenzo Carrano

Administrator, Segshop

Talk to Sales

Global

Live Chat
Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home