Skip to content

Commit 26c9fe8

Browse files
SK-567: flutter sdk development (#90)
* create monorepo * add api * remove client old api * add tokens management * rename sama_chat_api to sama_sdk
1 parent d25cc9f commit 26c9fe8

359 files changed

Lines changed: 1534 additions & 415 deletions

File tree

Some content is hidden

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

lib/src/api/connection/exceptions.dart

Lines changed: 0 additions & 18 deletions
This file was deleted.

lib/src/db/remote/conversation_remote_datasource.dart

Lines changed: 0 additions & 16 deletions
This file was deleted.

lib/src/db/sama_db.dart

Lines changed: 0 additions & 50 deletions
This file was deleted.

lib/src/shared/utils/api_utils.dart

Lines changed: 0 additions & 2 deletions
This file was deleted.

sama_chat_client/.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# See https://www.dartlang.org/guides/libraries/private-files
2+
3+
# Files and directories created by pub
4+
.dart_tool/
5+
.packages
6+
build/
7+
# If you're building an application, you may want to check-in your pubspec.lock
8+
pubspec.lock
9+
10+
# Directory created by dartdoc
11+
# If you don't generate documentation locally you can remove this line.
12+
doc/api/
13+
14+
# dotenv environment variables file
15+
.env
16+
17+
# Avoid committing generated Javascript files:
18+
*.dart.js
19+
*.info.json # Produced by the --dump-info flag.
20+
*.js # When generated by dart2js. Don't specify *.js if your
21+
# project includes source files written in JavaScript.
22+
*.js_
23+
*.js.deps
24+
*.js.map
25+
26+
.flutter-plugins
27+
.flutter-plugins-dependencies
28+
29+
.idea/
30+
31+
.DS_Store

sama_chat_client/.metadata

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: "a402d9a4376add5bc2d6b1e33e53edaae58c07f8"
8+
channel: "stable"
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
17+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
18+
- platform: android
19+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
20+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
21+
- platform: ios
22+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
23+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
24+
- platform: linux
25+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
26+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
27+
- platform: macos
28+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
29+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
30+
- platform: web
31+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
32+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
33+
- platform: windows
34+
create_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
35+
base_revision: a402d9a4376add5bc2d6b1e33e53edaae58c07f8
36+
37+
# User provided section
38+
39+
# List of Local paths (relative to this file) that should be
40+
# ignored by the migrate tool.
41+
#
42+
# Files that are not part of the templates will be ignored by default.
43+
unmanaged_files:
44+
- 'lib/main.dart'
45+
- 'ios/Runner.xcodeproj/project.pbxproj'

sama_chat_client/CHANGELOG.md

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
# Changelog
2+
3+
## 0.14.0
4+
5+
### Features
6+
- Implemented the option to edit messages
7+
- Implemented the option to delete messages
8+
- Implemented reset password feature
9+
- Integrated AI agent for changing tone of messages and summarizing them
10+
11+
## 0.13.0
12+
13+
### Features
14+
- Implemented Forward messages feature
15+
- Improved Link preview functionality
16+
17+
## 0.12.0
18+
19+
### Features
20+
- Implemented Typing status
21+
- Implemented Link preview for message
22+
- Implemented message Reply functionality
23+
24+
### Improvements
25+
- Minor bug fixes and improvements
26+
27+
## 0.11.2
28+
29+
### Features:
30+
- Added support for Programmable Chat attachments
31+
- Added new attachments fields
32+
33+
## 0.11.1
34+
35+
### Fixes:
36+
- Added organization id for production environment
37+
38+
## 0.11.0
39+
40+
### Features:
41+
- Implemented the Draft feature to locally save unsent messages
42+
- Added support for Programmable Chat
43+
- Added support for verifying that a user belongs to a specific organization
44+
45+
### Fixes:
46+
- Improved real-time updates for Online status to enhance compatibility with the web app
47+
48+
## 0.10.0
49+
50+
### Features:
51+
- Implemented a new view for media items within the app
52+
- Improved thumbnail quality for media item previews
53+
- Added caching to display media items in offline mode
54+
- Added a new media player to play videos within the app
55+
56+
### Fixes:
57+
- Improved and stabilized the logic for the “Last Seen” user functionality
58+
59+
## 0.9.0
60+
61+
### Features:
62+
- Implemented offline mode for chats
63+
- Implemented offline mode for messages
64+
- Improved message attachments caching
65+
66+
## 0.8.0
67+
68+
### Features:
69+
- Implemented local database for Chats
70+
- Implemented local database for Messages
71+
- Enhance app by adding offline stubs for some functionalities
72+
- Implemented CI
73+
74+
## 0.7.0
75+
76+
### Features:
77+
78+
- Implemented a progressive authentication flow to enhance security
79+
- Implemented push notifications for the iOS platform
80+
81+
### Fixes:
82+
- Fixed minor UI bugs for the iOS app
83+
84+
## 0.6.0
85+
86+
### Enhancements:
87+
88+
- Implement Pending/Sent/Read receipts
89+
- Quick display the chats instead of login screen after app was run
90+
- Re-design Create Group chat screen
91+
92+
### Fixes:
93+
- Resolve issue when chats aren’t displayed while the user tries to share some text
94+
- Fix send empty text message
95+
96+
## 0.5.0
97+
98+
### Released Fifth Phase
99+
100+
- Enabled push notifications for Android devices.
101+
- Added server-side support for push notifications.
102+
- Improved chat functionality to auto-hide the keyboard during scrolling.
103+
- Updated link highlight color within chat for better visibility.
104+
- Made minor UI improvements to user and group chat descriptions.
105+
106+
### Fixes:
107+
- Resolved an issue where users remained in chats after deletion.
108+
- Updated messaging when maximum participant limit is reached.
109+
110+
## 0.4.0
111+
112+
### Released Forth Phase
113+
114+
- Updated app name
115+
- Implemented 1-1 info screen
116+
- Implemented group info screen
117+
118+
### Fixes
119+
- iOS UI issues
120+
- iOS ShareTo
121+
- Attachments blinking download
122+
123+
## 0.1.0
124+
125+
### Released all core features
126+
127+
### Released Third Phase
128+
129+
- Implemented avatars for conversations
130+
- Implemented links highlighting in chat
131+
- Added ShareTo (text only)
132+
133+
### Fixes
134+
135+
- Block 'x' buttons for separate items while sending attachments

0 commit comments

Comments
 (0)