Skip to content

Commit 2b0679c

Browse files
CubeRomanMagellanku9novMagellan
authored
Release 0.8.0 (#61)
* CI preparation * prepare 0.8.0 * remove isEncrypted chats (#58) Co-authored-by: Magellan <magellan@connectycube.com> * FM-103: Create local database for Conversations (#57) * add objectbox * add models * add initial to ConversationsState * update saveConversationsLocal * speed up DatabaseService * add userRepository saveUsersLocal * add db model extensions * use UserModel instead of User * fix drop db * fix user avatar save db * fix chat load throttle * fix flutter_secure_storage PlatformException after reinstall fix empty chat list fix current user save to db * fix db init fix remove chats * fix update avatar fix last msg fix no Delete chat option * fix deleted user name * fix filter chats fix recreate chat fix shouldFetch remove extra indent in chat for iOS fix unread when push * fix double fetch chats by push * fix delete chat --------- Co-authored-by: Magellan <magellan@connectycube.com> * add app store connect api key * FM-95: Create local database for Messages (#59) * add objectbox * add models * add initial to ConversationsState * update saveConversationsLocal * speed up DatabaseService * add userRepository saveUsersLocal * add db model extensions * use UserModel instead of User * fix drop db * fix user avatar save db * fix chat load throttle * fix flutter_secure_storage PlatformException after reinstall fix empty chat list fix current user save to db * fix db init fix remove chats * fix update avatar fix last msg fix no Delete chat option * fix deleted user name * fix filter chats fix recreate chat fix shouldFetch remove extra indent in chat for iOS fix unread when push * fix double fetch chats by push * fix delete chat * create messages db * add participants to conversation * fix loop loading * add total delete data uninstall fix add new created chat from system msg * fix null get participants * fix last msg update fix update participants --------- Co-authored-by: Magellan <magellan@connectycube.com> * FM-107: Enhance app by adding offline stubs for some functionalities (#60) * add objectbox * add models * add initial to ConversationsState * update saveConversationsLocal * speed up DatabaseService * add userRepository saveUsersLocal * add db model extensions * use UserModel instead of User * fix drop db * fix user avatar save db * fix chat load throttle * fix flutter_secure_storage PlatformException after reinstall fix empty chat list fix current user save to db * fix db init fix remove chats * fix update avatar fix last msg fix no Delete chat option * fix deleted user name * fix filter chats fix recreate chat fix shouldFetch remove extra indent in chat for iOS fix unread when push * fix double fetch chats by push * fix delete chat * create messages db * add participants to conversation * fix loop loading * add total delete data uninstall fix add new created chat from system msg * fix null get participants * fix last msg update fix update participants * add ConnectionBloc add auth when start offline add stub fix chats pagination fix chat, messages restore after reconnect * fix login * fix update chat last msg * fix send attachments * fix chats loading relogin * fix toast duration --------- Co-authored-by: Magellan <magellan@connectycube.com> * bump v. 0.8.0 --------- Co-authored-by: ku9nov <sergeyku9nov@gmail.com> Co-authored-by: Magellan <magellan@connectycube.com>
1 parent 468f969 commit 2b0679c

103 files changed

Lines changed: 4135 additions & 1013 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.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.8.0
4+
5+
### Features:
6+
- Implemented local database for Chats
7+
- Implemented local database for Messages
8+
- Enhance app by adding offline stubs for some functionalities
9+
- Implemented CI
10+
311
## 0.7.0
412

513
### Features:

android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ key.properties
1212
**/*.keystore
1313
**/*.jks
1414
.idea/
15+
.cxx

android/app/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ if (flutterVersionName == null) {
2525
android {
2626
namespace "com.sama.sama_client_flutter"
2727
compileSdk flutter.compileSdkVersion
28-
ndkVersion flutter.ndkVersion
28+
ndkVersion = "27.0.12077973"
2929

3030
compileOptions {
31+
coreLibraryDesugaringEnabled true
3132
sourceCompatibility JavaVersion.VERSION_1_8
3233
targetCompatibility JavaVersion.VERSION_1_8
3334
}
@@ -64,4 +65,6 @@ flutter {
6465
source '../..'
6566
}
6667

67-
dependencies {}
68+
dependencies {
69+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
70+
}

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<application
66
android:label="SAMA"
77
android:name="${applicationName}"
8+
android:allowBackup="false"
9+
android:fullBackupContent="false"
810
android:icon="@mipmap/ic_launcher"
911
android:enableOnBackInvokedCallback="true">
1012
<meta-data

android/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
kotlinVersion=1.9.20
5+
agpVersion=8.9.0

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip

android/settings.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pluginManagement {
1919

2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "7.3.1" apply false
23-
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
22+
id "com.android.application" version "${agpVersion}" apply false
23+
id "org.jetbrains.kotlin.android" version "${kotlinVersion}" apply false
2424
}
2525

2626
include ":app"

ios/Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem "fastlane"

ios/Gemfile.lock

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
addressable (2.8.7)
9+
public_suffix (>= 2.0.2, < 7.0)
10+
artifactory (3.0.17)
11+
atomos (0.1.3)
12+
aws-eventstream (1.3.0)
13+
aws-partitions (1.1043.0)
14+
aws-sdk-core (3.217.0)
15+
aws-eventstream (~> 1, >= 1.3.0)
16+
aws-partitions (~> 1, >= 1.992.0)
17+
aws-sigv4 (~> 1.9)
18+
jmespath (~> 1, >= 1.6.1)
19+
aws-sdk-kms (1.97.0)
20+
aws-sdk-core (~> 3, >= 3.216.0)
21+
aws-sigv4 (~> 1.5)
22+
aws-sdk-s3 (1.178.0)
23+
aws-sdk-core (~> 3, >= 3.216.0)
24+
aws-sdk-kms (~> 1)
25+
aws-sigv4 (~> 1.5)
26+
aws-sigv4 (1.11.0)
27+
aws-eventstream (~> 1, >= 1.0.2)
28+
babosa (1.0.4)
29+
base64 (0.2.0)
30+
claide (1.1.0)
31+
colored (1.2)
32+
colored2 (3.1.2)
33+
commander (4.6.0)
34+
highline (~> 2.0.0)
35+
declarative (0.0.20)
36+
digest-crc (0.7.0)
37+
rake (>= 12.0.0, < 14.0.0)
38+
domain_name (0.6.20240107)
39+
dotenv (2.8.1)
40+
emoji_regex (3.2.3)
41+
excon (0.112.0)
42+
faraday (1.10.4)
43+
faraday-em_http (~> 1.0)
44+
faraday-em_synchrony (~> 1.0)
45+
faraday-excon (~> 1.1)
46+
faraday-httpclient (~> 1.0)
47+
faraday-multipart (~> 1.0)
48+
faraday-net_http (~> 1.0)
49+
faraday-net_http_persistent (~> 1.0)
50+
faraday-patron (~> 1.0)
51+
faraday-rack (~> 1.0)
52+
faraday-retry (~> 1.0)
53+
ruby2_keywords (>= 0.0.4)
54+
faraday-cookie_jar (0.0.7)
55+
faraday (>= 0.8.0)
56+
http-cookie (~> 1.0.0)
57+
faraday-em_http (1.0.0)
58+
faraday-em_synchrony (1.0.0)
59+
faraday-excon (1.1.0)
60+
faraday-httpclient (1.0.1)
61+
faraday-multipart (1.1.0)
62+
multipart-post (~> 2.0)
63+
faraday-net_http (1.0.2)
64+
faraday-net_http_persistent (1.2.0)
65+
faraday-patron (1.0.0)
66+
faraday-rack (1.0.0)
67+
faraday-retry (1.0.3)
68+
faraday_middleware (1.2.1)
69+
faraday (~> 1.0)
70+
fastimage (2.4.0)
71+
fastlane (2.226.0)
72+
CFPropertyList (>= 2.3, < 4.0.0)
73+
addressable (>= 2.8, < 3.0.0)
74+
artifactory (~> 3.0)
75+
aws-sdk-s3 (~> 1.0)
76+
babosa (>= 1.0.3, < 2.0.0)
77+
bundler (>= 1.12.0, < 3.0.0)
78+
colored (~> 1.2)
79+
commander (~> 4.6)
80+
dotenv (>= 2.1.1, < 3.0.0)
81+
emoji_regex (>= 0.1, < 4.0)
82+
excon (>= 0.71.0, < 1.0.0)
83+
faraday (~> 1.0)
84+
faraday-cookie_jar (~> 0.0.6)
85+
faraday_middleware (~> 1.0)
86+
fastimage (>= 2.1.0, < 3.0.0)
87+
fastlane-sirp (>= 1.0.0)
88+
gh_inspector (>= 1.1.2, < 2.0.0)
89+
google-apis-androidpublisher_v3 (~> 0.3)
90+
google-apis-playcustomapp_v1 (~> 0.1)
91+
google-cloud-env (>= 1.6.0, < 2.0.0)
92+
google-cloud-storage (~> 1.31)
93+
highline (~> 2.0)
94+
http-cookie (~> 1.0.5)
95+
json (< 3.0.0)
96+
jwt (>= 2.1.0, < 3)
97+
mini_magick (>= 4.9.4, < 5.0.0)
98+
multipart-post (>= 2.0.0, < 3.0.0)
99+
naturally (~> 2.2)
100+
optparse (>= 0.1.1, < 1.0.0)
101+
plist (>= 3.1.0, < 4.0.0)
102+
rubyzip (>= 2.0.0, < 3.0.0)
103+
security (= 0.1.5)
104+
simctl (~> 1.6.3)
105+
terminal-notifier (>= 2.0.0, < 3.0.0)
106+
terminal-table (~> 3)
107+
tty-screen (>= 0.6.3, < 1.0.0)
108+
tty-spinner (>= 0.8.0, < 1.0.0)
109+
word_wrap (~> 1.0.0)
110+
xcodeproj (>= 1.13.0, < 2.0.0)
111+
xcpretty (~> 0.4.0)
112+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
113+
fastlane-sirp (1.0.0)
114+
sysrandom (~> 1.0)
115+
gh_inspector (1.1.3)
116+
google-apis-androidpublisher_v3 (0.54.0)
117+
google-apis-core (>= 0.11.0, < 2.a)
118+
google-apis-core (0.11.3)
119+
addressable (~> 2.5, >= 2.5.1)
120+
googleauth (>= 0.16.2, < 2.a)
121+
httpclient (>= 2.8.1, < 3.a)
122+
mini_mime (~> 1.0)
123+
representable (~> 3.0)
124+
retriable (>= 2.0, < 4.a)
125+
rexml
126+
google-apis-iamcredentials_v1 (0.17.0)
127+
google-apis-core (>= 0.11.0, < 2.a)
128+
google-apis-playcustomapp_v1 (0.13.0)
129+
google-apis-core (>= 0.11.0, < 2.a)
130+
google-apis-storage_v1 (0.31.0)
131+
google-apis-core (>= 0.11.0, < 2.a)
132+
google-cloud-core (1.7.1)
133+
google-cloud-env (>= 1.0, < 3.a)
134+
google-cloud-errors (~> 1.0)
135+
google-cloud-env (1.6.0)
136+
faraday (>= 0.17.3, < 3.0)
137+
google-cloud-errors (1.4.0)
138+
google-cloud-storage (1.47.0)
139+
addressable (~> 2.8)
140+
digest-crc (~> 0.4)
141+
google-apis-iamcredentials_v1 (~> 0.1)
142+
google-apis-storage_v1 (~> 0.31.0)
143+
google-cloud-core (~> 1.6)
144+
googleauth (>= 0.16.2, < 2.a)
145+
mini_mime (~> 1.0)
146+
googleauth (1.8.1)
147+
faraday (>= 0.17.3, < 3.a)
148+
jwt (>= 1.4, < 3.0)
149+
multi_json (~> 1.11)
150+
os (>= 0.9, < 2.0)
151+
signet (>= 0.16, < 2.a)
152+
highline (2.0.3)
153+
http-cookie (1.0.8)
154+
domain_name (~> 0.5)
155+
httpclient (2.8.3)
156+
jmespath (1.6.2)
157+
json (2.9.1)
158+
jwt (2.10.1)
159+
base64
160+
mini_magick (4.13.2)
161+
mini_mime (1.1.5)
162+
multi_json (1.15.0)
163+
multipart-post (2.4.1)
164+
nanaimo (0.4.0)
165+
naturally (2.2.1)
166+
nkf (0.2.0)
167+
optparse (0.6.0)
168+
os (1.1.4)
169+
plist (3.7.2)
170+
public_suffix (6.0.1)
171+
rake (13.2.1)
172+
representable (3.2.0)
173+
declarative (< 0.1.0)
174+
trailblazer-option (>= 0.1.1, < 0.2.0)
175+
uber (< 0.2.0)
176+
retriable (3.1.2)
177+
rexml (3.4.0)
178+
rouge (3.28.0)
179+
ruby2_keywords (0.0.5)
180+
rubyzip (2.4.1)
181+
security (0.1.5)
182+
signet (0.19.0)
183+
addressable (~> 2.8)
184+
faraday (>= 0.17.5, < 3.a)
185+
jwt (>= 1.5, < 3.0)
186+
multi_json (~> 1.10)
187+
simctl (1.6.10)
188+
CFPropertyList
189+
naturally
190+
sysrandom (1.0.5)
191+
terminal-notifier (2.0.0)
192+
terminal-table (3.0.2)
193+
unicode-display_width (>= 1.1.1, < 3)
194+
trailblazer-option (0.1.2)
195+
tty-cursor (0.7.1)
196+
tty-screen (0.8.2)
197+
tty-spinner (0.9.3)
198+
tty-cursor (~> 0.7)
199+
uber (0.1.0)
200+
unicode-display_width (2.6.0)
201+
word_wrap (1.0.0)
202+
xcodeproj (1.27.0)
203+
CFPropertyList (>= 2.3.3, < 4.0)
204+
atomos (~> 0.1.3)
205+
claide (>= 1.0.2, < 2.0)
206+
colored2 (~> 3.1)
207+
nanaimo (~> 0.4.0)
208+
rexml (>= 3.3.6, < 4.0)
209+
xcpretty (0.4.0)
210+
rouge (~> 3.28.0)
211+
xcpretty-travis-formatter (1.0.1)
212+
xcpretty (~> 0.2, >= 0.0.7)
213+
214+
PLATFORMS
215+
ruby
216+
217+
DEPENDENCIES
218+
fastlane
219+
220+
BUNDLED WITH
221+
2.4.10

ios/Podfile.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ PODS:
127127
- nanopb/encode (= 3.30910.0)
128128
- nanopb/decode (3.30910.0)
129129
- nanopb/encode (3.30910.0)
130+
- ObjectBox (4.1.0)
131+
- objectbox_flutter_libs (0.0.1):
132+
- Flutter
133+
- ObjectBox (= 4.1.0)
130134
- path_provider_foundation (0.0.1):
131135
- Flutter
132136
- FlutterMacOS
@@ -161,6 +165,7 @@ DEPENDENCIES:
161165
- flutter_image_compress_common (from `.symlinks/plugins/flutter_image_compress_common/ios`)
162166
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
163167
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
168+
- objectbox_flutter_libs (from `.symlinks/plugins/objectbox_flutter_libs/ios`)
164169
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
165170
- receive_sharing_intent (from `.symlinks/plugins/receive_sharing_intent/ios`)
166171
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
@@ -182,6 +187,7 @@ SPEC REPOS:
182187
- libwebp
183188
- Mantle
184189
- nanopb
190+
- ObjectBox
185191
- PromisesObjC
186192
- SDWebImage
187193
- SDWebImageWebPCoder
@@ -206,6 +212,8 @@ EXTERNAL SOURCES:
206212
:path: ".symlinks/plugins/flutter_local_notifications/ios"
207213
flutter_secure_storage:
208214
:path: ".symlinks/plugins/flutter_secure_storage/ios"
215+
objectbox_flutter_libs:
216+
:path: ".symlinks/plugins/objectbox_flutter_libs/ios"
209217
path_provider_foundation:
210218
:path: ".symlinks/plugins/path_provider_foundation/darwin"
211219
receive_sharing_intent:
@@ -241,6 +249,8 @@ SPEC CHECKSUMS:
241249
libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009
242250
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
243251
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
252+
ObjectBox: bf3d4b51075d52868422d5d1f2f2141b1d630d30
253+
objectbox_flutter_libs: 2f30755c12b0fe104d75445c3ba879e3072eda54
244254
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
245255
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
246256
receive_sharing_intent: 79c848f5b045674ad60b9fea3bafea59962ad2c1

0 commit comments

Comments
 (0)