Effects React Native
Effects / Reference / API reference / React Native

Nosmai Effects React Native API reference

Updated August 22, 2026

Look up the stable React Native camera view, lifecycle, effects, beauty, Cloud Filters, media, and frame APIs.

Entry points

ExportPurpose
NosmaiCameraSdkTyped TurboModule-backed operational API
NosmaiCameraViewFabric preview view for processed camera output
NosmaiSdkErrorStable typed error with code, message, and safe native details
Expo config pluginAdds required native project configuration for an Expo development build

Version 1.0.0 requires React Native 0.81.5, React 19.1, New Architecture, Node 20.19.4 or later, and physical ARM64 devices. Expo Go cannot load the native module.

Lifecycle and preview

Use initialize, mount NosmaiCameraView, then call startProcessing after the view is ready. The lifecycle surface also includes stopProcessing, pauseCamera, resumeCamera, switchCamera, and cleanup. Keep one mounted preview and await cleanup before creating another SDK camera screen.

Packages and parameters

applyFilter(packagePath) is the unified package call. Query state through getActiveEffects, getActiveFilterInfo, and getActiveEffectInfo; clear with clearFilter, clearAREffect, removeEffect, or clearAll. Authored controls use getEffectParameters, getEffectParameterValue, setEffectParameter, and setEffectParameterString.

Catalog and Cloud Filters

Cloud operations use isCloudFilterEnabled, getCloudFilters(query), downloadCloudFilter(filter), and removeCloudFilter(filter). Apply the local URI returned by the download result; do not construct a private service URL.

Visual controls

Version 1.0.0 exposes skin smoothing, whitening, teeth whitening, makeup layers, signed reshape controls, eye colour, brightness, contrast, RGB, sharpening, grayscale, hue, white balance, HSB, and manual blur, colour, image, or video backgrounds. Check the beauty and advanced-feature capability methods before showing gated controls.

Media and frames

  • capturePhoto, recording methods, progress listeners, and gallery-save helpers return file URI based results.
  • startFrameStream, getLatestFrame, stopFrameStream, and frame listeners provide bounded analysis sampling. They are not a high-rate streaming bridge.

Every add...Listener method returns a subscription. Remove it during screen cleanup to prevent duplicate handlers.

References

Nosmai

An AR and AI company. Founded on the idea that the next decade of software will be visual, and that the tools for it should be within reach of anyone building.

Newsletter

Product updates and release notes. No spam.

© 2026 nosmai, inc · all rights reserved