support Android 27 with Gradle v4 + Android plugin v3#53
support Android 27 with Gradle v4 + Android plugin v3#53lampietti wants to merge 1 commit intohieuvp:masterfrom
Conversation
|
@lampietti thanks for the PR! Sorry for the slow turnaround on a review. For some context, can you describe the issue you're solving with this PR? Was this package not working with the rest of your app? Was this generated automatically? |
|
@phillbaker This PR solves the issue when you launch an PS: I reworked my PR to manage the ext variables from root project as suggested in #63 |
|
Thanks for the context @lampietti, just so I get up to speed, a few more questions:
|
|
@lampietti @phillbaker would it be possible to get this merged? I'm being held up on an Android release because of it. Thanks! |
|
@jasonmerino can you help answer the questions I asked above? That would help move this PR forward.
|
|
I'm no expert when it comes to Gradle, but AFAIK this would be a breaking change for those using Gradle 3. I would think API 26 would be a fine fallback. The changes in the Gradle wrapper (gradlew) file would have been generated code changes, I believe. Hope that helps. Like I said, I'm not an expert on this but this is how I understand it. 🤞🏼 |
|
I would agree this is breaking for people using older react-natives (based on older Gradle versions). react-native-fs has a good example of the messaging for this as the break occurs at RN0.57 https://github.com/itinance/react-native-fs/ It is sort of a shame that this change also includes the example updates - those are useful but separate, really. API27 is the default for RN0.58 As an android developer I don't see a difference between 26 and 27 really. 28 adds the requirement that you can't load the development bundle over HTTP without an exception for non-HTTPS, so it can be irritating. Apps should be controlling this directly though so the fallback is never really used. All the gradle wrapper stuff is generated with |
|
Awesome, thanks for the links and background!
…On Tue, Mar 12, 2019 at 6:59 PM Mike Hardy ***@***.***> wrote:
I would agree this is breaking for people using older react-natives (based
on older Gradle versions). react-native-fs has a good example of the
messaging for this as the break occurs at RN0.57
https://github.com/itinance/react-native-fs/
It is sort of a shame that this change also includes the example updates -
those are useful but separate, really.
API27 is the default for RN0.58
API28 is the default for RN0.59 just released
As an android developer I don't see a difference between 26 and 27 really.
28 adds the requirement that you can't load the development bundle over
HTTP without an exception for non-HTTPS, so it can be irritating. Apps
should be controlling this directly though so the fallback is never really
used.
All the gradle wrapper stuff is generated with ./gradlew wrapper yes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFxKb-g-wimZavUbzs6mZxVT7AimBMUks5vWDE4gaJpZM4V_s0a>
.
|
|
Just commenting that backwards compatible support for gradle 4 was introduced in #78. The plan, especially with react-native version 60 introducing required androidx support is to introduce those breaking changes at once. |
|
not sure this is relevant anymore? (just scanning through these as I consider integrating this library again after a delay) |
No description provided.