Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Build and target SDK 28 (9.0) #991

Closed
3 tasks done
pocmo opened this issue Jul 16, 2018 · 7 comments
Closed
3 tasks done

Build and target SDK 28 (9.0) #991

pocmo opened this issue Jul 16, 2018 · 7 comments
Assignees
Labels
P3 Low impact and frequency size M 3 pts = 2-3 days = 12 - 18 hours

Comments

@pocmo
Copy link
Contributor

pocmo commented Jul 16, 2018

Why/User Benefit/User Problem

  • It will be a requirement for using new OS features
  • The longer we stay behind the harder it gets to update
  • We want to update to 28 in the components soon. To avoid conflicts we want to update the apps too.

What / Requirements

  • Update build.gradle files
  • Build and run tests to see if there are issues that need to be fixed
  • Is there a 28 support library release or does switching to SDK 28 mean we need to switch to the androidx.* support libraries (many of them seem to still have alpha version numbers).
@mcomella
Copy link
Contributor

If possible, I'd like to wait until 28 is officially released (afaik, it's still Beta). My reasons for this are:

  • Jump to definition on the source code will decompile the code rather than taking you to the source (b/c sources aren't released until the platform is officially released?)
  • Instant run stops working (similar reasons?)

@pocmo Do you know how to fix these issues while upgrading to 28?

@pocmo
Copy link
Contributor Author

pocmo commented Jul 17, 2018

Yes. we can still wait. SDK 28 seems to be final already. However there's no final image for any phone yet. Also the support libraries for 28 seem to be still in alpha. We may want to wait until they are final. Focus wants to build a feature based on the new biometric APIs, so I expect them to switch as soon as the support libraries are ready.

@bbinto bbinto added this to the Backlog milestone Aug 14, 2018
@bbinto bbinto added the P3 Low impact and frequency label Aug 14, 2018
@pocmo
Copy link
Contributor Author

pocmo commented Aug 28, 2018

FYI: Focus made the switch to SDK 28. In the components repository we are waiting for a final release of the support libraries (currently: 28.0.0-rc02) and maybe Robolectric 4.0 (which comes with support for API 28).

@mcomella
Copy link
Contributor

FYI: SDK 28 is released: mozilla-mobile/android-components#404 (comment)

We should add KTX while we're at it.

@pocmo
Copy link
Contributor Author

pocmo commented Sep 26, 2018

FYI: Android Components 0.26 is expected to require SDK 28 (tentative release date: October 5th)

@mcomella
Copy link
Contributor

mcomella commented Oct 9, 2018

Emily mentioned for Focus:

it required a lot of Settings changes to support libraries. We also had to accept the new licenses which ended up being a bit complicated

@mcomella
Copy link
Contributor

Also, API 28 blocks HTTP traffic by default so we need to add an option in our Android Manifest.

@psymoon psymoon self-assigned this Oct 12, 2018
@athomasmoz athomasmoz added the size M 3 pts = 2-3 days = 12 - 18 hours label Oct 12, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 16, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
…agment.activity method

- SDK28 requires SupportActvity().{method} to be only called from within the same library group
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
Required for SDK 28 (used for cleartext network traffic, such as cleartext HTTP)
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
- Update API 28 null annotation in BrowserNavigationOverlay
- Locally declare non-null adapter (HomeTileAdapter)
- Update onRequestChildFocus() to API 28 parameter types
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
…agment.activity method

- SDK28 requires SupportActvity().{method} to be only called from within the same library group
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
Required for SDK 28 (used for cleartext network traffic, such as cleartext HTTP)
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
- Update API 28 null annotation in BrowserNavigationOverlay
- Locally declare non-null adapter (HomeTileAdapter)
- Update onRequestChildFocus() to API 28 parameter types
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
…agment.activity method

- SDK28 requires SupportActvity().{method} to be only called from within the same library group
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
Required for SDK 28 (used for cleartext network traffic, such as cleartext HTTP)
psymoon added a commit to psymoon/firefox-tv that referenced this issue Oct 23, 2018
- Update API 28 null annotation in BrowserNavigationOverlay
- Locally declare non-null adapter (HomeTileAdapter)
- Update onRequestChildFocus() to API 28 parameter types
liuche pushed a commit that referenced this issue Oct 23, 2018
liuche pushed a commit that referenced this issue Oct 23, 2018
…y method

- SDK28 requires SupportActvity().{method} to be only called from within the same library group
liuche pushed a commit that referenced this issue Oct 23, 2018
Required for SDK 28 (used for cleartext network traffic, such as cleartext HTTP)
@liuche liuche closed this as completed in 8e2cf83 Oct 23, 2018
@ghost ghost removed the needs review label Oct 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 Low impact and frequency size M 3 pts = 2-3 days = 12 - 18 hours
Projects
None yet
Development

No branches or pull requests

5 participants