Skip to content

Commit

Permalink
Update targetSdkVersion (#154)
Browse files Browse the repository at this point in the history
* Update targetSdkVersion
https://support.google.com/googleplay/android-developer/answer/11926878?hl=en

* Update pubspec and changelog

Co-authored-by: Abestanis <[email protected]>

---------

Co-authored-by: Abestanis <[email protected]>
  • Loading branch information
nt4f04uNd and Abestanis authored Aug 31, 2024
1 parent 86ca448 commit fa2a425
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 8 deletions.
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,38 @@
[@Abestanis]: https://github.com/Abestanis
[@ernince]: https://github.com/ernince

## 1.0.12

* Update targetSdkVersion to 34 to match new [Google Play store API level requirements](https://support.google.com/googleplay/android-developer/answer/11926878?hl=en) @nt4f04und

## 1.0.11

* Fix Fastlane CD by @nt4f04uNd in https://github.com/nt4f04uNd/sweyer/pull/118
* Upload symbols to Crashlytics on CD step by @nt4f04uNd in https://github.com/nt4f04uNd/sweyer/pull/125
* Fix firstYear crash by @nt4f04uNd in https://github.com/nt4f04uNd/sweyer/pull/124


**Full Changelog**: https://github.com/nt4f04uNd/sweyer/compare/1.0.10...1.0.11

## 1.0.10

- [Added Turkish language support](https://github.com/nt4f04uNd/sweyer/pull/86) **([@ernince])**
First release generated by Fastlane CD!

* Added Turkish translation by @eren-ince in https://github.com/nt4f04uNd/sweyer/pull/86
* Add privacy policy link to README by @nt4f04uNd in https://github.com/nt4f04uNd/sweyer/pull/93
* Move the native Android code of Sweyer into a plugin by @Abestanis in https://github.com/nt4f04uNd/sweyer/pull/85
* Update Flutter and dependencies by @Abestanis in https://github.com/nt4f04uNd/sweyer/pull/89
* Fix settings button visible on insertion settings page by @Abestanis in https://github.com/nt4f04uNd/sweyer/pull/90
* Support Material You monochrome app icon by @nt4f04uNd in https://github.com/nt4f04uNd/sweyer/pull/115
* Decide whether to show scroll labels based on drag position by @Abestanis in https://github.com/nt4f04uNd/sweyer/pull/91
* Improve startup robustness by @Abestanis in https://github.com/nt4f04uNd/sweyer/pull/95
* Convert Java to Kotlin by @Abestanis in https://github.com/nt4f04uNd/sweyer/pull/94
* Fastlane CD (init) by @nt4f04uNd in https://github.com/nt4f04uNd/sweyer/pull/117

### New Contributors
* @eren-ince made their first contribution in https://github.com/nt4f04uNd/sweyer/pull/86

**Full Changelog**: https://github.com/nt4f04uNd/sweyer/compare/1.0.9...1.0.10

## 1.0.9

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if (keystorePropertiesFile.exists()) {
}

android {
compileSdkVersion 33 // flutter.compileSdkVersion
compileSdkVersion 34 // flutter.compileSdkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -52,7 +52,7 @@ android {
defaultConfig {
applicationId "com.nt4f04und.sweyer"
minSdkVersion Math.max(21, flutter.minSdkVersion)
targetSdkVersion 33 // flutter.targetSdkVersion
targetSdkVersion 34 // flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<!-- Needed to stay awake feature in MediaPlayer -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<application
android:label="Sweyer"
android:name="${applicationName}"
Expand Down Expand Up @@ -55,6 +56,7 @@
android:value="2" />

<service android:name="com.ryanheise.audioservice.AudioService"
android:foregroundServiceType="mediaPlayback"
android:exported="true">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService" />
Expand Down
6 changes: 3 additions & 3 deletions pubspec.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ homepage: https://github.com/nt4f04uNd/sweyer
repository: https://github.com/nt4f04uNd/sweyer
issue_tracker: https://github.com/nt4f04uNd/sweyer/issues
publish_to: none
version: 1.0.11+14
version: 1.0.12+15

environment:
sdk: '>=2.17.0 <3.0.0'
Expand Down
2 changes: 1 addition & 1 deletion sweyer_plugin/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 31
compileSdkVersion 34

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit fa2a425

Please sign in to comment.