Skip to content

Commit 62cce43

Browse files
authored
Bump version and fix problems (bluefireteam#814)
1 parent 6452462 commit 62cce43

File tree

7 files changed

+15
-12
lines changed

7 files changed

+15
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [next]
44

5+
## 0.18.1
6+
- Fix kotlin config issue for some apps
7+
- Fix warning from pub
8+
- Fix iOS lock screen
9+
- Fix setUrl method
10+
511
## 0.18.0
612
- Stable null-safety release
713
- Removed all the `@deprecated` code blocks

android/src/main/kotlin/xyz/luan/audioplayers/WrappedMediaPlayer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class WrappedMediaPlayer internal constructor(
3030
/**
3131
* Setter methods
3232
*/
33-
if (this.url != url) {
3433
override fun setUrl(url: String, isLocal: Boolean) {
34+
if (this.url != url) {
3535
this.url = url
3636
val player = getOrCreatePlayer()
3737
player.setDataSource(url)

android/src/main/kotlin/xyz/luan/audioplayers/WrappedSoundPool.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class WrappedSoundPool internal constructor(override val playerId: String) : Pla
119119
throw unsupportedOperation("setDataSource")
120120
}
121121

122-
override fun setUrl(url: String?, isLocal: Boolean) {
122+
override fun setUrl(url: String, isLocal: Boolean) {
123123
if (this.url != null && this.url == url) {
124124
return
125125
}

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.0'
9+
classpath 'com.android.tools.build:gradle:4.1.3'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ SPEC CHECKSUMS:
2525

2626
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
2727

28-
COCOAPODS: 1.9.3
28+
COCOAPODS: 1.10.1

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,12 @@
217217
buildActionMask = 2147483647;
218218
files = (
219219
);
220-
inputPaths = (
221-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
222-
"${BUILT_PRODUCTS_DIR}/audioplayers/audioplayers.framework",
223-
"${BUILT_PRODUCTS_DIR}/path_provider/path_provider.framework",
220+
inputFileListPaths = (
221+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
224222
);
225223
name = "[CP] Embed Pods Frameworks";
226-
outputPaths = (
227-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/audioplayers.framework",
228-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider.framework",
224+
outputFileListPaths = (
225+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
229226
);
230227
runOnlyForDeploymentPostprocessing = 0;
231228
shellPath = /bin/sh;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: audioplayers
22
description: A Flutter plugin to play multiple audio files simultaneously
3-
version: 0.18.0
3+
version: 0.18.1
44
homepage: https://github.com/luanpotter/audioplayers
55

66
flutter:

0 commit comments

Comments
 (0)