@capgo/native-audio 4.0.2 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +19 -20
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,17 +1,22 @@
1
- <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>
1
+ <a href="https://capgo.app/"><img src='https://raw.githubusercontent.com/Cap-go/capgo/main/assets/capgo_banner.png' alt='Capgo - Instant updates for capacitor'/></a>
2
+
3
+ <div align="center">
4
+ <h2><a href="https://capgo.app/">Check out: Capgo — Instant updates for capacitor</a></h2>
5
+ </div>
6
+
2
7
  <h3 align="center">Native Audio</h3>
3
- <p align="center"><strong><code>@capacitor-community/native-audio</code></strong></p>
8
+ <p align="center"><strong><code>@capgo/native-audio</code></strong></p>
4
9
  <p align="center">
5
- Capacitor community plugin for playing sounds.
10
+ Capacitor plugin for playing sounds.
6
11
  </p>
7
12
 
8
13
  <p align="center">
9
- <img src="https://img.shields.io/maintenance/yes/2021?style=flat-square" />
10
- <a href="https://github.com/capacitor-community/native-audio/actions?query=workflow%3A%22Test+and+Build+Plugin%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/native-audio/Test%20and%20Build%20Plugin?style=flat-square" /></a>
11
- <a href="https://www.npmjs.com/package/@capacitor-community/native-audio"><img src="https://img.shields.io/npm/l/@capacitor-community/native-audio?style=flat-square" /></a>
14
+ <img src="https://img.shields.io/maintenance/yes/2022?style=flat-square" />
15
+ <a href="https://github.com/capgo/native-audio/actions?query=workflow%3A%22Test+and+Build+Plugin%22"><img src="https://img.shields.io/github/workflow/status/@capgo/native-audio/Test%20and%20Build%20Plugin?style=flat-square" /></a>
16
+ <a href="https://www.npmjs.com/package/capgo/native-audio"><img src="https://img.shields.io/npm/l/@capgo/native-audio?style=flat-square" /></a>
12
17
  <br>
13
- <a href="https://www.npmjs.com/package/@capacitor-community/native-audio"><img src="https://img.shields.io/npm/dw/@capacitor-community/native-audio?style=flat-square" /></a>
14
- <a href="https://www.npmjs.com/package/@capacitor-community/native-audio"><img src="https://img.shields.io/npm/v/@capacitor-community/native-audio?style=flat-square" /></a>
18
+ <a href="https://www.npmjs.com/package/@capgo/native-audio"><img src="https://img.shields.io/npm/dw/@capgo/native-audio?style=flat-square" /></a>
19
+ <a href="https://www.npmjs.com/package/@capgo/native-audio"><img src="https://img.shields.io/npm/v/@capgo/native-audio?style=flat-square" /></a>
15
20
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
16
21
  <a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-6-orange?style=flat-square" /></a>
17
22
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
@@ -20,7 +25,7 @@
20
25
  # Capacitor Native Audio Plugin
21
26
 
22
27
  Capacitor plugin for native audio engine.
23
- Capacitor v3 - ✅ Support!
28
+ Capacitor v3/v4 - ✅ Support!
24
29
 
25
30
  Click on video to see example 💥
26
31
 
@@ -31,31 +36,25 @@ Click on video to see example 💥
31
36
 
32
37
  | Maintainer | GitHub | Social |
33
38
  | ------------- | ------------------------------------------- | ----------------------------------- |
34
- | Maxim Bazuev | [bazuka5801](https://github.com/bazuka5801) | [Telegram](https://t.me/bazuka5801) |
39
+ | Martin Donadieu | [riderx](https://github.com/riderx) | [Telegram](https://t.me/martindonadieu) |
35
40
 
36
41
  Mainteinance Status: Actively Maintained
37
42
 
38
43
  ## Preparation
39
- All audio place in specific platform folder
40
-
41
- Andoid: `android/app/src/assets`
42
-
43
- iOS: `ios/App/App/sounds`
44
-
45
- Web: `assets/sounds`
44
+ All audio files must be with the rest of your source files.
46
45
 
47
46
  ## Installation
48
47
 
49
48
  To use npm
50
49
 
51
50
  ```bash
52
- npm install @capacitor-community/native-audio
51
+ npm install @capgo/native-audio
53
52
  ```
54
53
 
55
54
  To use yarn
56
55
 
57
56
  ```bash
58
- yarn add @capacitor-community/native-audio
57
+ yarn add @capgo/native-audio
59
58
  ```
60
59
 
61
60
  Sync native files
@@ -98,7 +97,7 @@ No configuration required for this plugin.
98
97
  [Example repository](https://github.com/bazuka5801/native-audio-example)
99
98
 
100
99
  ```typescript
101
- import {NativeAudio} from '@capacitor-community/native-audio'
100
+ import {NativeAudio} from '@capgo/native-audio'
102
101
 
103
102
 
104
103
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/native-audio",
3
- "version": "4.0.2",
3
+ "version": "4.1.0",
4
4
  "description": "A native plugin for native audio engine",
5
5
  "main": "dist/plugin.js",
6
6
  "module": "dist/esm/index.js",
@@ -88,4 +88,4 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  }
91
- }
91
+ }