Skip to content

Rename verification result SUCCESS to VERIFIED#874

Merged
tonidero merged 2 commits into
mainfrom
rename-verification-result-success-to-verified
Mar 15, 2023
Merged

Rename verification result SUCCESS to VERIFIED#874
tonidero merged 2 commits into
mainfrom
rename-verification-result-success-to-verified

Conversation

@tonidero

Copy link
Copy Markdown
Contributor

Description

This PR renames VerificationResult.SUCCESS to VerificationResult.VERIFIED. This is to match iOS nomenclature.

@tonidero tonidero requested a review from a team March 15, 2023 13:04
@codecov

codecov Bot commented Mar 15, 2023

Copy link
Copy Markdown

Codecov Report

Merging #874 (036c91d) into main (02d7c74) will increase coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head 036c91d differs from pull request most recent head ae77cd0. Consider uploading reports for the commit ae77cd0 to get more accurate results

@@            Coverage Diff             @@
##             main     #874      +/-   ##
==========================================
+ Coverage   83.28%   83.31%   +0.02%     
==========================================
  Files         139      139              
  Lines        4548     4548              
  Branches      602      602              
==========================================
+ Hits         3788     3789       +1     
  Misses        540      540              
+ Partials      220      219       -1     
Impacted Files Coverage Δ
...at/purchases/common/verification/SigningManager.kt 100.00% <100.00%> (ø)
...ava/com/revenuecat/purchases/VerificationResult.kt 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -21,7 +21,7 @@ enum class VerificationResult {
/**
* Entitlements were verified with our server.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wouldn't mention entitlements here since this type can be used for any response.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hmm good point... We should also update the other enum values and iOS @NachoSoto

@tonidero tonidero enabled auto-merge (squash) March 15, 2023 19:26
@tonidero tonidero merged commit d761bb0 into main Mar 15, 2023
@tonidero tonidero deleted the rename-verification-result-success-to-verified branch March 15, 2023 19:43
@tonidero tonidero mentioned this pull request Mar 31, 2023
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.

2 participants