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

PaywallViewController: expose fontName for CustomFontProvider #3626

Merged

Conversation

Jjastiny
Copy link
Contributor

@Jjastiny Jjastiny commented Feb 2, 2024

Checklist

  • [❌ ] If applicable, unit tests
  • [✅ ] If applicable, create follow-up issues for purchases-android and hybrids

Motivation

This is the ios counter part to RevenueCat/purchases-android#1589
This exposes the fontName as a parameter and sets CustomFontProvider.

Description

Created updateFontWithFontName for PaywallViewController
Created init function for offerIdentifier and fontName

301765252-95f61abb-10a1-4903-a2ef-12572ae3eaff

@NachoSoto NachoSoto changed the title Exposing fontName string for CustomFontProvider. PaywallViewController: expose fontName for CustomFontProvider Feb 2, 2024
Copy link
Contributor

@NachoSoto NachoSoto left a comment

Choose a reason for hiding this comment

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

Awesome thanks! Just a couple of changes needed.

@NachoSoto NachoSoto changed the base branch from main to paywall-vc-font February 2, 2024 17:29
@NachoSoto NachoSoto merged commit 168acd3 into RevenueCat:paywall-vc-font Feb 2, 2024
0 of 4 checks passed
NachoSoto added a commit that referenced this pull request Feb 2, 2024
@Jjastiny) (#3628)

Original PR: #3626.

This is the iOS counterpart to
RevenueCat/purchases-android#1589
This exposes the `fontName` as a parameter and sets
`CustomFontProvider`.

### Changes:
- Created `updateFontWithFontName` for `PaywallViewController`
- Created init function for `offerIdentifier` and `fontName`

<img width="450" alt="301765252-95f61abb-10a1-4903-a2ef-12572ae3eaff"
src="https://github.com/RevenueCat/purchases-ios/assets/6516487/56061916-0391-447a-ae74-57f2dddcf7a7">

---------

Co-authored-by: Justin Yang <jjastiny@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants