Check Mobile App
Read now
Start a Project

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

Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.

Osama
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