Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit bcd1705

Browse files
authored
Remove sdk suffix from package name
1 parent 3b7efc0 commit bcd1705

17 files changed

+29
-32
lines changed

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# react-native-client-sdk
1+
# react-native-client
22

3-
react-native-client-sdk is a React Native wrapper for
4-
[android-client-sdk](https://github.com/fishjam-dev/android-client-sdk) and
5-
[ios-client-sdk](https://github.com/fishjam-dev/ios-client-sdk). It allows you
6-
to quickly and easily create a mobile client app in React Native for a
3+
react-native-client is a React Native wrapper for
4+
[android-client](https://github.com/fishjam-dev/android-client-sdk) and
5+
[ios-client](https://github.com/fishjam-dev/ios-client-sdk). It allows you to
6+
quickly and easily create a mobile client app in React Native for a
77
[Fishjam](https://github.com/fishjam-dev/fishjam) server.
88

99
# Documentation
@@ -13,16 +13,16 @@ API documentation is available
1313

1414
# Installation
1515

16-
Firstly install `react-native-client-sdk` with `yarn` or `npm`
16+
Firstly install `react-native-client` with `yarn` or `npm`
1717

1818
```
19-
yarn add @fishjam-dev/react-native-client-sdk
19+
yarn add @fishjam-dev/react-native-client
2020
```
2121

2222
or
2323

2424
```
25-
npm install @fishjam-dev/react-native-client-sdk
25+
npm install @fishjam-dev/react-native-client
2626
```
2727

2828
### Expo plugin
@@ -31,7 +31,7 @@ If you're using development builds with `eas build` or bare workflow you can try
3131
using expo plugin to do the configuration below for you. Simply run:
3232

3333
```
34-
expo install @fishjam-dev/react-native-client-sdk
34+
expo install @fishjam-dev/react-native-client
3535
```
3636

3737
Add plugin to your `app.json` if it's not already added:
@@ -42,7 +42,7 @@ Add plugin to your `app.json` if it's not already added:
4242
"name": "example",
4343
...
4444
"plugins": [
45-
"@fishjam-dev/react-native-client-sdk"
45+
"@fishjam-dev/react-native-client"
4646
]
4747
}
4848
}
@@ -57,7 +57,7 @@ If you want to use screensharing feature, enable the following flag:
5757
...
5858
"plugins": [
5959
[
60-
"@fishjam-dev/react-native-client-sdk",
60+
"@fishjam-dev/react-native-client",
6161
{
6262
"setUpScreensharing": true,
6363
}

example/components/LetterButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TrackEncoding } from '@fishjam-dev/react-native-client-sdk';
1+
import { TrackEncoding } from '@fishjam-dev/react-native-client';
22
import React from 'react';
33
import {
44
type GestureResponderEvent,

example/components/SoundOutputDevicesSection.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { MaterialCommunityIcons } from '@expo/vector-icons';
22
import {
33
AudioOutputDevice,
44
AudioOutputDeviceType,
5-
} from '@fishjam-dev/react-native-client-sdk';
5+
} from '@fishjam-dev/react-native-client';
66
import React from 'react';
77
import {
88
Text,

example/components/VideoPreview.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
VideoPreviewView,
33
CaptureDevice,
44
VideoLayout,
5-
} from '@fishjam-dev/react-native-client-sdk';
5+
} from '@fishjam-dev/react-native-client';
66
import React from 'react';
77
import { ActivityIndicator, StyleSheet } from 'react-native';
88
type Props = {

example/components/VideosGrid.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
VideoRendererView,
44
setTargetTrackEncoding,
55
Metadata,
6-
} from '@fishjam-dev/react-native-client-sdk';
6+
} from '@fishjam-dev/react-native-client';
77
import React from 'react';
88
import { Dimensions, StyleSheet, View } from 'react-native';
99
import Animated, {

example/contexts/FishjamExampleContext.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
AudioOutputDevice,
1515
AudioOutputDeviceType,
1616
AudioSessionMode,
17-
} from '@fishjam-dev/react-native-client-sdk';
17+
} from '@fishjam-dev/react-native-client';
1818
import * as Device from 'expo-device';
1919
import { Platform } from 'expo-modules-core';
2020
import React, { useCallback, useEffect, useState } from 'react';

example/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ DEPENDENCIES:
11871187
- React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`)
11881188
- React-utils (from `../node_modules/react-native/ReactCommon/react/utils`)
11891189
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
1190-
- "RNFishjamClient (from `../node_modules/@fishjam-dev/react-native-client-sdk/ios`)"
1190+
- "RNFishjamClient (from `../node_modules/@fishjam-dev/react-native-client/ios`)"
11911191
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
11921192
- RNReanimated (from `../node_modules/react-native-reanimated`)
11931193
- RNScreens (from `../node_modules/react-native-screens`)
@@ -1323,7 +1323,7 @@ EXTERNAL SOURCES:
13231323
ReactCommon:
13241324
:path: "../node_modules/react-native/ReactCommon"
13251325
RNFishjamClient:
1326-
:path: "../node_modules/@fishjam-dev/react-native-client-sdk/ios"
1326+
:path: "../node_modules/@fishjam-dev/react-native-client/ios"
13271327
RNGestureHandler:
13281328
:path: "../node_modules/react-native-gesture-handler"
13291329
RNReanimated:

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@expo-google-fonts/noto-sans": "^0.2.3",
1818
"@gorhom/bottom-sheet": "^4",
19-
"@fishjam-dev/react-native-client-sdk": "file:../",
19+
"@fishjam-dev/react-native-client": "file:../",
2020
"@react-navigation/bottom-tabs": "^6.5.20",
2121
"@react-navigation/native": "^6.1.9",
2222
"@react-navigation/native-stack": "^6.9.17",

example/providers/AppProvider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FishjamContextProvider } from '@fishjam-dev/react-native-client-sdk';
1+
import { FishjamContextProvider } from '@fishjam-dev/react-native-client';
22
import React from 'react';
33

44
import { FishjamExampleContextProvider } from '../contexts/FishjamExampleContext';

example/screens/ConnectWithRoomManagerScreen.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useFishjamClient } from '@fishjam-dev/react-native-client-sdk';
1+
import { useFishjamClient } from '@fishjam-dev/react-native-client';
22
import type { BottomTabScreenProps } from '@react-navigation/bottom-tabs';
33
import { CompositeScreenProps } from '@react-navigation/native';
44
import { NativeStackScreenProps } from '@react-navigation/native-stack';

example/screens/ConnectWithTokenScreen.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useFishjamClient } from '@fishjam-dev/react-native-client-sdk';
1+
import { useFishjamClient } from '@fishjam-dev/react-native-client';
22
import type { BottomTabScreenProps } from '@react-navigation/bottom-tabs';
33
import { CompositeScreenProps } from '@react-navigation/native';
44
import { NativeStackScreenProps } from '@react-navigation/native-stack';

example/screens/PreviewScreen.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import {
2-
CaptureDevice,
3-
TrackEncoding,
4-
} from '@fishjam-dev/react-native-client-sdk';
1+
import { CaptureDevice, TrackEncoding } from '@fishjam-dev/react-native-client';
52
import BottomSheet from '@gorhom/bottom-sheet';
63
import type { NativeStackScreenProps } from '@react-navigation/native-stack';
74
import React, { useEffect, useRef, useCallback } from 'react';

example/screens/RoomScreen.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
usePeers,
44
useScreencast,
55
ScreencastQuality,
6-
} from '@fishjam-dev/react-native-client-sdk';
6+
} from '@fishjam-dev/react-native-client';
77
import BottomSheet from '@gorhom/bottom-sheet';
88
import type { NativeStackScreenProps } from '@react-navigation/native-stack';
99
import React, { useCallback, useEffect, useMemo, useRef } from 'react';

example/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "@react-native/typescript-config/tsconfig.json",
33
"compilerOptions": {
44
"paths": {
5-
"@fishjam-dev/react-native-client-sdk": ["../src/index.tsx"]
5+
"@fishjam-dev/react-native-client": ["../src/index.tsx"]
66
}
77
}
88
}

example/yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@
16081608
find-up "^5.0.0"
16091609
js-yaml "^4.1.0"
16101610

1611-
"@fishjam-dev/react-native-client-sdk@file:..":
1611+
"@fishjam-dev/react-native-client@file:..":
16121612
version "0.3.0"
16131613
dependencies:
16141614
phoenix "^1.7.6"

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@fishjam-dev/react-native-client-sdk",
2+
"name": "@fishjam-dev/react-native-client",
33
"version": "0.3.0",
44
"description": "A React Native client for Membrane WebRTC server.",
55
"main": "build/index.js",
@@ -26,7 +26,7 @@
2626
"keywords": [
2727
"react-native",
2828
"expo",
29-
"@fishjam-dev/react-native-client-sdk",
29+
"@fishjam-dev/react-native-client",
3030
"MembraneWebRTC",
3131
"Fishjam"
3232
],

plugin/src/withMembrane.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const withMembraneSBE: ConfigPlugin<MembranePluginOptions> = (
128128
const iosPath = props.modRequest.platformProjectRoot;
129129
const bundleIdentifier = props.ios?.bundleIdentifier;
130130
const extensionSourceDir =
131-
'node_modules/@fishjam-dev/react-native-client-sdk/plugin/broadcastExtensionFiles/';
131+
'node_modules/@fishjam-dev/react-native-client/plugin/broadcastExtensionFiles/';
132132
const xcodeProject = props.modResults;
133133

134134
await updatePodfile(iosPath);

0 commit comments

Comments
 (0)