Skip to content

Commit

Permalink
Merge pull request #18 from SimformSolutionsPvtLtd/develop
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
mukesh-simform authored Apr 2, 2024
2 parents 6fba218 + b1f7cac commit a6a9415
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# react-native-audio-waveform

[![react-native-audio-waveform on npm](https://img.shields.io/npm/v/react-native-audio-waveform.svg?&logo=npm&logoColor=white&color=red&labelColor=grey&cacheSeconds=3600&maxAge=86400)](https://www.npmjs.com/package/react-native-audio-waveform) [![react-native-audio-waveform downloads](https://img.shields.io/npm/dm/react-native-audio-waveform?&logo=npm&logoColor=white&color=blue&labelColor=grey&cacheSeconds=3600&maxAge=86400)](https://www.npmtrends.com/react-native-audio-waveform) [![react-native-audio-waveform install size](https://packagephobia.com/badge?p=react-native-audio-waveform?&icon=disk&logoColor=white&color=yellow&labelColor=grey&cacheSeconds=3600&maxAge=86400)](https://packagephobia.com/result?p=react-native-audio-waveform) [![Android](https://img.shields.io/badge/Platform-Android-green?logo=android&logoColor=white&labelColor=grey)](https://www.android.com) [![iOS](https://img.shields.io/badge/Platform-iOS-green?logo=apple&logoColor=white&labelColor=grey)](https://developer.apple.com/ios) [![MIT](https://img.shields.io/badge/License-MIT-green&labelColor=grey)](https://opensource.org/licenses/MIT)
[![react-native-audio-waveform on npm](https://img.shields.io/npm/v/@simform_solutions/react-native-audio-waveform.svg?&logo=npm&logoColor=white&color=red&labelColor=grey&cacheSeconds=3600&maxAge=86400)](https://www.npmjs.com/package/@simform_solutions/react-native-audio-waveform) [![react-native-audio-waveform downloads](https://img.shields.io/npm/dm/@simform_solutions/react-native-audio-waveform?&logo=npm&logoColor=white&color=blue&labelColor=grey&cacheSeconds=3600&maxAge=86400)](https://www.npmtrends.com/@simform_solutions/react-native-audio-waveform) [![react-native-audio-waveform install size](https://packagephobia.com/badge?p=@simform_solutions/react-native-audio-waveform?&icon=disk&logoColor=white&color=yellow&labelColor=grey&cacheSeconds=3600&maxAge=86400)](https://packagephobia.com/result?p=@simform_solutions/react-native-audio-waveform) [![Android](https://img.shields.io/badge/Platform-Android-green?logo=android&logoColor=white&labelColor=grey)](https://www.android.com) [![iOS](https://img.shields.io/badge/Platform-iOS-green?logo=apple&logoColor=white&labelColor=grey)](https://developer.apple.com/ios) [![MIT](https://img.shields.io/badge/License-MIT-green&labelColor=grey)](https://opensource.org/licenses/MIT)

---

Expand Down Expand Up @@ -34,13 +34,13 @@ Here's how to get started with react-native-audio-waveform in your React Native
##### 1. Install the package

```sh
npm install react-native-audio-waveform react-native-gesture-handler
npm install @simform_solutions/react-native-audio-waveform react-native-gesture-handler
```

###### --- or ---

```sh
yarn add react-native-audio-waveform react-native-gesture-handler
yarn add @simform_solutions/react-native-audio-waveform react-native-gesture-handler
```

##### 2. Install CocoaPods in the iOS project
Expand Down Expand Up @@ -81,7 +81,7 @@ When you want to show a waveform for a pre-existing audio file, you need to use
Check the example below for more information.

```tsx
import { Waveform, type IWaveformRef } from 'react-native-audio-waveform';
import { Waveform, type IWaveformRef } from '@simform_solutions/react-native-audio-waveform';

const path = ''; // path to the audio file for which you want to show waveform
const ref = useRef<IWaveformRef>(null);
Expand All @@ -104,7 +104,7 @@ When you want to record audio and show a waveform for that recording, you need t
Check the example below for more information.

```tsx
import { Waveform, type IWaveformRef } from 'react-native-audio-waveform';
import { Waveform, type IWaveformRef } from '@simform_solutions/react-native-audio-waveform';

const ref = useRef<IWaveformRef>(null);
<Waveform
Expand Down
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
UpdateFrequency,
Waveform,
useAudioPermission,
} from 'react-native-audio-waveform';
} from '@simform_solutions/react-native-audio-waveform';
import { GestureHandlerRootView } from 'react-native-gesture-handler';
import {
SafeAreaProvider,
Expand Down
2 changes: 1 addition & 1 deletion example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "CommonJS",
"noEmit": true,
"paths": {
"react-native-audio-waveform": ["../src"]
"@simform_solutions/react-native-audio-waveform": ["../src"]
},
"declaration": true,
"allowUnreachableCode": false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-native-audio-waveform",
"name": "@simform_solutions/react-native-audio-waveform",
"version": "1.0.0",
"description": "A React Native component to show audio waveform with ease in react native application",
"main": "lib/index",
Expand Down

0 comments on commit a6a9415

Please sign in to comment.