Questions tagged [cleartext]
31 questions
61
votes
4 answers
CLEARTEXT communication not permitted by network security policy working on my mobile
I am building an APP, and facing CLEARTEXT communication not permitted by network security policy error on my friend mobile (I am just testing it on anther mobile). of course i am not able to trace the problem as the application is working OK on my…

Thudner
- 1,043
- 1
- 7
- 14
10
votes
4 answers
How to fix 'Cleartext HTTP traffic to x not permitted' in xamarin android
I have an issue in my application Cleartext HTTP traffic to x not permitted.
I've already tried putting android:usesCleartextTraffic="true" in my manifest. But i want to change "android:usesCleartextTraffic" flag to "false" to prevent unencrypted…

SoftDev
- 277
- 1
- 3
- 13
3
votes
2 answers
How to resolve cleartext not permitted in aosp
I know cleartext been disabled by default by android. May I know where exactly I can enable in aosp instead of adding in all packages with network config files?
Where I can permit by adding the below line?…

Shadow
- 6,864
- 6
- 44
- 93
3
votes
2 answers
Does HTTP use cleartext?
I've been reading about the differences between HTTP and HTTPS, and have also come across the term 'cleartext'. Does HTTP always use cleartext since it doesn't use encryption?

Adam Johnson
- 31
- 5
2
votes
4 answers
Why is cleartextTrafficPermitted tag not detected when enclosed in debug-overrides tag of my Xamarin Android network_security_config.xml file?
I have a Xamarin.Forms application, for which I am able to debug in cleartext (http) mode, based on the inclusion of a network_security_config.xml file as follows:

user756366
- 467
- 6
- 24
2
votes
1 answer
Cleartext HTTP traffic to ... not permitted
my program takes an URL from the user, so it may make request to any website of the internet.
I'm trying to make this possible, I looked up all the answers about "Android HTTP Cleartext" errors, and made this, but it still doesn't let me connect my…

ALZ
- 59
- 2
- 8
2
votes
0 answers
API 29 webview net::ERR_CLEARTEXT_NOT_PERMITTED
In my webview I load an html, which is a string, as follows:
myWebView.loadData(htmlTemplate, "text/html", "utf-8");
This displays a certain content, where there is a button. In the click of the button, a url is supposed to be…

user677767
- 203
- 3
- 10
2
votes
1 answer
Android : Allow Cleartext http
I have a specific requirement wherein I have to block all http requests coming from the app, but there is a particular http url which a library uses which I have to whitelist.
Tried setting the network_security_config xml as follows but can't load…

vinv
- 355
- 2
- 14
1
vote
2 answers
How is the ERR_CLEARTEXT_NOT_PERMITTED error overcome?
I am following a tutorial on building a login page for users and for a few days now I have been stuck with a cleartext error.
In response I have noticed directions on creating a network_security_config file and adding to the AndroidManifest files,…

mathems32
- 115
- 9
1
vote
1 answer
Is there a way to open any file as text in VS Code?
VS Code is currently my favourite text editor, except for Jupyter notebooks, which are opened as interactive python environments (let's call this 'rendered').
By itself it is nice that this is possible, but not I can live with opening them in a…

Roel
- 197
- 8
1
vote
4 answers
Android 9.0 CLEARTEXT communication to "ipaddress" not permitted by network security policy
When I run my android project, with changed destination url https to http, I got an error "CLEARTEXT communication to mylocalipaddress not permitted by network security policy".
So, I edit AndroidManifest.xml to android:targetSandboxVersion="1" in…

BigJ
- 21
- 1
- 5
1
vote
0 answers
Making clear text format in Sublime text 3
I am using Sublime Text 3 editor. I changed background to transparence. But letters are being shown dim, not clear. That's why I want to change text (interface text also) for making clear text format. Sadly I couldn't do this. If someone can solve…

TemuR BeK
- 21
- 3
1
vote
1 answer
How i can introduce key based event in my fabric.js canvas?
I am following the below js fiddle.
https://jsfiddle.net/Jonah/sbtoukan/1/
The code I am following is as below:
var canvas = new fabric.Canvas('container');
var oText = new fabric.IText('Tap and Type', {
left: 0,
top: 0,
fontFamily: 'Bree…

hirazzz
- 49
- 2
- 8
1
vote
1 answer
What is meant by 'e' argument in the clearText function?
I am trying to implement the following code in order to remove the text from the canvas. Although it is perfectly working. But my question is that it implements when i click on the text. I want that it should implement when i press the delete key or…

hirazzz
- 49
- 2
- 8
1
vote
1 answer
Sqlcmd - run sql query script without cleartext password?
Hope you're having a great day thus far :)
I'm using this script to automate an sqlquery, so that another team can use these logs. However, they are not permitted to have the login credentials for this database, and my current script uses a…

Maximusrelaximus
- 37
- 1
- 5