Skip to content

Add React Native Web support with Webpack configuration #1218

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

Open
wants to merge 4 commits into
base: SDK-5762-rn-web-support
Choose a base branch
from

Conversation

subhankarmaiti
Copy link
Contributor

Changes

  • ✨ Added initial React Native Web support by introducing a webpack.config.js in the example project.
  • 🔧 Configured Babel and image loaders for web compatibility.
  • 🛠️ Aliased react-native to react-native-web and set up module resolution for web-specific files.
  • 🚀 Enabled development server with hot reloading for browser testing.
  • 🌐 This is important to allow the SDK and example app to run and be tested directly in web browsers, expanding platform support.

References

Testing

  • 🖥️ Run yarn web in the example project to start the dev server and test the app in a browser.

  • ✅ Confirm that the app loads and functions as expected in Chrome, Firefox, and Safari.

  • ⚠️ No new endpoints, classes, or methods were added to the SDK itself; changes are limited to build configuration for web support.

  • This change adds unit test coverage

  • This change has been tested on the latest version of the platform/language or why not

Checklist

@subhankarmaiti subhankarmaiti requested a review from a team as a code owner June 23, 2025 04:56
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