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
5 changes: 1 addition & 4 deletions .github/workflows/fastlane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: Android app - Fastlane metadata check

on:
push:
branches: [ devel ]
pull_request:
push:
branches: [ main ]

jobs:
fastlane:
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: PHP_CodeSniffer

on:
push:
branches: [ devel ]
pull_request:
push:
branches: [ main ]

jobs:
phpcs:
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test-database-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: Database update tests

on:
push:
branches: [ devel ]
pull_request:
push:
branches: [ main ]

jobs:
test-database-update:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ android {
applicationId "app.motionui.android"
minSdk 30
targetSdk 34
versionCode 100
versionName "1.0.0"
versionCode 101
versionName "1.0.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import android.widget.Toast;
import android.app.DownloadManager;
import android.content.Intent;
import android.content.ActivityNotFoundException;
import android.content.pm.PackageManager;
import android.content.res.Configuration;
import android.net.Uri;
Expand Down Expand Up @@ -200,7 +201,11 @@ public boolean shouldOverrideUrlLoading(WebView view, WebResourceRequest request
*/
} else {
Intent intent = new Intent(Intent.ACTION_VIEW, request.getUrl());
startActivity(intent);
try {
startActivity(intent);
} catch (ActivityNotFoundException e) {
Toast.makeText(view.getContext(), "No app found to open this link", Toast.LENGTH_SHORT).show();
}
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion www/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.11.1
6.11.2
Loading