Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major UI refactor #1

Merged
merged 72 commits into from
Apr 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
1f0feaa
initial mapbox refactor
p0x6 Apr 2, 2020
e808902
first views and components reusable and responsive
penchochris Apr 2, 2020
2262d21
include user location point on mapbox map
p0x6 Apr 2, 2020
e0fd6e5
new styles
penchochris Apr 3, 2020
982ac4a
added permission and overlap.
penchochris Apr 3, 2020
708665b
More pages
penchochris Apr 3, 2020
42f31eb
fix fonts
p0x6 Apr 3, 2020
4081c7e
change private kit to Spaced
p0x6 Apr 3, 2020
ef81490
fix border
penchochris Apr 3, 2020
4393588
buttons position
penchochris Apr 3, 2020
79a4e9d
full screen maps background
AnilNakum Apr 3, 2020
ac7adcf
merge UI refactors
p0x6 Apr 3, 2020
72e18ac
Titles fix
penchochris Apr 3, 2020
b0c3996
refactor main page to functional component
p0x6 Apr 3, 2020
19f4888
fix merge conflicts
p0x6 Apr 3, 2020
47c99c5
refactor LocationTracking to be the main screen, move most local stat…
p0x6 Apr 4, 2020
5fce727
fix typos in fonts
p0x6 Apr 4, 2020
bfb23e2
refactor initial map center to use getCurrentLocation
p0x6 Apr 4, 2020
244b5a6
add text around stop logging app
p0x6 Apr 4, 2020
24203c2
add jetifier as dev dep
p0x6 Apr 4, 2020
8c46b52
fix intro enable location
p0x6 Apr 4, 2020
bf6b98f
Change in location close Icon and set srtyle of location list
AnilNakum Apr 4, 2020
31c19ea
change intro pages
p0x6 Apr 4, 2020
5800662
change naming of screens
p0x6 Apr 4, 2020
47a55a5
initial implementation of places
p0x6 Apr 4, 2020
f30ee56
fixes intro screen fixes
penchochris Apr 4, 2020
740fd2f
clean up mapview and search addres
p0x6 Apr 4, 2020
9b0abae
change from react-native-dotenv to react-native-config
p0x6 Apr 5, 2020
8b39d18
remove release signing, will be done on app center
p0x6 Apr 5, 2020
3fc5017
fix typo
p0x6 Apr 5, 2020
17ccf38
ios project changes
p0x6 Apr 5, 2020
7f2ae97
config
Apr 5, 2020
3013793
help & information panel on main screen
p0x6 Apr 5, 2020
3c1972e
Merge branch 'ui-refactor' of https://github.com/p0x6/private-kit int…
Apr 6, 2020
e9f4c8b
base modal for blacklist and activity log
p0x6 Apr 6, 2020
3b1fcf2
initial activity log
p0x6 Apr 6, 2020
9e11ec6
Merge branch 'ui-refactor' of github.com:p0x6/private-kit into ui-ref…
AnilNakum Apr 6, 2020
1d900f9
Bug solve(Close button on search view)
AnilNakum Apr 6, 2020
cd0140e
blacklist component and page
Apr 6, 2020
0bea6fb
location service
Apr 6, 2020
9bd8dc3
Merge branch 'ui-refactor' of https://github.com/p0x6/private-kit int…
Apr 6, 2020
ed285de
merge with branch
p0x6 Apr 6, 2020
2eaf9fb
blacklistmodal
Apr 6, 2020
7102b79
fix conflict
Apr 6, 2020
53c1441
use searchedResult vs predictions
p0x6 Apr 6, 2020
9533887
fix search style and exiting
p0x6 Apr 6, 2020
07f9c2d
fix search elevation
p0x6 Apr 6, 2020
b1aae02
save the result when a modal close
Apr 6, 2020
5091316
Merge branch 'ui-refactor' of https://github.com/p0x6/private-kit int…
Apr 6, 2020
b85b943
breakout bottom panel and modals
p0x6 Apr 6, 2020
002cc7f
remove unused imports
p0x6 Apr 6, 2020
72e14e8
fix Blacklist address banning
p0x6 Apr 6, 2020
61cc779
set values when removing home / work blacklist
p0x6 Apr 6, 2020
ea22615
activity log modal
Apr 6, 2020
be29237
fix conflict
Apr 6, 2020
54b4293
activity log edits + move to own component
p0x6 Apr 6, 2020
151b393
add sample data for interactions for now until there's actual data
p0x6 Apr 6, 2020
a36d95a
android text input issue
Apr 7, 2020
7886a7a
Merge branch 'ui-refactor' of https://github.com/p0x6/private-kit int…
Apr 7, 2020
1a62894
search input bar issue
Apr 7, 2020
9885941
placeholder text of search, move around code order
p0x6 Apr 7, 2020
0dfc841
clean up unused pages
p0x6 Apr 7, 2020
f6a2e8f
change navigate after enabling location
p0x6 Apr 7, 2020
0db167b
remove safeareaview from onboarding
p0x6 Apr 7, 2020
1afc263
change the font
p0x6 Apr 7, 2020
f2d4365
onboarding page
Apr 7, 2020
f390ad3
Merge branch 'ui-refactor' of https://github.com/p0x6/private-kit int…
Apr 7, 2020
927d54c
fix going to home screen without location enabled
p0x6 Apr 7, 2020
dcb0154
remove constants, fix infinite rerendering
p0x6 Apr 7, 2020
ee5b517
merge in develop
p0x6 Apr 7, 2020
b06e391
input box issue
Apr 7, 2020
032779b
fix podfile
p0x6 Apr 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 3 additions & 19 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: "com.android.application"
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"

import com.android.build.OutputFile

Expand Down Expand Up @@ -150,30 +151,11 @@ android {
keyAlias 'androiddebugkey'
keyPassword 'android'
}
release {
if (project.hasProperty('PRIVATEKIT_RELEASE_STORE_FILE')) {
project.logger.lifecycle('Signing app with ' + PRIVATEKIT_RELEASE_STORE_FILE)
storeFile file(PRIVATEKIT_RELEASE_STORE_FILE)
storePassword PRIVATEKIT_RELEASE_STORE_PASSWORD
keyAlias PRIVATEKIT_RELEASE_KEY_ALIAS
keyPassword PRIVATEKIT_RELEASE_KEY_PASSWORD
} else {
project.logger.lifecycle('Could not find release key')
}
}

}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
// Caution! In production, you need to generate your own keystore file.
// see https://facebook.github.io/react-native/docs/signed-apk-android.
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
Expand All @@ -192,7 +174,9 @@ android {
}

dependencies {
implementation project(':react-native-config')
implementation project(':react-native-webview')
implementation project(':@react-native-mapbox-gl_maps')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "androidx.annotation:annotation:1.1.0"
Expand Down
Binary file added android/app/src/main/assets/fonts/DMSans-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,560 changes: 1,560 additions & 0 deletions android/app/src/main/assets/index.android.bundle

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
import com.reactnativecommunity.webview.RNCWebViewPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import com.mapbox.rctmgl.RCTMGLPackage;
import com.microsoft.codepush.react.CodePush;

public class MainApplication extends Application implements ReactApplication {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions android/app/src/main/res/raw/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Spaced",
"displayName": "Spaced"
}
6 changes: 6 additions & 0 deletions android/app/src/main/res/raw/app_assets_license.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"licenses": [{
"name": "Spaced",
"text": "MIT License\n\nCopyright (c) 2020 YANG, LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
}]
}
11 changes: 11 additions & 0 deletions android/app/src/main/res/raw/app_locales_ca_exportscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"export_para_1":"Pots compartir el teu historial de localitzacions amb el botó Compartir. Un cop hagis fet clic, tu decideixes amb qui i com vols compartir aquesta informació.",
"export_para_2":"El teu historial de localitzacions es compartirà com una llista de coordenades geogràfiques amb un temps associat, sense enviar mai cap data personal.",
"share":"COMPARTIR",
"data_hint":"Tens informació acumulada de",
"data_covers":"Temps total enregistrat:",
"data_count":"Número de punts enregistrats:",
"data_last_updated":"Temps desde l'última actualització:",
"no_data": "No hi ha dades",
"less_than_one_minute": "menys de 1 minut"
}
5 changes: 5 additions & 0 deletions android/app/src/main/res/raw/app_locales_ca_import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"import_title":"Importar localitzacions",
"import_step_1":"1. Inicia sessió al teu compte de Google i descarrega el teu historial de localitzacions",
"import_step_2":"2. Un cop hagis descarregat, torna a obrir aquesta finestra. La app importarà les teves dades de manera automàtica."
}
14 changes: 14 additions & 0 deletions android/app/src/main/res/raw/app_locales_ca_intro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"private_kit":"Private Kit",
"intro1_para1":"Disenyada prioritzant la seguretat i la privacitat de les teves dades, la app Private Kit del MIT enregistra el teu historial de localitzacions de forma segura.",
"next":"SEGÜENT",
"back":"ENRERE",
"start":"INICI",
"intro2_title1":"Menys de 100KB",
"intro2_para1":"Private Kit enregistra el teu historial de localitzacions i el transforma en un arxiu de menys de 100KB (menys espai que una foto).",
"intro2_title2":"Compartir la informació depèn de tu",
"intro2_para2": "La teva informació mai surt del telèfon sense el teu consentiment",
"intro3_title1":"El futur",
"intro3_para1": "Pensada per resoldre els problemes d’avui i demà, permet als usuaris enregistrar el seu recorregut oferint així noves oportunitats per als que investiguen la evolució de epidèmies, els moviments de refugiats i l’anàlisi de tràfic de les nostres comunitats.",
"intro3_para2":"Descobreix més a http://privatekit.mit.edu/"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"license_placeholder": "App desenvolupada sota llicència del del MIT."
}
13 changes: 13 additions & 0 deletions android/app/src/main/res/raw/app_locales_ca_locationtracking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"start_logging":"INICIAR REGISTRE",
"stop_logging":"PARAR REGISTRE",
"logging_message":"La app actualment esta fent un registre de la teva localització cada 5 minuts. El teu registre NO surt del teu telèfon.",
"not_logging_message":"AVÍS: Després de fer click en este botó, es possible que la app et demani que permetis l’accés a la teva localització.",
"import":"Importar",
"export":"Exportar",
"news":"Notícies",
"latest_news":"Últimes notícies",
"url_info":"Per més informació visita la pàgina de inici de la web de Private Kit:",
"private_kit_url":"privatekit.mit.edu",
"overlap": "Comprovar la teva intersecció"
}
8 changes: 8 additions & 0 deletions android/app/src/main/res/raw/app_locales_ca_notification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"notification_main_text": "Comprova la teva intersecció diàriament",
"notification_title": "Analitza la teva intersecció",
"notification_data_not_available": "\n\nNo tens informació pública per analitzar la intersecció descarregada!\n\n",
"notification_warning_text": "Pots fer click al següent botó per generar una simulació de intersecció. \nAVÍS: Aquesta intersecció no es basa en casos reals, és una simulació",
"notification_random_data_button": "Fes click en aquest botó per generar una simulació",
"notifications":"Notificacions"
}
10 changes: 10 additions & 0 deletions android/app/src/main/res/raw/app_locales_ca_overlap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overlap_title": "Comprovar la teva intersecció",
"overlap_para_1": "El registre de color vert representa el teu historial de localitzacions\n\nEls cercles de color morat clar representen la informació pública actual",
"show_overlap": "Fes click per veure la informació pública disponible",
"loading_public_data": "carregant dades...",
"overlap_no_results_button_label": "Informació pública incorporada",
"overlap_found_button_label": "Informació pública incorporada",
"nCoV2019_url_info": "Per obtenir més informació sobre les dades darrere d'aquest mapa",
"nCoV2019_url": "github.com/beoutbreakprepared/nCoV2019"
}
11 changes: 11 additions & 0 deletions android/app/src/main/res/raw/app_locales_cs_exportscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"export_para_1":"Pomocí tlačítka Sdílet můžete sdílet svou trasu s kýmkoli. Jakmile tlačítko stisknete, aplikace se vás zeptá, s kým a jak ji chcete sdílet.",
"export_para_2":"Poloha je sdílena jako jednoduchý seznam časů a souřadnic, žádné další identifikační údaje.",
"share":"SDÍLET",
"data_hint":"Záznam obsahuje data",
"data_covers":"Celkový čas, který záznam obsahuje:",
"data_count":"Počet zaznamenaných bodů:",
"data_last_updated":"Čas od poslední aktualizace:",
"no_data": "Žádná data",
"less_than_one_minute": "méně než 1 minuta"
}
5 changes: 5 additions & 0 deletions android/app/src/main/res/raw/app_locales_cs_import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"import_title":"Import poloh",
"import_step_1":"1. Přihlaste se ke svému účtu Google a stáhněte svou historii poloh",
"import_step_2":"2. Po stažení tuto obrazovku znovu otevřete. Data se importují automaticky."
}
14 changes: 14 additions & 0 deletions android/app/src/main/res/raw/app_locales_cs_intro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"private_kit":"Private Kit",
"intro1_para1":"Navrženo s důrazem na zabezpečení dat a ochranu soukromí, MIT Private Kit je další generací zabezpečeného záznamu polohy.",
"next":"DALŠÍ",
"back":"ZPĚT",
"start":"START",
"intro2_title1":"Méně než 100 KB",
"intro2_para1":"Private Kit zaznamenává data o poloze vašeho zařízení do 100 KB prostoru, zabírá tedy méně místa než jeden obrázek.",
"intro2_title2":"Je to na vás",
"intro2_para2": "Data nikdy neopustí vaše zařízení bez vašeho souhlasu",
"intro3_title1":"Budoucnost",
"intro3_para1": "Umožňuje jednotlivcům zaznamenávat jejich trasu a tak představuje další krok v řešení dnešních a zítřejších problémů a nabízí vědcům studujícím pandemické sledování, migraci uprchlíků a analýzu komunitního provozu nové příležitosti.",
"intro3_para2":"Další informace http://privatekit.mit.edu/"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"license_placeholder": "Tato aplikace je vytvořena na základě MIT licence."
}
13 changes: 13 additions & 0 deletions android/app/src/main/res/raw/app_locales_cs_locationtracking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"start_logging":"START ZÁZNAMU",
"stop_logging":"STOP ZÁZNAMU",
"logging_message":"Aktuálně se každých pět minut zaznamenává vaše poloha. Informace o poloze neopouštějí váš telefon.",
"not_logging_message":"POZNÁMKA: Po kliknutí na toto tlačítko můžete být vyzváni k udělení oprávnění pro Private Kit k vaší poloze.",
"import":"Import",
"export":"Export",
"news":"Novinky",
"latest_news":"Poslední novinky",
"url_info":"Pro více informací navštivte domovskou stránku Private Kit:",
"private_kit_url":"privatekit.mit.edu",
"overlap": "KONTROLA PŘEKRYTÍ"
}
8 changes: 8 additions & 0 deletions android/app/src/main/res/raw/app_locales_cs_notification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"notification_main_text": "Zkontrolujte své průsečíky každý den",
"notification_title": "Analyzujte své průsečíky",
"notification_data_not_available": "\n\nNemáte žádné stažené trasy!\n\n",
"notification_warning_text": "Stisknutím následujícího tlačítka můžete vygenerovat náhodné průsečíky.\nVAROVÁNÍ: Jedná se o simulované průsečíky, které nejsou skutečné",
"notification_random_data_button": "Stisknutím tohoto tlačítka vygenerujete náhodná data",
"notifications":"Oznámení"
}
10 changes: 10 additions & 0 deletions android/app/src/main/res/raw/app_locales_cs_overlap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overlap_title": "Kontrola překrytí",
"overlap_para_1": "Zelená trasa představuje historii vaši polohy\n\nSvětle fialové kruhy představují veřejná data",
"show_overlap": "Kontrola veřejných dat",
"loading_public_data": "načítání dat ...",
"overlap_no_results_button_label": "Veřejná data byla načtena",
"overlap_found_button_label": "Veřejná data byla načtena",
"nCoV2019_url_info": "Další informace o datovém souboru této mapy",
"nCoV2019_url": "github.com/beoutbreakprepared/nCoV2019"
}
11 changes: 11 additions & 0 deletions android/app/src/main/res/raw/app_locales_de_exportscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"export_para_1":"You can share your location trail with anyone using the Share button below. Once you press the button it will ask you with whom and how you want to share it.",
"export_para_2":"Location is shared as a simple list of times and coordinates, no other identifying information.",
"share":"SHARE",
"data_hint":"Log has data of",
"data_covers":"Total time the log covers:",
"data_count":"Number of points logged:",
"data_last_updated":"Time since last updated:",
"no_data": "No data",
"less_than_one_minute": "less than 1 minute"
}
5 changes: 5 additions & 0 deletions android/app/src/main/res/raw/app_locales_de_import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"import_title":"Import Locations",
"import_step_1":"1. Login to your Google Account and Download your Location History",
"import_step_2":"2. After downloaded, open this screen again. The data will import automatically."
}
14 changes: 14 additions & 0 deletions android/app/src/main/res/raw/app_locales_de_intro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"private_kit":"Private Kit",
"intro1_para1":"Designed with data security and privacy protection at its heart, MIT Private Kit is the next generation of secure location logging.",
"next":"NEXT",
"back":"BACK",
"start":"START",
"intro2_title1":"Less than 100KB",
"intro2_para1":"Private Kit’s trail generator logs your device’s location data in under 100KB of space – less space than a single picture.",
"intro2_title2":"You are in charge",
"intro2_para2":"Data Never Leaves Your Device Without Your Consent",
"intro3_title1":"The Future",
"intro3_para1":"The Next Step in Solving Today and Tomorrow’s Problems Enabling individuals to log their location trail offers new opportunities for researchers studying pandemic tracking, refugee migration, and community traffic analysis.",
"intro3_para2":"Learn More http://privatekit.mit.edu/"
}
12 changes: 12 additions & 0 deletions android/app/src/main/res/raw/app_locales_de_locationtracking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"start_logging":"START LOGGING",
"stop_logging":"STOP LOGGING",
"logging_message":"It is currently logging your location privately every five minutes. Your location information will NOT leave your phone.",
"not_logging_message":"NOTE: After clicking this button you may be prompted to grant Private Kit access to your location.",
"import":"Import",
"export":"Export",
"news":"news",
"latest_news":"Latest News",
"url_info":"For more information visit the Private Kit hompage:",
"private_kit_url":"privatekit.mit.edu"
}
11 changes: 11 additions & 0 deletions android/app/src/main/res/raw/app_locales_en_exportscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"export_para_1":"You can share your location trail with anyone using the Share button below. Once you press the button it will ask you with whom and how you want to share it.",
"export_para_2":"Location is shared as a simple list of times and coordinates, no other identifying information.",
"share":"SHARE",
"data_hint":"Log has data of",
"data_covers":"Total time the log covers:",
"data_count":"Number of points logged:",
"data_last_updated":"Time since last updated:",
"no_data": "No data",
"less_than_one_minute": "less than 1 minute"
}
5 changes: 5 additions & 0 deletions android/app/src/main/res/raw/app_locales_en_import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"import_title":"Import Locations",
"import_step_1":"1. Login to your Google Account and Download your Location History",
"import_step_2":"2. After downloaded, open this screen again. The data will import automatically."
}
14 changes: 14 additions & 0 deletions android/app/src/main/res/raw/app_locales_en_intro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"private_kit":"Private Kit",
"intro1_para1":"Designed with data security and privacy protection at its heart, MIT Private Kit is the next generation of secure location logging.",
"next":"NEXT",
"back":"BACK",
"start":"START",
"intro2_title1":"Less than 100KB",
"intro2_para1":"Private Kit’s trail generator logs your device’s location data in under 100KB of space – less space than a single picture.",
"intro2_title2":"You are in charge",
"intro2_para2": "Data Never Leaves Your Device Without Your Consent",
"intro3_title1":"The Future",
"intro3_para1": "The Next Step in Solving Today's and Tomorrow’s Problems Enabling individuals to log their location trail offers new opportunities for researchers studying pandemic tracking, refugee migration, and community traffic analysis.",
"intro3_para2":"Learn More http://privatekit.mit.edu/"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"license_placeholder": "This app is built under the MIT license."
}
13 changes: 13 additions & 0 deletions android/app/src/main/res/raw/app_locales_en_locationtracking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"start_logging":"START LOGGING",
"stop_logging":"STOP LOGGING",
"logging_message":"It is currently logging your location privately every five minutes. Your location information will NOT leave your phone.",
"not_logging_message":"NOTE: After clicking this button you may be prompted to grant Private Kit access to your location.",
"import":"Import",
"export":"Export",
"news":"News",
"latest_news":"Latest News",
"url_info":"Learn more about the underlying technology:",
"private_kit_url":"privatekit.mit.edu",
"overlap": "CHECK OVERLAP"
}
8 changes: 8 additions & 0 deletions android/app/src/main/res/raw/app_locales_en_notification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"notification_main_text": "Check your Intersection day wise",
"notification_title": "Analyze your intersection",
"notification_data_not_available": "\n\nYou do not have any trails downloaded!\n\n",
"notification_warning_text": "You can press the following button to generate random intersections.\nWARNING: These are simulated intersections not real",
"notification_random_data_button": "Press this button to generate random data",
"notifications":"Notifications"
}
10 changes: 10 additions & 0 deletions android/app/src/main/res/raw/app_locales_en_overlap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overlap_title": "Check Overlap",
"overlap_para_1": "The green trail represents your location history\n\nThe light purple circles represent the public dataset",
"show_overlap": "Click to view the public dataset",
"loading_public_data": "loading data...",
"overlap_no_results_button_label": "Public Data Loaded",
"overlap_found_button_label": "Public Data Loaded",
"nCoV2019_url_info": "For more information on the dataset for this map",
"nCoV2019_url": "github.com/beoutbreakprepared/nCoV2019"
}
11 changes: 11 additions & 0 deletions android/app/src/main/res/raw/app_locales_es_exportscreen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"export_para_1":"Puedes compartir tu historial de ubicaciones usando el botón Compartir. Una vez hayas pulsado, tú decides con quién y cómo quieres compartir esta información",
"export_para_2":"Tu historial de ubicaciones se compartirá como una lista de coordenadas en el tiempo, sin revelar ningún dato personal",
"share":"COMPARTIR",
"data_hint":"Tienes información acumulada de",
"data_covers":"Tiempo total registrado:",
"data_count":"Número de puntos registrados:",
"data_last_updated":"Tiempo desde la última actualizazión:",
"no_data": "No data",
"less_than_one_minute": "less than 1 minute"
}
5 changes: 5 additions & 0 deletions android/app/src/main/res/raw/app_locales_es_import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"import_title":"Importar ubicaciones",
"import_step_1":"1. Inicia sesión en tu cuenta de Google y descarga tu historial de ubicaciones",
"import_step_2":"2. Después de la descarga, vuelve a abrir esta ventana. Tus datos se importarán de forma automática"
}
14 changes: 14 additions & 0 deletions android/app/src/main/res/raw/app_locales_es_intro.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"private_kit":"Private Kit",
"intro1_para1":"Diseñada para dar máxima prioridad a la seguridad y privacidad de tus datos, el Private Kit del MIT utiliza tecnología punta para elaborar tu historial de ubicaciones de forma segura.",
"next":"SIGUIENTE",
"back":"ATRÁS",
"start":"INICIA",
"intro2_title1":"Menos de 100KB",
"intro2_para1":"Private Kit recopila datos sobre tu historial de ubicaciones y lo convierte en un archivo con menos de 100KB de memoria – ocupa menos memoria que una foto.",
"intro2_title2":"Compartir información depende de ti",
"intro2_para2": "Tu información nunca saldrá de tu dispositivo sin tu consentimiento",
"intro3_title1":"El futuro",
"intro3_para1": "Pensada para resolver los problemas de hoy y mañana permitiendo a los usuarios registrar su recorrido, ofrece nuevas oportunidades para investigadores que estudien la evolución de las epidemias, los movimientos de refugiados, y el análisis de tráfico de nuestras comunidades.",
"intro3_para2":"Descubre más en http://privatekit.mit.edu/"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"license_placeholder": "App desarrollada bajo la licencia del MIT."
}
Loading