Take action on LbryUri.parse() and related tests after LBRY SDK mod character changes #1053
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#1053
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The Issue
LBRY SDK 0.84 has changed the modifier characters on URLs (
lbryio/lbry-sdk@7637aa2ab6andlbryio/lbry-sdk@e8d299d3b6).LbryUri.parse() method on lbry-android was changing those characters for links coming from HTTPS protocol (for example, when user clicked on a link on an Android browser and chose LBRY Android to open it). Now that change is no longer needed, as accepted HTTPS urls are using ':' as the primary modifier separator, which was replaced by '#' on code as it was the expected one.
See also https://github.com/lbryio/lbry-sdk/issues/2832#issue-573031942
Related unit tests were about refactoring HTTPS urls to LBRY protocol urls, but part of those tests also were about the correct replacement of those primary modifier separators. It should also be changed to be consistent with LBRY SDK.
The change of the separator characters landed on SDK 0.84 but from the above lbry-sdk linked issue, it should not break the functionality of the app for a while, so this change is not strictly required to be performed between LBRY Android SDK 0.84 -when it is updated and lands on MavenCentral- and the following release.
Internal Use
Acceptance Criteria
Definition of Done
App must handle both
:and#and ship in advance of wallet server upgrade. After upgrade, code referencing#can be removed.