Skip to content

Conversation

@krystofwoldrich
Copy link
Contributor

@krystofwoldrich krystofwoldrich commented Feb 10, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

This PR changes the RN sample to use the new native init apis by default.

Secondary this PR adds simple build/start options to change to the auto init behavior from JS.

This will be used for testing, where we will need to test that both ways of init result in the same SDK behaviour.

💚 How did you test it?

sample app

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

#skip-changelog

@krystofwoldrich krystofwoldrich changed the base branch from main to capture-app-start-errors February 10, 2025 17:10
Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

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

Minor suggestion but non-blocking, LGTM!

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

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

Thank you for adding this option in the sample @krystofwoldrich 🙇
The code changes LGTM and I didn't notice any weird behaviour testing the sample app on iOS and Android 🚀

@krystofwoldrich krystofwoldrich merged commit b947d7f into capture-app-start-errors Feb 13, 2025
3 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/sample-native-auto-init-switch branch February 13, 2025 13:13
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.

4 participants