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

feat: listen native logs #119

Merged
merged 5 commits into from
Feb 6, 2025
Merged

feat: listen native logs #119

merged 5 commits into from
Feb 6, 2025

Conversation

jhen0409
Copy link
Member

@jhen0409 jhen0409 commented Feb 5, 2025

Implement two export functions:

  • toggleNativeLog(enabled: boolean)
  • addNativeLogListener(listener: (level: string, message: string) => void): { remove: () => void }

TODO:

  • Android
  • iOS

@jhen0409 jhen0409 marked this pull request as ready for review February 6, 2025 03:51
@jhen0409 jhen0409 merged commit 38858a7 into main Feb 6, 2025
6 checks passed
@jhen0409 jhen0409 deleted the native-log branch February 6, 2025 04:20
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.

1 participant