@wisdomgarden/mobile-assets 0.0.6 → 0.0.10

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.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  2. `node scripts/update_version_file.js` update json file with hipa remote data, or edit it manually
7
7
  3. check for errors then git commit
8
8
  4. `node scripts/upgrade_version.js` increase current project version number and add new tag
9
- 5. `git push --follow-tags` push to GitHub, and Github Action publish it to [npm @wisdomgarden/mobile-assets](https://www.npmjs.com/package/@wisdomgarden/mobile-assets)
9
+ 5. `git push && git push --tags` push to GitHub, and Github Action publish it to [npm @wisdomgarden/mobile-assets](https://www.npmjs.com/package/@wisdomgarden/mobile-assets)
10
10
  6. after about 10 minutes, check [jsDeliver package data](https://data.jsdelivr.com/v1/package/npm/@wisdomgarden/mobile-assets) util latest tag is same as package.json.version then `bash scripts/refresh_cdn.sh` refresh json file cdn cache
11
11
  7. preview release note. local use live server `./preview-release.html` or [Online from GitHub Pages](https://wisdomgardeninc.github.io/mobile-assets/preview-release.html)
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wisdomgarden/mobile-assets",
3
- "version": "0.0.6",
3
+ "version": "0.0.10",
4
4
  "description": "host mobile assets",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:WisdomGardenInc/mobile-assets.git",
@@ -94,7 +94,7 @@
94
94
  <div id="content_en"></div>
95
95
  </div>
96
96
  </div>
97
- <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
97
+ <script src="https://cdn.jsdelivr.net/npm/marked@4.0.1/marked.min.js"></script>
98
98
  <script>
99
99
  fetch("./version_update_android.json").then(function (response) {
100
100
  return response.text();
@@ -115,13 +115,13 @@
115
115
 
116
116
 
117
117
  document.getElementById('content_cn').innerHTML =
118
- marked(json["release_note_zh_hans"]);
118
+ marked.parse(json["release_note_zh_hans"]);
119
119
 
120
120
  document.getElementById('content_tw').innerHTML =
121
- marked(json["release_note_zh_hant"]);
121
+ marked.parse(json["release_note_zh_hant"]);
122
122
 
123
123
  document.getElementById('content_en').innerHTML =
124
- marked(json["release_note_en_us"]);
124
+ marked.parse(json["release_note_en_us"]);
125
125
 
126
126
 
127
127
  })
@@ -23,31 +23,31 @@ Welcome to use TronClass's related services! In order to use TronClass's related
23
23
  > Jiguang Push Core Service SDK
24
24
  > SDK name: jcore.android-2.3.2
25
25
  > Purpose of use: for push messages
26
- > Data type: user identification information (IMEI, MAC address)
26
+ > Data type: user identification information (IMEI, MAC address, APP installation list)
27
27
  > Official website link: https://www.jiguang.cn/
28
28
 
29
29
  > Aurora Push SDK
30
30
  > SDK name: cn.jpush.android-3.3.8
31
31
  > Purpose of use: for push messages
32
- > Data type: user identification information (IMEI, MAC address)
32
+ > Data type: user identification information (IMEI, MAC address, APP installation list)
33
33
  > Official website link: https://www.jiguang.cn/
34
34
 
35
35
  > OneSignal SDK
36
36
  > SDK name: onesignal
37
37
  > Purpose of use: for push messages
38
- > Data type: user identification information (IMEI, MAC address)
38
+ > Data type: user identification information (IMEI, MAC address, APP installation list)
39
39
  > Official website link: https://onesignal.com/
40
40
 
41
41
  > Huawei Push SDK
42
42
  > SDK name: com.huawei.hms
43
43
  > Purpose of use: for push messages
44
- > Data type: user identification information (IMEI, MAC address)
44
+ > Data type: user identification information (IMEI, MAC address, APP installation list)
45
45
  > Official website link: https://developer.huawei.com/consumer/cn/hms/huawei-pushkit
46
46
 
47
47
  > Tencent Browsing Service SDK
48
48
  > SDK name: com.tencent.smtt
49
49
  > Purpose of use: for push messages
50
- > Data type: user identification information (IMEI, MAC address)
50
+ > Data type: user identification information (IMEI, MAC address, APP installation list)
51
51
  > Official website link: https://x5.tencent.com/
52
52
 
53
53
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "updateInfo": {
3
3
  "effectiveTime": "2021-08-18",
4
- "updateTime": "2021-09-08"
4
+ "updateTime": "2021-11-25"
5
5
  },
6
6
  "i18n": {
7
7
  "zh-CN": {
@@ -23,31 +23,31 @@
23
23
  > 极光推送核心服务SDK
24
24
  > SDK名称:jcore.android-2.3.2
25
25
  > 使用目的:用于推送消息
26
- > 数据类型:用户标识信息(IMEI、MAC地址)
26
+ > 数据类型:用户标识信息(IMEI、MAC地址、软件安装列表)
27
27
  > 官网链接:https://www.jiguang.cn/
28
28
 
29
29
  > 极光推送SDK
30
30
  > SDK名称:cn.jpush.android-3.3.8
31
31
  > 使用目的:用于推送消息
32
- > 数据类型:用户标识信息(IMEI、MAC地址)
32
+ > 数据类型:用户标识信息(IMEI、MAC地址、软件安装列表)
33
33
  > 官网链接:https://www.jiguang.cn/
34
34
 
35
35
  > OneSignal SDK
36
36
  > SDK名称:onesignal
37
37
  > 使用目的:用于推送消息
38
- > 数据类型:用户标识信息(IMEI、MAC地址)
38
+ > 数据类型:用户标识信息(IMEI、MAC地址、软件安装列表)
39
39
  > 官网链接:https://onesignal.com/
40
40
 
41
41
  > 华为推送 SDK
42
42
  > SDK名称:com.huawei.hms
43
43
  > 使用目的:用于推送消息
44
- > 数据类型:用户标识信息(IMEI、MAC地址)
44
+ > 数据类型:用户标识信息(IMEI、MAC地址、软件安装列表)
45
45
  > 官网链接:https://developer.huawei.com/consumer/cn/hms/huawei-pushkit
46
46
 
47
47
  > 腾讯浏览服务SDK
48
48
  > SDK名称:com.tencent.smtt
49
49
  > 使用目的:用于推送消息
50
- > 数据类型:用户标识信息(IMEI、MAC地址)
50
+ > 数据类型:用户标识信息(IMEI、MAC地址、软件安装列表)
51
51
  > 官网链接:https://x5.tencent.com/
52
52
 
53
53
 
@@ -23,7 +23,7 @@
23
23
  border-left: 4px solid #dadada;
24
24
  }
25
25
  </style>
26
- <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
26
+ <script src="https://cdn.jsdelivr.net/npm/marked@4.0.1/marked.min.js"></script>
27
27
  <script>
28
28
  let content = "";
29
29
  let info = null;
@@ -70,7 +70,7 @@
70
70
 
71
71
  content = header + content + footer
72
72
 
73
- document.getElementById('content').innerHTML = marked(content);
73
+ document.getElementById('content').innerHTML = marked.parse(content);
74
74
  }
75
75
  }
76
76
  </script>
package/toggle.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "useSentry": false,
3
+ "usePostHog": false
4
+ }
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "2.1.4",
2
+ "version": "2.1.6",
3
3
  "update_type": 1,
4
- "allow_lowest_version": "2.1.3",
4
+ "allow_lowest_version": "2.1.6",
5
5
  "app_store_url": "https://play.google.com/store/apps/details?id=com.wisdomgarden.trpc",
6
- "app_store_url_cn": "https://mobile-download.tronclass.com.cn/mobile-2.0/app/android/app-release-2.1.4.apk",
7
- "release_note_en_us": "- Add viewing portal of course outline on course page.\n- Add update prompt.\n- Improve style of learning-activity criterion on section page.\n- Fix problem with showing To-Dos.",
8
- "release_note_zh_hans": "- 课程详情页新增课程信息查看入口\n- 新增APP版本更新提示\n- 优化章节列表学习活动完成度样式\n- 修复部分用户待办事项显示错误的问题",
9
- "release_note_zh_hant": "- 課程詳情頁新增「課程資訊」查看入口\n- 新增APP版本更新提示\n- 優化章節列表學習活動完成度樣式\n- 修復部分使用者待辦事項顯示錯誤的問題"
6
+ "app_store_url_cn": "https://mobile-download.tronclass.com.cn/mobile-2.0/app/android/app-release-2.1.6.apk",
7
+ "release_note_en_us": "- Improve rich-text style.\n- Optimize anti-cheating function.\n- Modify notifications/indicators when content fails to load.\n- Optimize text style in dark mode.\n- Optimize test topic content styles.\n- Modify \"Content-required\" prompt when creating new learning activities.\n- Optimize the selection process.\n- Fix submission of tests not being recorded as it is triggered by autocommit in some cases.\n- Fix problems with submitting video job.",
8
+ "release_note_zh_hans": "- 优化富文本内容显示样式\n- 优化APP测验防作弊功能\n- 优化内容加载失败时的操作和文字提示\n- 优化深色模式文字样式\n- 优化测验题目图片及文字样式\n- 优化新建学习活动必填内容提示\n- 优化选人操作流程\n- 修复部分用户测验自动提交但未被系统记录的问题\n- 修复部分用户视频作业提交失败的问题",
9
+ "release_note_zh_hant": "- 優化富文字編輯器內容顯示樣式\n- 優化APP線上測驗提供防作弊功能\n- 優化內容載入失敗時的操作和文字提示\n- 優化深色模式文字樣式\n- 優化線上測驗題目圖片及文字樣式\n- 優化新增學習活動時必填內容提示\n- 優化選人活動操作流程\n- 修復部分使用者線上測驗自動提交但未被系統記錄的問題\n- 修復部分使用者在作業中上傳影片提交失敗的問題"
10
10
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "2.1.4",
2
+ "version": "2.1.6",
3
3
  "update_type": 1,
4
- "allow_lowest_version": "2.1.3",
4
+ "allow_lowest_version": "2.1.6",
5
5
  "app_store_url": "https://apps.apple.com/app/scratch/id973028199",
6
- "release_note_en_us": "- Add viewing portal of course outline on course page.\n- Add update prompt.\n- Improve style of learning-activity criterion on section page.\n- Fix problem with showing To-Dos.",
7
- "release_note_zh_hans": "- 课程详情页新增课程信息查看入口\n- 新增APP版本更新提示\n- 优化章节列表学习活动完成度样式\n- 修复部分用户待办事项显示错误的问题",
8
- "release_note_zh_hant": "- 課程詳情頁新增「課程資訊」查看入口\n- 新增APP版本更新提示\n- 優化章節列表學習活動完成度樣式\n- 修復部分使用者待辦事項顯示錯誤的問題"
6
+ "release_note_en_us": "- Improve rich-text style.\n- Optimize anti-cheating function.\n- Modify notifications/indicators when content fails to load.\n- Optimize text style in dark mode.\n- Optimize test topic content styles.\n- Modify \"Content-required\" prompt when creating new learning activities.\n- Optimize the selection process.\n- Fix submission of tests not being recorded as it is triggered by autocommit in some cases.\n- Fix problems with submitting video job.",
7
+ "release_note_zh_hans": "- 优化富文本内容显示样式\n- 优化APP测验防作弊功能\n- 优化内容加载失败时的操作和文字提示\n- 优化深色模式文字样式\n- 优化测验题目图片及文字样式\n- 优化新建学习活动必填内容提示\n- 优化选人操作流程\n- 修复部分用户测验自动提交但未被系统记录的问题\n- 修复部分用户视频作业提交失败的问题",
8
+ "release_note_zh_hant": "- 優化富文字編輯器內容顯示樣式\n- 優化APP線上測驗提供防作弊功能\n- 優化內容載入失敗時的操作和文字提示\n- 優化深色模式文字樣式\n- 優化線上測驗題目圖片及文字樣式\n- 優化新增學習活動時必填內容提示\n- 優化選人活動操作流程\n- 修復部分使用者線上測驗自動提交但未被系統記錄的問題\n- 修復部分使用者在作業中上傳影片提交失敗的問題"
9
9
  }
@@ -74,7 +74,7 @@
74
74
  }
75
75
  </style>
76
76
  <meta charset="UTF-8">
77
- <script src="https://cdn.jsdelivr.net/npm/jquery@1.11.2/dist/jquery.min.js" integrity="sha256-Ls0pXSlb7AYs7evhd+VLnWsZ/AqEHcXBeMZUycz/CcA=" crossorigin="anonymous"></script>
77
+ <script src="https://cdn.jsdelivr.net/npm/jquery@1.11.2/dist/jquery.min.js" integrity="sha256-1OxYPHYEAB+HIz0f4AdsvZCfFaX4xrTD9d2BtGLXnTI=" crossorigin="anonymous"></script>
78
78
  </head>
79
79
  <body>
80
80
  <div class="loading-container active">