Skip to content

Conversation

@Buthrakaur
Copy link
Contributor

@itinance
Copy link
Owner

itinance commented Aug 2, 2017

Thx... It is very confusing. First in. Then out.
It is breaking change up to 0.47.0 while createJSModules will be required for 0.45 and 0.46?
Can someone confirm? @Buthrakaur @maxkomarychev @joshuapinter (according to #319)

@maxkomarychev
Copy link

maxkomarychev commented Aug 2, 2017

@itinance the breaking change was introduced in recent release 0.47.0 of react-native.
The mentioned method is no longer exists in RN api in java. This means all libraries which still have this @Override... are no longer compatible with latest release of RN.

I am not entirely sure if the library will still be working with previous versions of RN without this method howerver I would say this method should be removed from the mainstream so people who already updated to 0.47 can use it normally. Those who didn't - can still use previous versions or fork with backports.

@Buthrakaur
Copy link
Contributor Author

Buthrakaur commented Aug 2, 2017

I agree with @maxkomarychev according to versioning vs RN compatibility. The 0.47 dependency should be probably strictly defined in package.json though, which I didn't changed.. ?

@itinance
Copy link
Owner

itinance commented Aug 2, 2017

Thx for clarification.

I will do the following: i will create a new (long overdue) release that is valid until 0.46.
After it i will then create another new release with 0.47-breaking change.

This should be more convinient for all those that will wait with upgrading to 0.47 (which is quiet common for already existing RN-projects to wait a bit with upgrading)

@maxkomarychev
Copy link

@Buthrakaur I agree, you should also update version of react-native in package.json to be greater than 0.47.0.

side question: doesn't it have to defined it as peerDependency as well?

@itinance itinance merged commit fc4b493 into itinance:master Aug 2, 2017
@itinance
Copy link
Owner

itinance commented Aug 2, 2017

At the end I handled it differently as seen in this PR: https://github.com/andpor/react-native-sqlite-storage/pull/188/commits

I added back the method but removed the @OverRide.

@Buthrakaur Buthrakaur deleted the patch-1 branch August 3, 2017 06:42
jlewallen added a commit to conservify/react-native-tcp that referenced this pull request Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants