Skip to content

Quick Integration Note

Once you have followed the previous steps and guides, your Web Application is now ready to be converted into a native mobile experience.

At this stage, your web app contains all the necessary Bagisto Native integrations. You can now proceed to use your Web Application URL to sync it with Bagisto Native iOS for the final mobile build.

The 3-Step Integration (TL;DR)

StepActionWhy?
1. Installnpm install @bagisto-native/core @bagisto-native/reactAdds the core bridge logic and React UI components.
2. IncludeAdd bundle.js to your root layout.This is the "brain" that enables Web and Native communication.
3. RegisterAdd components (like <HotwireHistorySync />) as per your use.Enables native behaviors. See the full Component List for details.

Final Checklist

Before moving to the Native App Integration, ensure:

  • [ ] No JavaScript errors are present in your browser console (check the "Stable Web = Stable App" rule).
  • [ ] The bundle.js is loading successfully (check the Network tab).
  • [ ] You are using 'use client' for any project files that import Bagisto Native components.

Next Steps

Now that your web application is prepared, it's time to connect it to the actual mobile shell:

Pro Tip

Always test your web changes in a mobile browser simulator during development to catch any layout issues early!

Released under the MIT License.