Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Build and target SDK 28 (9.0) Closes #2909 #3053

Merged
merged 6 commits into from Aug 7, 2018

Conversation

ekager
Copy link
Contributor

@ekager ekager commented Aug 3, 2018

Sorry this is a lot, most of the changes are updating to use support library.

Copy link
Contributor

@colintheshots colintheshots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally looks good. The one exception is I normally get a bit nervous seeing so many activity!!. calls in fragments. There are only two callbacks in fragments where the activity is almost guaranteed to be there: onAttach and onActivityCreated. I think we've been lucky because our app doesn't get evicted due to running a foreground service mostly in a single activity or we'd have a lot more crashes. Approved.

@colintheshots
Copy link
Contributor

Do not merge this! This might be more serious than I thought. WebViews targeting API 28 do not allow accessing non-SSL URLs. This means most URLs fail outright, even if they're only going to redirect to an https URL. I haven't found a way to toggle allowing insecure URLs back on quite yet.

@colintheshots
Copy link
Contributor

False alert. It looks like adding android:usesCleartextTraffic="true" to the manifest works around it. I had tried almost everything involving the network security config XML.

@colintheshots colintheshots merged commit 36b900b into mozilla-mobile:master Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🕵️‍♀️ needs review PRs that need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants