Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions android-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@
.externalNativeBuild
.cxx
local.properties
release/
debug/
12 changes: 10 additions & 2 deletions android-app/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Instruction on how to run the android app

## Build the project locally
## Build the project locally

1) Download the latest Android Studio: https://developer.android.com/studio
2) Clone the project and open current folder in the Android Studio
3) Click the `Run` button to automatically build the debug version and launch it on the emulator device
3) Click the `Run` button to automatically build the debug version and launch it on the emulator device

## Download and install the app on your android device (supports android 8+)

1) If you have previously installed the app, delete it completely from the device
2) Locate the folder `/app/release` or `/app/debug`. In the `release` folder you will find the release
build (that is minified and have logs turned off). In the `debug` folder you will find the debug build (that is not minified and has logs enabled)
3) Download the chosen `apk` file and install it
4) Launch the app
Binary file added android-app/app/debug/app-debug.apk
Binary file not shown.
21 changes: 21 additions & 0 deletions android-app/app/debug/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "ru.fluentlyapp.fluently",
"variantName": "debug",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-debug.apk"
}
],
"elementType": "File",
"minSdkVersionForDexing": 26
}
Binary file added android-app/app/release/app-release.apk
Binary file not shown.
Binary file not shown.
Binary file not shown.
37 changes: 37 additions & 0 deletions android-app/app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "ru.fluentlyapp.fluently",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File",
"baselineProfiles": [
{
"minApi": 28,
"maxApi": 30,
"baselineProfiles": [
"baselineProfiles/1/app-release.dm"
]
},
{
"minApi": 31,
"maxApi": 2147483647,
"baselineProfiles": [
"baselineProfiles/0/app-release.dm"
]
}
],
"minSdkVersionForDexing": 26
}
26 changes: 26 additions & 0 deletions web-extension/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"manifest_version": 3,
"name": "Fluently Word Learner",
"version": "1.0.0",
"description": "Add words to your Fluently learning list",
"permissions": [
"storage",
"activeTab"
],
"host_permissions": [
"https://fluently-app.ru/*"
],
"action": {
"default_popup": "popup.html",
"default_title": "Fluently Word Learner"
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": ["https://fluently-app.ru/auth-success.html*"],
"js": ["content.js", "popup.js", "background.js"]
}
]
}