Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Urgent: Remove breaking createJSModules override #169

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lukewlms
Copy link

@lukewlms lukewlms commented Aug 2, 2017

Parallel change to that required in react-native-auth0: auth0/react-native-auth0#70

Luke Williams added 3 commits August 2, 2017 16:10
Parallel change to that required in react-native-auth0: auth0/react-native-auth0#70
- Provides backward compatibility with v0.46.x and earlier
@lukewlms
Copy link
Author

lukewlms commented Aug 3, 2017

Not sure how to read the Travis log - it's quitting b/c the log got too massive, but I don't see errors or exceptions.

@lenkavon
Copy link

lenkavon commented Aug 4, 2017

It would be great, if this is merged ASAP

@GantMan
Copy link

GantMan commented Aug 4, 2017

+1

Copy link

@GantMan GantMan left a comment

Choose a reason for hiding this comment

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

No need to keep this function. Just remove it and let the versions handle < 0.47

return new ArrayList<>();
// Required @Override for React Native v0.46.x and lower
public List<Class<? extends JavaScriptModule>> createJSModules() {
return new ArrayList<>();
Copy link

Choose a reason for hiding this comment

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

honestly you should remove the function entirely.

@lukewlms
Copy link
Author

lukewlms commented Aug 4, 2017

With the function still in there, if anyone upgrades react-native-lock then they'll still have a working build. The function is trivial to leave in, so I'd probably do that.

@jeaye
Copy link

jeaye commented Oct 17, 2017

Is anything happening with this? I'm trying to upgrade to 0.47.0 and hitting the issue described.

@lukewlms
Copy link
Author

@jeaye You may have to just fork and make the change, then point package.json at the custom version. It's pretty easy.

Auth0 has given up on this module which really sucks as we're forced onto web-based authentication within the app. Looking at alternate options. I wouldn't hold out hope that this pull request will ever be merged.

@jeaye
Copy link

jeaye commented Oct 18, 2017

@lukecwilliams I can do that. Thanks for the heads up!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants