Oct 4, 2022
Just wanted to add that there could be a step 4 here: updating lastVersionPromptedForReview in UserDefaults.
The current code does not have that part, but Apple has that part "UserDefaults.standard.set(currentVersion, forKey: UserDefaultsKeys.lastVersionPromptedForReviewKey)"
Just a note :)
Thanks for putting together the code. It is very helpful!