anli5005 / BetterSchoology

macOS app that offers a better Schoology experience.
11 stars 0 forks source link

Generalize for other Schoology customers #5

Open syedtariq2013 opened 2 years ago

syedtariq2013 commented 2 years ago

I looked through your code, downloaded it and was able to build it. Then I modified 'context.swift' to substitute the sharedClient to change the prefix. I am waiting to get the schoolId from the school system. I did run the app and got messages in the Debug area of Xcode as well as a message on the login screen from AuthView.swift Error extension

Could not find credentials 2022-07-25 14:28:29.517661-0400 BetterSchoology[65132:4895160] Metal API Validation Enabled Signing in with username xxxxx Sign in successful! Sign in complete.

On the login screen I get an error message: "Sorry an error occurred". It could be because of the wrong School Id.

I would like to tackle your open issue. However, You have other URLs in the code that I don't understand. I would appreciate if you can guide me on how to customize the app to a different Schoology customer. I plan to share the code after I succeed in making it work.

I have not reviewed the code completely but you put together a major effort and very well done.