Since PHC did not expose the actual price amount on iOS, we were reconstructing it by parsing the formatted price string. Besides being very brittle, this might also be the cause of https://github.com/RevenueCat/purchases-kmp/issues/161, as we return 0 if the price formatter is null. The meat of this PR is in Price.ios.kt.
Note: this is ready for review. It's just dependent on a few external factors:
Since PHC did not expose the actual price amount on iOS, we were reconstructing it by parsing the formatted price string. Besides being very brittle, this might also be the cause of https://github.com/RevenueCat/purchases-kmp/issues/161, as we return
0
if the price formatter is null. The meat of this PR is inPrice.ios.kt
.Note: this is ready for review. It's just dependent on a few external factors:
Blockers