capacitor-welcome-sound

Play sound on app open

Install

npm install capacitor-welcome-sound
npx cap sync

API

enable(...)

enable(options?: EnableOptions | undefined) => any

Enable playing sound on app start

Param Type
options EnableOptions

Returns: any

Since: 1.0.0


disable()

disable() => any

Disable playing sound on app start

Returns: any

Since: 1.0.0


Interfaces

EnableOptions

Prop Type Description Since
fileName string Filename of sound 1.0.0