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

Migrate expo-apple-authentication to the new modules API #20600

Merged
merged 2 commits into from
Jan 2, 2023

Conversation

tsapeta
Copy link
Member

@tsapeta tsapeta commented Dec 24, 2022

Why

Continuing the migration to Expo Modules API and adding support for Fabric

How

First I did the usual steps that we do in the migration process.

Previously the package was exporting one view for each button type and style (9 different components). I think it was too much and since Expo Modules API doesn't support defining multiple views in one module definition, I decided to make it simple and encapsulate everything in one view.

While testing, I noticed that bare-expo ignored expo-apple-authentication in autolinking and doesn't have required entitlement for Sign In with Apple, so I unignored it and added the entitlement.

Test Plan

Examples work as expected (also in Fabric). For the CI, you can take a look at aca74dc (#20600)

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Dec 24, 2022
@tsapeta tsapeta force-pushed the @tsapeta/migrate-apple-authentication branch from 30721a3 to aca74dc Compare December 28, 2022 14:20
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Dec 28, 2022
@tsapeta tsapeta marked this pull request as ready for review December 28, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants