Hello Team, when user tried lo login to the app using LastPass password manager, they are encountering security related issues and it doesn’t allow the user to login. It displays a alert message upon clicking login in button saying This site pose a technical security risk because it doesn’t use industry-standard encryption (it uses http, not https). Always stop and think before submitting your credentials to http site. Http://localhost
Below are few things I tried implementing but nothing worked.
-
Added androidScheme: “https” in capacitor.config.ts file
-
Added host name and allownavigation in capacitor.congif.ts file
server: {
androidScheme: “https”,
iosScheme: “https”,
// hostname: “example.com”,
// allowNavigation: [“https://example.com/”]
} -
Added android:usesCleartextTraffic=“true” in androidmanifest.xml file
-
Added intent-filter in androidmanifest.xml file
-
<action android:name="android.intent.action.VIEW" />*
-
<category android:name="android.intent.category.DEFAULT" />*
-
<category android:name="android.intent.category.BROWSABLE" />*
-
<data android:scheme="https" />*
-
<data android:host="example.com" />*
-
</intent-filter>*
{
“iosScheme”: “https”,
“androidScheme”: “https”,
“hostname”: “example.com”,
“allowNavigation”: [“*.example.com”]
}