@chat21/chat21-ionic 3.0.54-RC2 → 3.0.55-RC6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/config.xml +1 -0
  4. package/package.json +6 -2
  5. package/resources/Android/icon/drawable-hdpi-icon.png +0 -0
  6. package/resources/Android/icon/drawable-ldpi-icon.png +0 -0
  7. package/resources/Android/icon/drawable-mdpi-icon.png +0 -0
  8. package/resources/Android/icon/drawable-xhdpi-icon.png +0 -0
  9. package/resources/Android/icon/drawable-xxhdpi-icon.png +0 -0
  10. package/resources/Android/icon/drawable-xxxhdpi-icon.png +0 -0
  11. package/resources/Android/icon.png +0 -0
  12. package/resources/Android/splash/drawable-land-hdpi-screen.png +0 -0
  13. package/resources/Android/splash/drawable-land-ldpi-screen.png +0 -0
  14. package/resources/Android/splash/drawable-land-mdpi-screen.png +0 -0
  15. package/resources/Android/splash/drawable-land-xhdpi-screen.png +0 -0
  16. package/resources/Android/splash/drawable-land-xxhdpi-screen.png +0 -0
  17. package/resources/Android/splash/drawable-land-xxxhdpi-screen.png +0 -0
  18. package/resources/Android/splash/drawable-port-hdpi-screen.png +0 -0
  19. package/resources/Android/splash/drawable-port-ldpi-screen.png +0 -0
  20. package/resources/Android/splash/drawable-port-mdpi-screen.png +0 -0
  21. package/resources/Android/splash/drawable-port-xhdpi-screen.png +0 -0
  22. package/resources/Android/splash/drawable-port-xxhdpi-screen.png +0 -0
  23. package/resources/Android/splash/drawable-port-xxxhdpi-screen.png +0 -0
  24. package/resources/Android/splash.png +0 -0
  25. package/src/app/app.component.ts +504 -433
  26. package/src/app/app.module.ts +9 -4
  27. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +4 -0
  28. package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +27 -30
  29. package/src/app/chatlib/conversation-detail/message/text/text.component.html +1 -1
  30. package/src/app/chatlib/conversation-detail/message/text/text.component.ts +27 -3
  31. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +4 -4
  32. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +5 -5
  33. package/src/app/components/conversation-info/info-content/info-content.component.ts +8 -1
  34. package/src/app/pages/conversation-detail/conversation-detail.page.ts +33 -25
  35. package/src/chat-config-pre-test.json +2 -1
  36. package/src/chat21-core/providers/abstract/messagingAuth.service.ts +1 -1
  37. package/src/chat21-core/providers/firebase/firebase-archivedconversations-handler.ts +3 -2
  38. package/src/chat21-core/providers/firebase/firebase-auth-service.ts +84 -17
  39. package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +6 -4
  40. package/src/chat21-core/providers/localSessionStorage.ts +2 -1
  41. package/src/index.html +87 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.55-RC6
4
+ - Fixed the bug: when the pc starts up, if the connection is missing, the chat tab is a blank page and remains so even after the connection (use case the app-root does not load the ion-app)
5
+
6
+ ### 3.0.55-RC5
7
+ - Removes the changes in version 3.0.55-RC4
8
+ - Updates the method of "app.component.ts" watchToConnectionStatus()
9
+
10
+ ### 3.0.55-RC4
11
+ - Set "Auth.Persistence" to "firebase.auth().signInWithCustomToken" method
12
+ - Hardcoded the authPersistence value to 'LOCAL' in the 'localSessionStorage' service
13
+
14
+ ### 3.0.55-RC3
15
+ - Fixes the bug with another solution: the sender name in the conversation list does not match the sender name in the conversation details header
16
+ - Adds Android resources
17
+ - Set the "auth Persistence" environment variable to NONE
18
+
19
+ ### 3.0.55-RC2
20
+ - Adds style rules to fit the image name to its width
21
+ - Improves the method of getting Project ID from Conversation ID
22
+
3
23
  ### 3.0.54-RC2
4
24
  - Fixes the bug: canned responses are not loaded
5
25
  - Adds backward compatibility: loading of canned responses for old projects
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020-present Tiledesk
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/config.xml CHANGED
@@ -111,6 +111,7 @@
111
111
  <plugin name="cordova-plugin-ionic-webview" spec="^4.2.1">
112
112
  <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" />
113
113
  </plugin>
114
+ <plugin name="cordova-plugin-network-information" spec="^2.0.2" />
114
115
  <plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
115
116
  <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
116
117
  <plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
- "version": "3.0.54-RC2",
3
+ "version": "3.0.55-RC6",
4
4
  "author": "Tiledesk SRL",
5
5
  "homepage": "https://ionicframework.com/",
6
6
  "scripts": {
@@ -24,6 +24,7 @@
24
24
  "@ionic-native/core": "^5.0.7",
25
25
  "@ionic-native/globalization": "^5.28.0",
26
26
  "@ionic-native/keyboard": "^5.28.0",
27
+ "@ionic-native/network": "^5.36.0",
27
28
  "@ionic-native/splash-screen": "^5.29.0",
28
29
  "@ionic-native/status-bar": "^5.0.0",
29
30
  "@ionic/angular": "^5.0.7",
@@ -41,6 +42,7 @@
41
42
  "cordova-plugin-device": "^2.0.2",
42
43
  "cordova-plugin-ionic-keyboard": "^2.2.0",
43
44
  "cordova-plugin-ionic-webview": "^4.2.1",
45
+ "cordova-plugin-network-information": "^2.0.2",
44
46
  "cordova-plugin-splashscreen": "^5.0.2",
45
47
  "cordova-plugin-statusbar": "^2.4.2",
46
48
  "cordova-plugin-whitelist": "^1.3.3",
@@ -51,6 +53,7 @@
51
53
  "material-design-icons": "^3.0.1",
52
54
  "moment": "^2.24.0",
53
55
  "moment-timezone": "^0.5.28",
56
+ "ng-connection-service": "^1.0.4",
54
57
  "ng2-tooltip-directive": "^2.9.22",
55
58
  "ngx-linkifyjs": "^1.3.0",
56
59
  "ngx-logger": "^4.2.1",
@@ -97,7 +100,8 @@
97
100
  "cordova-plugin-chooser": {},
98
101
  "cordova-android-support-gradle-release": {
99
102
  "ANDROID_SUPPORT_VERSION": "27.+"
100
- }
103
+ },
104
+ "cordova-plugin-network-information": {}
101
105
  },
102
106
  "platforms": [
103
107
  "android",
Binary file
Binary file