Skip to content

Commit 4c4fa82

Browse files
Merge pull request #4 from CleverTap/develop
Release: Signed Call React Native v0.0.1
2 parents 62bd8dd + c834f68 commit 4c4fa82

File tree

94 files changed

+4893
-1270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+4893
-1270
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Change Log
2+
3+
## Version 0.0.1 (March 28, 2023)
4+
5+
- Initial Release.
6+
- Supports Signed Call Android SDK v0.0.1 and Signed Call iOS SDK v0.0.2.

CODE_OF_CONDUCT.md

-133
This file was deleted.

CONTRIBUTING.md

-114
This file was deleted.

LICENSE

+7-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
MIT License
1+
Copyright (c) 2014-2023 CleverTap
2+
All rights reserved.
23

3-
Copyright (c) 2022 CleverTap
4-
Permission is hereby granted, free of charge, to any person obtaining a copy
5-
of this software and associated documentation files (the "Software"), to deal
6-
in the Software without restriction, including without limitation the rights
7-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8-
copies of the Software, and to permit persons to whom the Software is
9-
furnished to do so, subject to the following conditions:
4+
* Use of source code or binaries contained within CleverTap's Signed Call React SDK is permitted only to enable use of the CleverTap platform by customers of CleverTap.
5+
* Modification of source code and inclusion in mobile apps is explicitly allowed provided that all other conditions are met.
6+
* Neither the name of CleverTap nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
7+
* Redistribution of source code or binaries is disallowed except with specific prior written permission. Any such redistribution must retain the above copyright notice, this list of conditions and the following disclaimer.
108

11-
The above copyright notice and this permission notice shall be included in all
12-
copies or substantial portions of the Software.
13-
14-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20-
SOFTWARE.
9+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+28-17
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,42 @@
1-
# clevertap-signed-call-react-native
1+
# CleverTap Signed Call React Native SDK
22

3-
CleverTap Signed Call React Native SDK.
3+
[![npm version](https://badge.fury.io/js/clevertap-signed-call-react-native.svg)](https://badge.fury.io/js/clevertap-signed-call-react-native)
4+
<a href="https://github.com/CleverTap/clevertap-signed-call-react-native-sdk/releases">
5+
<img src="https://img.shields.io/github/release/CleverTap/clevertap-signed-call-react-native-sdk.svg" />
6+
</a>
7+
[![npm downloads](https://img.shields.io/npm/dm/clevertap-signed-call-react-native-sdk.svg)](https://www.npmjs.com/package/clevertap-signed-call-react-native-sdk)
48

5-
## Installation
9+
## 👋 Introduction
610

7-
```sh
8-
npm install clevertap-signed-call-react-native
9-
```
11+
The CleverTap's Signed Call React Native SDK provides an in-app calls service to make and receive calls in the mobile apps if the device has an internet connection and Signed Call React Native SDK.
12+
13+
To know more about the Signed Call feature, refer to [Signed Call](https://docs.clevertap.com/docs/signed-call).
14+
15+
To get started, sign up [here](https://clevertap.com/live-product-demo/).
1016

11-
## Usage
17+
## 🚀 Install and Integration
1218

13-
```js
14-
import { multiply } from 'clevertap-signed-call-react-native';
19+
- To add the **CleverTap Signed Call React Native SDK** to your project, run below command on terminal:
20+
21+
```text
22+
npm install @clevertap/clevertap-signed-call-react-native
23+
```
1524

16-
// ...
25+
- Now, in your TypeScript or JavaScript code, you can use:
1726

18-
const result = await multiply(3, 7);
27+
```javascript
28+
import SignedCall from 'clevertap-signed-call-react-native';
1929
```
2030

21-
## Contributing
31+
## 📑 Documentation & Example
2232

23-
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
33+
- Checkout our [Technical Documentation](https://developer.clevertap.com/docs/signed-call-react-native-sdk) for instructions on integrating Signed Call into your React Native app.
34+
- Checkout our [Example React Native project](./example).
2435

25-
## License
36+
## 🆕 Changelog
2637

27-
MIT
38+
Refer to the [Signed Call React Native SDK Change Log](./CHANGELOG.md).
2839

29-
---
40+
## ❓Questions
3041

31-
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
42+
If you have questions or concerns, you can reach out to the CleverTap support team from the CleverTap Dashboard.

android/build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ dependencies {
7171
//noinspection GradleDynamicVersion
7272
implementation "com.facebook.react:react-native"
7373
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
74+
//Required dependencies for Signed Call Android SDK
75+
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
76+
compileOnly "com.clevertap.android:clevertap-android-sdk:4.6.8"
77+
compileOnly "com.clevertap.android:clevertap-signedcall-sdk:0.0.1"
78+
compileOnly 'androidx.work:work-runtime:2.7.1'
79+
compileOnly('io.socket:socket.io-client:2.1.0') {
80+
exclude group: 'org.json', module: 'json'
81+
}
7482
}
7583

7684
if (isNewArchitectureEnabled()) {
58.4 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)