Native libraries and your own native code
Yes, with a phone build. A FluxNative app is a real Expo and React Native project, so it can use native libraries such as react-native-vision-camera for camera frame processing, Skia, maps and PDF, and its own Swift and Kotlin modules. Native code runs in the APK, App Bundle or IPA that FluxNative builds, not in the browser preview.
Updated Nov 30, 2026
Short answers
| Question | Answer |
|---|---|
| Can the app use native libraries? | Yes. The packages below are pinned to versions checked with the current Expo SDK, and the assistant adds one when a feature needs it. |
| Can it run its own Swift or Kotlin? | Yes, as a local Expo module in the app's modules/ folder. Every native build compiles it. |
| Does the browser preview run native code? | No. It shows a stand-in; test native features in a phone build. |
| Which plan? | Building for devices needs Creator or above. Writing the code works on every plan. |
| Can I take the code elsewhere? | Yes. Export gives the full Expo project, modules/ included, to build with EAS or Xcode and Gradle. |
The base
Every app is an Expo SDK 57 project in TypeScript: expo 57.0.22, react-native 0.86.3, react 19.2.8, expo-router 57.0.21, react-native-reanimated 4.5.5, react-native-gesture-handler 2.32.0, react-native-svg 15.15.4.
Allowed libraries by use
Versions are pinned for Expo SDK 57. Ask for the feature, for example "add a live camera filter", and the assistant installs the packages with their permissions and setup.
| Use | Packages | In the web preview |
|---|---|---|
| Camera frame processing: live filters and effects in the viewfinder, on-device detection | react-native-vision-camera 5.2.3, react-native-vision-camera-worklets 5.2.3, react-native-nitro-modules 0.37.1, react-native-nitro-image 0.15.2 | No: a phone build |
| GPU drawing and shaders (Skia), interactive charts with pan and zoom | @shopify/react-native-skia 2.6.2, victory-native 42.0.1 | Yes |
| Candlestick and price charts | react-native-wagmi-charts 3.0.1 | Yes |
| 3D scenes | three 0.186.1, expo-gl 57.0.2 | Yes |
| Maps | react-native-maps 1.27.2 | A web map stands in |
| PDF viewing | react-native-pdf 7.0.5, react-native-blob-util 0.25.1 | No: a phone build |
| Card, wallet and UPI checkout | @stripe/stripe-react-native 0.64.0, react-native-razorpay 3.0.0, react-native-cashfree-pg-sdk 2.5.1, cashfree-pg-api-contract 2.2.0 | No: a phone build |
| Video, photo picking, Lottie animation | expo-video 57.0.5, expo-image-picker 57.0.18, lottie-react-native 7.3.8 | Yes |
| Rich text editing, web content | @10play/tentap-editor 1.0.1, react-native-webview 13.16.1 | No: a phone build |
| Markdown, QR codes, signatures | react-native-marked 8.3.2, react-native-qrcode-svg 6.3.26, react-native-signature-canvas 5.1.1 | Yes, except react-native-signature-canvas |
| Long lists, sheets, carousels, swiped tabs, drag to reorder | @shopify/flash-list 2.0.2, @gorhom/bottom-sheet 5.2.14, react-native-reanimated-carousel 5.2.0, react-native-tab-view 4.3.4, react-native-pager-view 8.0.2, react-native-reorderable-list 0.18.1 | Yes, except react-native-pager-view |
| Forms, input masks, dates and calendars | react-hook-form 7.90.0, zod 4.6.7, @hookform/resolvers 5.9.1, react-native-mask-input 1.2.3, @react-native-community/datetimepicker 9.1.0, react-native-calendars 1.1314.0, @howljs/calendar-kit 2.5.6, react-native-ui-datepicker 3.3.0 | Yes, except @react-native-community/datetimepicker |
| Native menus, keyboard handling | zeego 3.0.6, @react-native-menu/menu 2.0.0, react-native-ios-context-menu 3.1.0, react-native-ios-utilities 5.1.2, react-native-keyboard-controller 1.21.9 | Yes, except @react-native-menu/menu, react-native-ios-context-menu, react-native-ios-utilities, react-native-keyboard-controller |
| Base44 backend (apps moved from Base44) | @base44/sdk 0.8.62 | Yes |
| Launch animation (FluxNative Commerce) | rive-react-native 9.8.6 | No: a phone build |
| Other | expo-speech 57.0.3, expo-speech-recognition 57.1.1 | Yes |
Device features
| Feature | Packages | Runs in |
|---|---|---|
| Attach, keep and share documents | expo-file-system 57.0.7, expo-document-picker 57.0.2, expo-sharing 57.0.19 | Phone builds; partly in the web preview |
| Biometric lock (Face ID, fingerprint, passcode) | expo-local-authentication 57.0.3 | Phone builds; partly in the web preview |
| In-app browser and external links | expo-web-browser 57.0.3 | Phone builds; partly in the web preview |
| Keep and upload photos, in-app camera and QR scanner | expo-camera 57.0.6, expo-file-system 57.0.7 | Phone builds; partly in the web preview |
| Local SQLite database | expo-sqlite 57.0.4 | Phone builds; partly in the web preview |
| Reminders and push notifications | expo-notifications 57.0.24 | Phone builds; partly in the web preview |
| Secure storage (Keychain / Keystore) | expo-secure-store 57.0.4 | Phone builds; partly in the web preview |
| Sign in with OAuth or OpenID Connect | expo-auth-session 57.0.16, expo-crypto 57.0.4 | Phone builds; partly in the web preview |
| Speak aloud and listen (on the phone) | expo-speech 57.0.3, expo-speech-recognition 57.1.1 | Phone build only |
| Steps, active energy and heart rate from Apple Health and Health Connect | @kingstinct/react-native-healthkit 16.2.0, react-native-nitro-modules 0.37.1, react-native-health-connect 4.1.3 | Phone build only |
| User location and places near me | expo-location 57.0.21 | Phone builds; partly in the web preview |
| Voice notes, audio playback and video | expo-audio 57.0.5, expo-file-system 57.0.7 | Phone builds; partly in the web preview |
| AdMob consent and client | react-native-google-mobile-ads 16.0.0, expo-tracking-transparency 57.0.2 | Phone build only |
| In-app purchases (RevenueCat) | react-native-purchases 10.16.0 | Phone build only |
Camera, location, push and sensors behave fully only on a phone; the web preview shows what a browser supports.
Packages not on the list
A package you name is yours to have; the assistant installs the version that matches the Expo SDK. Two kinds are refused, because each app keeps one design system: UI kits and utility-class styling (tamagui, @tamagui/*, @gluestack-ui/*, react-native-paper, @ui-kitten/*, native-base, heroui-native, react-native-reusables, nativewind).
Your own Swift and Kotlin
- When no package covers a feature, ask for a native module. The assistant writes it as a local Expo module:
modules/<name>/with Swift underios/and Kotlin underandroid/. - Every Android and iOS build links and compiles it. A compile error names the file and line, and Fix with AI can repair it. See Fix a failed build.
- The browser preview runs the module's
.webfile if it has one; otherwise a call answers that it runs in the iOS and Android app, and a native view shows a labelled box. - A change to a module's native files needs a new store build.
- FluxNative generates the native projects at build time, so hand-written root
ios/andandroid/folders are not supported. An imported Expo app keeps itsmodules/.
Where native code runs
| Web preview | Phone build from FluxNative | Your own build of the export | |
|---|---|---|---|
| JavaScript and TypeScript | Yes | Yes | Yes |
| Allowed native libraries | Only those marked Yes above | Yes | Yes |
| The app's own Swift and Kotlin | Stand-in | Yes | Yes |
Test on a phone with an installable APK on Android, or through TestFlight on iPhone. See Install and test on a device.
Limits, with a camera example
- A live camera filter is written for your app from a frame processor and Skia, and shows in the viewfinder of a phone build. Recording that filter into the saved video file, or applying a colour LUT to a finished 4K video, is not a ready-made recipe: it needs native code of the app's own.
- Plain photos, video recording, QR and barcode scanning use
expo-camera; frame processing usesreact-native-vision-camera. - Camera frame processing has no web preview: the preview shows an explanation in its place.
Add a camera screen with a live film-look filter in the viewfinder and a shutter
button that saves the photo. Use a frame processor.Related
What you can build · Build a camera app · Native builds overview · Export the project · Pricing
Did this page help?