Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Part 3 sync to upstream #533

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

rnr
Copy link
Contributor

@rnr rnr commented Oct 28, 2024

This PR contains synchronisation code to solve a problem where a course has gated content and user tap in coursework doesn't work (e.g. ‘IBM's The Data Science Method’ course and some of the graded quizzes in it).

original PR: edx#37

After fix we show page:

Copy link
Contributor

@IvanStepanok IvanStepanok left a comment

Choose a reason for hiding this comment

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

Great job @rnr ! I only found one bug, everything else looks great!

.padding(.top, 12)
StyledButton(CourseLocalization.NotAvaliable.button, action: {
if let url = URL(string: url), UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url)
Copy link
Contributor

Choose a reason for hiding this comment

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

The link does not open on the simulator and iOS 18 device.

BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(:) needs to migrate to the non-deprecated UIApplication.open(:options:completionHandler:). Force returning false (NO).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch @IvanStepanok !
This is caused by a Facebook SDK bug. To solve the problem, increase its version. Please re-check
Thank you

@rnr rnr requested a review from IvanStepanok October 30, 2024 11:44
Copy link
Contributor

@IvanStepanok IvanStepanok left a comment

Choose a reason for hiding this comment

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

LGFM

@volodymyr-chekyrta volodymyr-chekyrta merged commit e76053c into openedx:develop Oct 30, 2024
6 checks passed
@rnr rnr deleted the part-3-sync-to-upstream branch November 22, 2024 12:51
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.

4 participants