demo: show how to avoid <cleartext HTTP traffic not permitted> an… - #1186
Merged
Conversation
…ck of FOREGROUND_SERVICE permission in demo Closes lingochamp#1171
rantianhua
force-pushed
the
refactor/service
branch
from
February 3, 2019 08:30
64bfdf6 to
86ce0b8
Compare
Collaborator
|
I can't get point about cleartext HTTP traffic not permitted. could you please more detail about that refer to the commit you provide, and if it will affect the real case if people use FileDownloader, please add it to the readme doc. p.s. change the MR title from |
Collaborator
|
Okay, what about other URLs declared on the Contacts? |
Collaborator
Author
|
I have handled all domains in Constant. |
rantianhua
force-pushed
the
refactor/service
branch
from
February 13, 2019 08:14
3d323c6 to
e936051
Compare
Collaborator
|
赞。 |
Jacksgong
reviewed
Feb 18, 2019
|
|
||
| Just create your own `DownloadMgrInitialParams.InitCustomMaker` and put those customized component to it, finally init the FileDownloader with it: [FileDownloader#init](https://github.com/lingochamp/FileDownloader/blob/master/library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java#L62) | ||
|
|
||
| ## Adaptation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…d lack of FOREGROUND_SERVICE permission in demo
more detail please refer to https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted
Closes #1171