Ask for overlay permission, register a bubble, and update overlay visibility from React Native.
permissionshowBubbleoverlay stateAndroid overlay permission, floating bubbles, edge hide, native shared values, NativeWind renderers, and fixture previews for Expo apps.
Ask for overlay permission, register a bubble, and update overlay visibility from React Native.
permissionshowBubbleoverlay stateKeep IDs stable, route renderer names, and send commands to the native overlay service.
bubble idrenderer keyedge hideAttach the floating view, keep it interactive, and let users move, close, or tuck it at the screen edge.
overlay viewdrag + resizefallback viewCheck whether Android allows draw-over-apps, open the settings screen when it does not, and refresh state when the app resumes.
Use stable bubble IDs for separate overlay surfaces, including counters, timers, and resize examples from the fixture app.
Store small numeric values in native state so app controls and bubble controls can update the same counter or window step.
Render a bubble fixture inside the app with FloatingWindowPreview before asking for permission or starting the Android service.
Use className in custom bubble renderers when your Expo app already has NativeWind configured.
The docs now follow the example fixtures directly: React Native counter, Jetpack Compose counter, countdown timer, React Native resize bubble, and Native Expo UI resize bubble.
npm run docs:devnpm run docs:build