Skip to main content
@capgo/capacitor-ricoh360 Renamed Renamed from @capgo/ricoh360 to @capgo/capacitor-ricoh360. Media Open source

Ricoh360 Camera Capacitor plugin

Control Ricoh Theta 360-degree cameras for immersive panoramic photography

Install

bun add @capgo/capacitor-ricoh360 bunx cap sync
npm, pnpm or yarn
  • npm install @capgo/capacitor-ricoh360
  • pnpm add @capgo/capacitor-ricoh360
  • yarn add @capgo/capacitor-ricoh360

Guide

How to use Ricoh360 Camera in Capacitor

Test on device

Download the Capgo app, then scan the QR code.

Ricoh360 Camera plugin preview QR code

Using @capgo/capacitor-ricoh360

Provides an SDK for the Ricoh360 cameras for Capacitor.

Install

npm install @capgo/capacitor-ricoh360
npx cap sync

What This Plugin Exposes

  • initialize - Initializes the SDK with camera URL.
  • getCameraAsset - Retrieves a camera asset from a URL and returns it as base64.
  • listFiles - Lists files stored on the camera.
  • capturePicture - Captures a picture.

Example Usage

initialize

Initializes the SDK with camera URL.

import { Ricoh360Camera } from '@capgo/capacitor-ricoh360';

const result = await Ricoh360Camera.initialize({ url: 'https://example.com' });
console.log(result);

getCameraAsset

Retrieves a camera asset from a URL and returns it as base64.

import { Ricoh360Camera } from '@capgo/capacitor-ricoh360';

const result = await Ricoh360Camera.getCameraAsset({ url: 'https://example.com' });
console.log(result);

listFiles

Lists files stored on the camera.

import { Ricoh360Camera } from '@capgo/capacitor-ricoh360';

const result = await Ricoh360Camera.listFiles();
console.log(result);

capturePicture

Captures a picture.

import { Ricoh360Camera } from '@capgo/capacitor-ricoh360';

const result = await Ricoh360Camera.capturePicture();
console.log(result);

Full Reference

Keep going from Using @capgo/capacitor-ricoh360

If you are using @capgo/capacitor-ricoh360 to plan native media and interface behavior, connect it with Using @capgo/capacitor-live-activities for the native capability in Using @capgo/capacitor-live-activities, @capgo/capacitor-live-activities for the implementation detail in @capgo/capacitor-live-activities, Using @capgo/capacitor-video-player for the native capability in Using @capgo/capacitor-video-player, @capgo/capacitor-video-player for the implementation detail in @capgo/capacitor-video-player, and Using @capgo/capacitor-native-navigation for the native capability in Using @capgo/capacitor-native-navigation.

FAQ

Ricoh360 Camera plugin FAQ

How do I install the Ricoh360 Camera plugin in a Capacitor app?

Run "bun add @capgo/capacitor-ricoh360" (or "npm install @capgo/capacitor-ricoh360"), then run "bunx cap sync" so the iOS and Android projects pick up the native code. Import it from "@capgo/capacitor-ricoh360" in your app code.

Does @capgo/capacitor-ricoh360 work with React, Vue and Angular?

Yes. Ricoh360 Camera is a Capacitor package, so it works with any web framework that runs inside Capacitor, including Ionic, React, Vue, Angular, Svelte and plain JavaScript.

Which Capacitor version does @capgo/capacitor-ricoh360 support?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

Is @capgo/capacitor-ricoh360 free and open source?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-ricoh360-camera-plugin/ and the package is free to install from npm. Bug reports and pull requests are welcome.

Can I update code that uses Ricoh360 Camera without an App Store review?

Installing or upgrading the plugin changes native code, so it needs a new store build. After that, JavaScript, HTML and CSS changes that call the plugin can ship instantly with Capgo live updates.

Ship Ricoh360 Camera changes without waiting for app review

Once the plugin is in your store build, Capgo live updates push your JavaScript, HTML and CSS changes to users in minutes.

Start with Capgo