Overview
Upgrading from Uniwind Free to Uniwind Pro is straightforward. The API is identical, so no code changes are required - just install the Pro package and configure a few dependencies.API Compatibility: Uniwind Pro maintains 100% API compatibility with the free version. Your existing code will work without modifications.
Prerequisites
Before upgrading to Pro, ensure you have an active Uniwind Pro license.Installation
Step 1: Install dependencies
Install Uniwind Pro along with its required dependencies:Step 2: Configure Babel
Add thereact-native-worklets/plugin to your babel.config.js:
babel.config.js
The
react-native-worklets/plugin must be listed in the plugins array to work correctly.Step 3: Authenticate with GitHub
Run the Uniwind Pro CLI to authenticate your installation: You’ll see the following menu:- A browser tab will automatically open
- Sign in with your GitHub account
- Authorize the application
- Wait for the success message: “You can close this tab and return to the terminal.”
Your authentication session is valid for 180 days. After that, you’ll need to re-authenticate.
Step 4: Install Uniwind Pro package
From the CLI menu, select “Install Uniwind Pro”:uniwind-pro CLI tool.
Step 5: Update imports
- Automatic
- Manual
global.css
Update your CSS entry file:global.css
Bundler config
- Metro
- Vite
Update your
metro.config.js:metro.config.js
TypeScript types
Theuniwind-types.d.ts file will be regenerated automatically. Just restart your Metro server to pick up the new types:
Step 6: Remove free version
Uninstall the free version of Uniwind from your project:- bun
- yarn
- npm
After removing
uniwind, make sure to delete it from your package.json to avoid any conflicts between the free and Pro versions.Step 7: Rebuild your app
Rebuild your native app to apply all changes:- Expo
- Bare React Native
What You Get with Pro
Uniwind Pro unlocks powerful features that take your React Native styling to the next level:Shadow Tree Updates
All component props are connected directly to the C++ engine, eliminating unnecessary re-renders and dramatically improving performance.No code changes required - This optimization works automatically with all your existing components.
Reanimated 4 Animations and Transitions
Use Tailwind CSS class names to create smooth animations without any extra code. Uniwind Pro automatically constructs animated views and properties.Built-in Safe Area Insets
Uniwind Pro automatically injects safe area insets from the native layer - no setup required. If you previously configuredSafeAreaListener to wire insets manually, you can now remove it:
pt-safe, pb-safe, inset-safe, etc.) work exactly the same - they’re now powered by C++ for better performance.
🎉 Success!
Congratulations! You’ve successfully upgraded to Uniwind Pro. Your app is now running with enhanced performance and all the Pro features.What’s Next?
CI/CD Authentication
For automated builds in CI/CD pipelines, you can generate a token that skips manual GitHub authentication. Sign in to your Uniwind dashboard to create a CI/CD token.Managing Team Access
Team seats and member access can be managed from your Uniwind dashboard. From there you can:- Add or remove team members
- View active seats and usage
- Generate CI/CD tokens
- Manage billing and subscription
Troubleshooting
If you encounter any issues during migration:- Clear all caches - Run
npx expo start --clearornpx react-native start --reset-cache - Verify Babel config - Ensure
react-native-worklets/pluginis in your plugins array - Check imports - Make sure all imports are updated from
'uniwind'to'uniwind-pro' - Rebuild native app - Delete
ios/buildandandroid/buildfolders, then rebuild
Report an Issue
Still having problems? Open an issue on GitHub and we’ll help you out
Pro users receive priority support. Make sure to mention you’re a Pro user when reporting issues.