diff --git a/jenkins/multi-branch-ci.groovy b/jenkins/multi-branch-ci.groovy index ed727a0..2b726cb 100644 --- a/jenkins/multi-branch-ci.groovy +++ b/jenkins/multi-branch-ci.groovy @@ -53,7 +53,7 @@ pipeline { script { SENTRY_RELEASE = 'flutter-app-ci-' + getCurrentBranch() + '-' + getCommitSha() } - sh('flutter build web --web-renderer html') + sh('flutter build web --no-web-resources-cdn') } } stage('Prepare artifacts') { diff --git a/lib/feature/releaseNotes/repository/release_notes_repository.dart b/lib/feature/releaseNotes/repository/release_notes_repository.dart index ab58313..6504f72 100644 --- a/lib/feature/releaseNotes/repository/release_notes_repository.dart +++ b/lib/feature/releaseNotes/repository/release_notes_repository.dart @@ -6,6 +6,31 @@ import 'package:tesla_android/feature/releaseNotes/model/version.dart'; @injectable class ReleaseNotesRepository { static const ReleaseNotes _releaseNotes = ReleaseNotes(versions: [ + Version( + versionName: "2024.26.1", + changelogItems: [ + ChangelogItem( + title: "Virtual display", + shortDescription: "Performance improvements", + descriptionMarkdown: "This version iterates on Virtual Display improvements from 2024.24.1", + ), + ChangelogItem( + title: "Browser audio", + shortDescription: "Bugfixes", + descriptionMarkdown: "Playback performance should be improved in this build.", + ), + ChangelogItem( + title: "Flutter App", + shortDescription: "Performance improvements", + descriptionMarkdown: "CanvasKit is now used to render the UI, resulting in better scrolling performance in Tesla Android Settings.", + ), + ChangelogItem( + title: "Android Platform", + shortDescription: "Security improvements", + descriptionMarkdown: "Android Platform has been updated and it now includes latest security patches (05.06.2024). Kernel has also been updated to 6.1.84.", + ), + ], + ), Version( versionName: "2024.24.1", changelogItems: [ diff --git a/pubspec.yaml b/pubspec.yaml index 9784a8a..5261fa2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Tesla Android publish_to: 'none' -version: 2024.24.1 +version: 2024.26.1 environment: flutter: "3.22.0" @@ -30,8 +30,8 @@ dependencies: equatable: ^2.0.0 web_socket_client: ^0.1.0-dev.3 web: ^0.5.1 - json_annotation: any + dev_dependencies: flutter_test: sdk: flutter diff --git a/web/index.html b/web/index.html index 297062c..67f8b30 100644 --- a/web/index.html +++ b/web/index.html @@ -96,7 +96,10 @@ _flutter.loader.load({ onEntrypointLoaded: async function(engineInitializer) { - const appRunner = await engineInitializer.initializeEngine(); + const appRunner = await engineInitializer.initializeEngine({ + renderer: "canvaskit", + canvasKitBaseUrl: "/canvaskit/", + }); window.setTimeout(function () { loading.remove();