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

[iOS] There is no "Upgrade..." button for the course #488

Closed
sergeymomot opened this issue Jul 10, 2024 · 2 comments
Closed

[iOS] There is no "Upgrade..." button for the course #488

sergeymomot opened this issue Jul 10, 2024 · 2 comments
Labels
bug Report of or fix for something that isn't working as intended

Comments

@sergeymomot
Copy link

Found that for the course https://learning.edx.org/course/course-v1:HarvardX+MCB63X+1T2024c/home in OpenedX mobile app there is no "Upgrade to access more features button". At the same time this button is present on the Web and edX mobile app

Image

@sergeymomot sergeymomot added the bug Report of or fix for something that isn't working as intended label Jul 10, 2024
@rnr rnr closed this as completed Jul 11, 2024
@rnr
Copy link
Contributor

rnr commented Jul 11, 2024

closed
bug is on current edx app

@forgotvas
Copy link
Contributor

forgotvas commented Jul 11, 2024

from @saeedbashir - old app uses

if let courseModes = dictionary["course_modes"] as? [[String: AnyObject]]  {
            for mode in courseModes where mode["slug"] as? String == "verified" {
                verifiedModeAvailable = true
                if let sku = mode["ios_sku"] as? String {
                    iosSku = sku
                }
                lmsPrice = mode["min_price"] as? Double ?? 0
                break
            }
        }

verifiedModeAvailable isn't checking for the sku which it should be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended
Projects
Status: Done
Development

No branches or pull requests

3 participants