Mobile rewards #251
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-android#251
Loading…
Reference in a new issue
No description provided.
Delete branch "rewards"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adjust formatting, I'd suggest:
@ -0,0 +32,4 @@
});
}
componentWillReceiveProps(nextProps) {
No more legacy methods!
https://github.com/lbryio/lbry-android/pull/232/files#r210515192
See the big yellow box:
https://reactjs.org/docs/react-component.html#updating
@ -0,0 +25,4 @@
claimStarted: false
};
componentWillReceiveProps(nextProps) {
https://reactjs.org/docs/react-component.html#updating
@ -0,0 +48,4 @@
DeviceEventEmitter.removeListener('onPhoneStatePermissionGranted', this.phoneStatePermissionGranted);
}
componentWillReceiveProps(nextProps) {
https://reactjs.org/docs/react-component.html#updating
@ -0,0 +32,4 @@
});
}
componentWillReceiveProps(nextProps) {
Heh! The reason I haven't moved on from this yet is we're still using an older React version, 16.2.0. I've read the documentation and it looks like the warnings started appearing from v16.3.0. I haven't had the chance to explore upgrading to newer versions of react yet (there were some issues the last time I tried), but I would love to discard all legacy methods when the time comes.