Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .kiroignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Ignore all docs content by default
**/*.md
**/*.mdx
**/*.rst
**/*.txt

# Ignore docs folders
docs/**
documentation/**
content/**
guides/**
reference/**

# Ignore static assets
**/*.png
**/*.jpg
**/*.jpeg
**/*.svg
**/*.gif
**/*.webp
**/*.pdf

# Ignore generated files
build/**
dist/**
.out/**
.cache/**
.next/**
.docusaurus/**
.vitepress/**
.mintlify/**
.storybook/**
.tmp/**
.temp/**

# Ignore configs that explode context
**/*.json
**/*.yml
**/*.yaml

# Ignore lockfiles
**/package-lock.json
**/pnpm-lock.yaml
**/yarn.lock

# Ignore node_modules
node_modules/**

# Ignore git metadata
.git/**
946 changes: 787 additions & 159 deletions docs.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notifications/constraints-and-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To implement Notifications, use the minimum versions below (UI Kits already bund

- **UI Kits**: v4+ (Flutter Calls UI Kit v4.3.0+)
- **Calls SDK**: all versions (Flutter Calls SDK v4.0.9+)
- **Chat SDK**: iOS v4.0.51+, Android v4.0.9+, Flutter v4.0.15+, React Native v4.0.10+, JavaScript v4.0.8+, Ionic (Cordova) v4.0.8+
- **Chat SDK**: iOS v4.0.51+, Android v4.0.9+, Flutter v4.0.15+, React Native v4.0.10+, JavaScript v4.0.8+, Ionic (Cordova) v4.0.8+ (Deprecated - use JavaScript SDK)
- Chat Widgets are not compatible with push notifications.

<Info>
Expand Down
2 changes: 1 addition & 1 deletion notifications/email-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ This functionality is available in the following SDK versions:
2. iOS SDK version 4.0.51 and above
3. Web SDK version 4.0.8 and above
4. React Native SDK version 4.0.10 and above
5. Ionic Cordova SDK version 4.0.8 and above
5. Ionic Cordova SDK version 4.0.8 and above (Deprecated - use JavaScript SDK)
6. Flutter SDK version 4.0.15 and above

</Note>
Expand Down
15 changes: 12 additions & 3 deletions notifications/legacy-push-notifications.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ If you have previously not created a Firebase project for your app Click Add pro
1. For React Native to Android, you need to download the `google-services.json` file.
2. For React native to iOS, you need to download the `GoogleServices-Info.plist` file.

### For Capacitor, Cordova & Ionic
### For Capacitor, Cordova & Ionic (Deprecated)

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility.
</Warning>

1. For React Native to Android, you need to download the `google-services.json` file.
2. For React native to iOS, you need to download the `GoogleServices-Info.plist` file.
Expand Down Expand Up @@ -1750,7 +1754,11 @@ export default App;

Refer to the JavaScript section above for subscription and unsubscription code.

### For Capacitor, Cordova & Ionic
### For Capacitor, Cordova & Ionic (Deprecated)

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility.
</Warning>

**1. Firebase Plugins**

Expand Down Expand Up @@ -1857,8 +1865,9 @@ let processedMessage = CometChat.CometChatHelper.processMessage(JSON_MESSAGE);

</Tab>

<Tab title="Capacitor, Cordova & Ionic">
<Tab title="Capacitor, Cordova & Ionic (Deprecated)">
```js
// Ionic Cordova is deprecated - use JavaScript SDK
let processedMessage = CometChat.CometChatHelper.processMessage(JSON_MESSAGE);
```

Expand Down
18 changes: 9 additions & 9 deletions notifications/preferences.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The fetch/update pattern shown here applies to group, one-on-one, mute, and sche
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
const preferences = await CometChatNotifications.fetchPreferences();

// Display Group preferences
Expand Down Expand Up @@ -194,7 +194,7 @@ Since the user is performing this action, enums have values as `SUBSCRIBE` or `D
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
// The example demonstrates modifying all values; however, modifying only the changed values is sufficient.

// Instantiate the NotificationPreferences.
Expand Down Expand Up @@ -369,7 +369,7 @@ Push notifications should be triggered for the message edited and message delete
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
const preferences = await CometChatNotifications.fetchPreferences();

// Display One-on-One preferences
Expand Down Expand Up @@ -453,7 +453,7 @@ It is unnecessary to specify all values; only set and save the preferences that
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
// The example demonstrates modifying all values; however, modifying only the changed values is sufficient.

// Instantiate the NotificationPreferences.
Expand Down Expand Up @@ -592,7 +592,7 @@ You can use the `CometChatNotifications.getMutedConversations()` method to displ
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
// Fetch mute preferences
const preferences = await CometChatNotifications.fetchPreferences();

Expand Down Expand Up @@ -713,7 +713,7 @@ It is unnecessary to specify all values; only set and save the preferences that
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
// The example demonstrates modifying all values; however, modifying only the changed values is sufficient.

// Instantiate the NotificationPreferences.
Expand Down Expand Up @@ -986,7 +986,7 @@ Notifications will be delivered based on the specified daily timetable, adhering
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
const preferences = await CometChatNotifications.fetchPreferences();

// Display schedule preferences
Expand Down Expand Up @@ -1110,7 +1110,7 @@ It is unnecessary to specify all values; only set and save the preferences that
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
// The example demonstrates modifying all values; however, modifying only the changed values is sufficient.

// Instantiate the NotificationPreferences.
Expand Down Expand Up @@ -1265,7 +1265,7 @@ Push notifications are triggered for calling events. These notifications are not
<Tabs>
<Tab title="JavaScript">
```js
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
const defaultPreferences = await CometChatNotifications.resetPreferences();
```

Expand Down
20 changes: 12 additions & 8 deletions notifications/push-notifications-extension-legacy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ On the Settings page you need to enter the following:

2. **Select the platforms that you want to support**

* Select from Web, Android, Ionic, React Native, Flutter & iOS.
* Select from Web, Android, Ionic (Deprecated), React Native, Flutter & iOS.

3. **Notification payload settings**

Expand Down Expand Up @@ -558,7 +558,7 @@ On the Settings page you need to enter the following:

2. **Select the platforms that you want to support**

* Select from Web, Android, Ionic, React Native, Flutter & iOS.
* Select from Web, Android, Ionic (Deprecated), React Native, Flutter & iOS.

3. **Notification payload settings**

Expand Down Expand Up @@ -1076,7 +1076,7 @@ On the Settings page you need to enter the following:

2. **Select the platforms that you want to support**

* Select from Web, Android, Ionic, React Native, Flutter & iOS.
* Select from Web, Android, Ionic (Deprecated), React Native, Flutter & iOS.

3. **Notification payload settings**

Expand Down Expand Up @@ -1463,7 +1463,7 @@ On the Settings page you need to enter the following:

2. **Select the platforms that you want to support**

* Select from Web, Android, Ionic, React Native, Flutter & iOS.
* Select from Web, Android, Ionic (Deprecated), React Native, Flutter & iOS.

3. **Notification payload settings**

Expand Down Expand Up @@ -3140,7 +3140,7 @@ On the Settings page you need to enter the following:

2. **Select the platforms that you want to support**

* Select from Web, Android, Ionic, React Native, Flutter & iOS.
* Select from Web, Android, Ionic (Deprecated), React Native, Flutter & iOS.

3. **Notification payload settings**

Expand Down Expand Up @@ -4085,7 +4085,11 @@ _* <------ add this function *_

</Tabs>

## Capacitor, Cordova & Ionic
## Capacitor, Cordova & Ionic (Deprecated)

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility.
</Warning>

Learn how to setup Push Notifications for Capacitor, Cordova and Ionic framework using Firebase Cloud Messaging or FCM.

Expand All @@ -4094,7 +4098,7 @@ Learn how to setup Push Notifications for Capacitor, Cordova and Ionic framework
icon="github"
href="https://github.com/cometchat/ionic-cordova-chat-push-notification-app"
>
Ionic/Cordova Push notifications sample app
Ionic/Cordova Push notifications sample app (Deprecated)

View on Github
</Card>
Expand Down Expand Up @@ -4157,7 +4161,7 @@ On the Settings page you need to enter the following:

2. **Select the platforms that you want to support**

* Select from Web, Android, Ionic, React Native, Flutter & iOS.
* Select from Web, Android, Ionic (Deprecated), React Native, Flutter & iOS.

3. **Notification payload settings**

Expand Down
2 changes: 1 addition & 1 deletion notifications/sms-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ This functionality is available in the following SDK versions:
2. iOS SDK version 4.0.51 and above
3. Web SDK version 4.0.8 and above
4. React Native SDK version 4.0.10 and above
5. Ionic Cordova SDK version 4.0.8 and above
5. Ionic Cordova SDK version 4.0.8 and above (Deprecated - use JavaScript SDK)
6. Flutter SDK version 4.0.15 and above

</Note>
Expand Down
4 changes: 2 additions & 2 deletions notifications/templates-and-sounds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Fetch/update the privacy toggle so users can opt in when allowed.
<Tabs>
<Tab title="JavaScript">
```js theme={null}
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
const preferences = await CometChatNotifications.fetchPreferences();

// Display a toggle for use privacy option
Expand Down Expand Up @@ -210,7 +210,7 @@ Use this sparingly to avoid surprising users. Set only the preferences that chan
<Tabs>
<Tab title="JavaScript">
```js theme={null}
// This is applicable for web, React native, Ionic cordova
// This is applicable for web, React native, Ionic cordova (Ionic Cordova is deprecated - use JavaScript SDK)
// The example demonstrates modifying all values; however, modifying only the changed values is sufficient.

// Instantiate the NotificationPreferences.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: "Connection Status"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



CometChat SDK provides you with a mechanism to get real-time status of the connection to CometChat web-socket servers.
Expand Down
12 changes: 12 additions & 0 deletions sdk/ionic-legacy/2.0/advanced.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Advanced"
sidebarTitle: "Overview"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



This section helps you to know about the Connection Listeners.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: "Login Listeners"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



The CometChat SDK provides you with real-time updates for the `login` and `logout` events. This can be achieved using the `LoginListener` class provided. LoginListener consists of 4 events that can be triggered. These are as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: "Authentication"
sidebarTitle: "Overview"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



## Create User
Expand Down
4 changes: 4 additions & 0 deletions sdk/ionic/2.0/bots.mdx → sdk/ionic-legacy/2.0/bots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: "Bots"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



Bots are special users, in CometChat, who can send and receive messages autonomously. Users can text bots privately in one-on-one conversations as well as in groups. When a bot receives a message, either in a one-on-one conversation or in a group conversation, CometChat forwards the message to a Callback URL that you specify. Once you receive this message, you can send a reply using our API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: "Default Calling"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



This section will provide information on how a complete calling workflow can be set up using CometChat. We've built the complete workflow to help your users make calls, receive calls as well as accept/reject calls.
Expand Down Expand Up @@ -130,7 +134,7 @@ CometChat.removeCallListener(listenerID);

</Tabs>

As mentioned in the [Overview](/sdk/ionic/2.0/calling-default-calling) section, Once the call is initiated, there are three options that can be possible:
As mentioned in the [Overview](/sdk/ionic-legacy/2.0/calling-default-calling) section, Once the call is initiated, there are three options that can be possible:

1. The receiver of the call accepts the call.
2. The receiver of the call rejects the call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: "Direct Calling"
---

<Warning>
**Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/overview) which provides full compatibility with Ionic applications.
</Warning>



This section will guide you to start the call/conference directly with the session id of your choice. The session id is the most important parameter as all the users joining the same session id will be connected to the same call/conference.
Expand Down
Loading