Commit 0c6abfe9 authored by Doris Tam's avatar Doris Tam
Browse files

Add react-native-version to manage versioning

Run npm version <new version number> before build to update all versions.
parents b6d94efd 1925622f
Pipeline #1576 passed with stages
in 13 minutes and 27 seconds
......@@ -134,8 +134,8 @@ android {
applicationId "org.mahara.mobile.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 19
versionName "21.10.0"
versionCode 24
versionName "21.4.3"
ndk { debugSymbolLevel 'FULL' }
}
splits {
......
......@@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>21.10.0</string>
<string>21.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>8</string>
<key>LSRequiresIPhoneOS</key>
<true />
<key>NSAppTransportSecurity</key>
......
......@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>21.10.0</string>
<string>21.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>8</string>
</dict>
</plist>
......@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>21.10.0</string>
<string>21.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>2</string>
<string>7</string>
<key>LSRequiresIPhoneOS</key>
<true />
<key>NSAppTransportSecurity</key>
......
......@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>21.10.0</string>
<string>21.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>8</string>
</dict>
</plist>
......@@ -335,6 +335,10 @@ msgstr ""
msgid "Logout"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Mobile"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:34
#~ msgid "Mahara Mobile allows you to collect your evidence on your mobile device and also when you are offline. You can then upload it to Mahara and put into your portfolios."
#~ msgstr ""
......@@ -360,8 +364,8 @@ msgid "Mahara Mobile is an open source project created by the Mahara Project Tea
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Project"
msgstr ""
#~ msgid "Mahara Project"
#~ msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:17
#~ msgid "Mahara Project."
......@@ -482,7 +486,7 @@ msgstr ""
msgid "Queue to upload"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Re-record"
msgstr ""
......@@ -491,7 +495,7 @@ msgstr ""
msgid "Re-take photo"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Record"
msgstr ""
......@@ -538,11 +542,11 @@ msgstr ""
msgid "Single sign-on"
msgstr ""
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:151
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:160
msgid "Skip"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Stop"
msgstr ""
......@@ -594,7 +598,15 @@ msgid "This is not a Mahara site. Please re-enter URL."
msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
msgid "This version of Mahara Mobile is 21.04.2"
#~ msgid "This version of Mahara Mobile is"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
#~ msgid "This version of Mahara Mobile is 21.04.2"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:8
msgid "This version of Mahara Mobile is {MAHARAVERSION}"
msgstr ""
#: src/components/UploadForm/UploadForm.tsx:224
......@@ -725,7 +737,7 @@ msgstr ""
#~ msgid "and we will use all reasonable efforts to remedy the issue."
#~ msgstr ""
#: src/utils/constants.ts:84
#: src/utils/constants.ts:85
msgid "audio"
msgstr ""
......@@ -744,7 +756,7 @@ msgstr ""
msgid "default"
msgstr ""
#: src/utils/constants.ts:82
#: src/utils/constants.ts:83
msgid "file"
msgstr ""
......@@ -756,11 +768,11 @@ msgstr ""
msgid "image preview"
msgstr ""
#: src/utils/constants.ts:81
#: src/utils/constants.ts:82
msgid "journal entry"
msgstr ""
#: src/utils/constants.ts:83
#: src/utils/constants.ts:84
msgid "photo"
msgstr ""
......
......@@ -288,6 +288,10 @@ msgstr ""
msgid "Logout"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Mobile"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:36
msgid "Mahara Mobile allows you to collect your evidence on your mobile device, including when you are offline. You can then upload your photos, videos, journal entries, etc. to your Mahara instance and add them your portfolios."
msgstr ""
......@@ -305,8 +309,8 @@ msgid "Mahara Mobile is an open source project created by the Mahara Project Tea
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Project"
msgstr ""
#~ msgid "Mahara Project"
#~ msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:27
msgid "Mahara is an open source ePortfolio platform designed for reflecing on what you have learned and for supporting social learning. An ePortfolio is a tool and method to record your evidence of their learning, e.g. essays, artwork, and certificates, and reflect on them to learn from your experiences . You can also engage in conversations with others and create group portfolios."
......@@ -415,7 +419,7 @@ msgstr ""
msgid "Queue to upload"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Re-record"
msgstr ""
......@@ -424,7 +428,7 @@ msgstr ""
msgid "Re-take photo"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Record"
msgstr ""
......@@ -471,11 +475,11 @@ msgstr ""
msgid "Single sign-on"
msgstr ""
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:151
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:160
msgid "Skip"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Stop"
msgstr ""
......@@ -527,7 +531,15 @@ msgid "This is not a Mahara site. Please re-enter URL."
msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
msgid "This version of Mahara Mobile is 21.04.2"
#~ msgid "This version of Mahara Mobile is"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
#~ msgid "This version of Mahara Mobile is 21.04.2"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:8
msgid "This version of Mahara Mobile is {MAHARAVERSION}"
msgstr ""
#: src/components/UploadForm/UploadForm.tsx:224
......@@ -638,7 +650,7 @@ msgstr ""
msgid "Your username or password was incorrect. Please try again."
msgstr ""
#: src/utils/constants.ts:84
#: src/utils/constants.ts:85
msgid "audio"
msgstr ""
......@@ -653,7 +665,7 @@ msgstr ""
msgid "default"
msgstr ""
#: src/utils/constants.ts:82
#: src/utils/constants.ts:83
msgid "file"
msgstr ""
......@@ -665,11 +677,11 @@ msgstr ""
msgid "image preview"
msgstr ""
#: src/utils/constants.ts:81
#: src/utils/constants.ts:82
msgid "journal entry"
msgstr ""
#: src/utils/constants.ts:83
#: src/utils/constants.ts:84
msgid "photo"
msgstr ""
......
......@@ -320,6 +320,10 @@ msgstr "로그인 실패"
msgid "Logout"
msgstr "로그인 실패"
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Mobile"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:36
msgid "Mahara Mobile allows you to collect your evidence on your mobile device, including when you are offline. You can then upload your photos, videos, journal entries, etc. to your Mahara instance and add them your portfolios."
msgstr "Mahara Mobile을 사용하면 모바일 장치에서..."
......@@ -337,8 +341,8 @@ msgid "Mahara Mobile is an open source project created by the Mahara Project Tea
msgstr "Mahara Mobile은 Mahara 프로젝트 팀에서 만든 오픈 소스 프로젝트입니다. 버그에 기여하거나 신고하려면"
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Project"
msgstr "마하라 프로젝트"
#~ msgid "Mahara Project"
#~ msgstr "마하라 프로젝트"
#: src/screens/AboutScreen/AboutScreen.tsx:27
msgid "Mahara is an open source ePortfolio platform designed for reflecing on what you have learned and for supporting social learning. An ePortfolio is a tool and method to record your evidence of their learning, e.g. essays, artwork, and certificates, and reflect on them to learn from your experiences . You can also engage in conversations with others and create group portfolios."
......@@ -447,7 +451,7 @@ msgstr "Mahara Mobile의 목적"
msgid "Queue to upload"
msgstr "업로드 대기열"
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Re-record"
msgstr "다시 녹음"
......@@ -456,7 +460,7 @@ msgstr "다시 녹음"
msgid "Re-take photo"
msgstr "사진을 다시 찍습니다."
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Record"
msgstr "녹음"
......@@ -503,11 +507,11 @@ msgstr "태그 선택..."
msgid "Single sign-on"
msgstr "싱글 사인온"
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:151
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:160
msgid "Skip"
msgstr "로그인 건너 뛰기"
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Stop"
msgstr "녹화 중지"
......@@ -559,8 +563,16 @@ msgid "This is not a Mahara site. Please re-enter URL."
msgstr "이것은 Mahara 사이트가 아닙니다. URL을 다시 입력하십시오."
#: src/screens/VersionScreen/VersionScreen.tsx:7
msgid "This version of Mahara Mobile is 21.04.2"
msgstr "이 Mahara Mobile 버전은 21.04.2입니다."
#~ msgid "This version of Mahara Mobile is"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
#~ msgid "This version of Mahara Mobile is 21.04.2"
#~ msgstr "이 Mahara Mobile 버전은 21.04.2입니다."
#: src/screens/VersionScreen/VersionScreen.tsx:8
msgid "This version of Mahara Mobile is {MAHARAVERSION}"
msgstr ""
#: src/components/UploadForm/UploadForm.tsx:224
msgid "Title"
......@@ -678,7 +690,7 @@ msgstr "업로드 대기열이 비어 있습니다"
msgid "Your username or password was incorrect. Please try again."
msgstr "사용자 이름 또는 암호가 잘못되었습니다. 다시 시도하십시오."
#: src/utils/constants.ts:84
#: src/utils/constants.ts:85
msgid "audio"
msgstr "오디오"
......@@ -693,7 +705,7 @@ msgstr "문의하기"
msgid "default"
msgstr "기본"
#: src/utils/constants.ts:82
#: src/utils/constants.ts:83
msgid "file"
msgstr "파일"
......@@ -705,11 +717,11 @@ msgstr "이 이용 약관의 일부를 구성합니다..."
msgid "image preview"
msgstr "이미지 미리보기"
#: src/utils/constants.ts:81
#: src/utils/constants.ts:82
msgid "journal entry"
msgstr "분개"
#: src/utils/constants.ts:83
#: src/utils/constants.ts:84
msgid "photo"
msgstr "사진"
......
......@@ -348,6 +348,10 @@ msgstr ""
msgid "Logout"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Mobile"
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:34
#~ msgid "Mahara Mobile allows you to collect your evidence on your mobile device and also when you are offline. You can then upload it to Mahara and put into your portfolios."
#~ msgstr ""
......@@ -373,8 +377,8 @@ msgid "Mahara Mobile is an open source project created by the Mahara Project Tea
msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:15
msgid "Mahara Project"
msgstr ""
#~ msgid "Mahara Project"
#~ msgstr ""
#: src/screens/AboutScreen/AboutScreen.tsx:17
#~ msgid "Mahara Project."
......@@ -499,7 +503,7 @@ msgstr ""
msgid "Queue to upload"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Re-record"
msgstr ""
......@@ -508,7 +512,7 @@ msgstr ""
msgid "Re-take photo"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Record"
msgstr ""
......@@ -555,11 +559,11 @@ msgstr ""
msgid "Single sign-on"
msgstr ""
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:151
#: src/screens/SiteCheckScreen/SiteCheckScreen.tsx:160
msgid "Skip"
msgstr ""
#: src/components/AddAudio/AddAudio.tsx:173
#: src/components/AddAudio/AddAudio.tsx:175
msgid "Stop"
msgstr ""
......@@ -615,7 +619,15 @@ msgid "This is not a Mahara site. Please re-enter URL."
msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
msgid "This version of Mahara Mobile is 21.04.2"
#~ msgid "This version of Mahara Mobile is"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:7
#~ msgid "This version of Mahara Mobile is 21.04.2"
#~ msgstr ""
#: src/screens/VersionScreen/VersionScreen.tsx:8
msgid "This version of Mahara Mobile is {MAHARAVERSION}"
msgstr ""
#: src/components/UploadForm/UploadForm.tsx:224
......@@ -758,7 +770,7 @@ msgstr ""
#~ msgid "and we will use all reasonable efforts to remedy the issue."
#~ msgstr ""
#: src/utils/constants.ts:84
#: src/utils/constants.ts:85
msgid "audio"
msgstr ""
......@@ -777,7 +789,7 @@ msgstr ""
msgid "default"
msgstr ""
#: src/utils/constants.ts:82
#: src/utils/constants.ts:83
msgid "file"
msgstr ""
......@@ -789,11 +801,11 @@ msgstr ""
msgid "image preview"
msgstr ""
#: src/utils/constants.ts:81
#: src/utils/constants.ts:82
msgid "journal entry"
msgstr ""
#: src/utils/constants.ts:83
#: src/utils/constants.ts:84
msgid "photo"
msgstr ""
......
{
"name": "mahara-mobile",
"version": "21.10.0",
"version": "21.4.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mahara-mobile",
"version": "21.10.0",
"version": "21.4.3",
"hasInstallScript": true,
"dependencies": {
"@babel/eslint-parser": "^7.13.10",
{
"name": "mahara-mobile",
"version": "21.10.0",
"version": "21.4.3",
"private": true,
"scripts": {
"android": "npx react-native run-android",
......
......@@ -2,11 +2,12 @@ import {t} from '@lingui/macro';
import {List, ListItem} from 'native-base';
import React from 'react';
import MediumText from '../../components/UI/CustomText/MediumText';
import {MAHARAVERSION} from '../../utils/constants';
const VersionScreen = () => (
<List>
<ListItem noBorder>
<MediumText text={t`This version of Mahara Mobile is 21.04.2`} />
<MediumText text={t`This version of Mahara Mobile is ${MAHARAVERSION}`} />
</ListItem>
</List>
);
......
......@@ -8,9 +8,9 @@ import {
UserBlog,
UserFolder
} from '../models/models';
// action types - payloads of information that send data from your application to your store
export const MAHARAVERSION = '21.4.2';
// DOMAIN DATA
// userTagsReducer
export const ADD_USER_TAGS = 'ADD_USER_TAGS';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment