Effects React Native
Effects / Guides / Background blur / React Native

Blur a camera background in React Native with Nosmai Effects

Updated August 19, 2026

Enable subject segmentation and set normalized blur strength through the Nosmai React Native API.

Prerequisites

Enable blur

if (await NosmaiCameraSdk.isAdvancedFiltersEnabled()) {
  await NosmaiCameraSdk.setBackground({
    mode: 'blur',
    blurStrength: 0.55,
  });
}

blurStrength uses 0 through 1 in the React Native API.

Disable blur

await NosmaiCameraSdk.clearBackground();

Verify it worked

The native preview should keep the subject visible while blurring the scene behind it.

Common errors

SymptomFix
Promise resolves but nothing changesWait for onReady and verify advanced filters are enabled
Preview remounts while draggingKeep a stable NosmaiCameraView and update only the native value
Low frame rate in DebugMeasure a Release build on a physical device

Next steps

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