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

Updated 1 December 2017

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.

 

 

author
. . .

Leave a Comment

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


Be the first to comment.

Start a Project


    Message Sent!

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

    Back to Home