Build a RingCentral desktop app with RingCentral Embeddable and Electron.js
For Linux, install with snap:
$ sudo snap install ringcentral-embeddable-voice
$ sudo snap connect ringcentral-embeddable-voice:pulseaudio :pulseaudio
Or download installer files (AppImage, deb and snap) here.
- Install Node.js with version >= 16
- Install NPM or Yarn
Clone this repo:
$ git clone https://github.com/ringcentral/ringcentral-embeddable-electron-app.git
$ cd ringcentral-embeddable-electron-app
$ yarn
Create api.json
file in project root path:
{
"ringcentralClientId": "your_ringcentral_client_id",
"ringcentralServer": "your_ringcentral_api_server, eg: https://platform.ringcentral.com"
}
Start app:
$ yarn start
To build package for current system
yarn package
To build a Linux package(deb, AppImage)
yarn package-linux
To build for all
yarn package-all