Skip to content

Conversation

benschac
Copy link
Contributor

Update Logger Initialization to Fix iOS Build Break in Example App

Description

Recent changes in the Expo Modules Core have updated the Logger API. The previous usage of Logger() without any parameters now fails because the initializer requires a logHandlers parameter. This change is causing iOS native builds to break.

the updated API here:
Logger.swift Source

I couldn't find it in the expo docs 🤷‍♂️

Changes
• Logger Initialization:
Updated all instances of Logger() to use Logger(logHandlers: []) to comply with the new API requirements.

@benschac benschac changed the title fix Fix: Example App Builds Feb 13, 2025
@nathan-ahn
Copy link
Collaborator

Thank you for your PR!

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