File tree Expand file tree Collapse file tree
audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# This file should be version controlled.
55
66version:
7- revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
7+ revision: 62bd79521d8d007524e351747471ba66696fc2d4
88 channel: stable
99
1010project_type: app
@@ -13,11 +13,26 @@ project_type: app
1313migration:
1414 platforms:
1515 - platform: root
16- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
17- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
16+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
17+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
1818 - platform: android
19- create_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
20- base_revision: ffccd96b62ee8cec7740dab303538c5fc26ac543
19+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
20+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
21+ - platform: ios
22+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
23+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
24+ - platform: linux
25+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
26+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
27+ - platform: macos
28+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
29+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
30+ - platform: web
31+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
32+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
33+ - platform: windows
34+ create_revision: 62bd79521d8d007524e351747471ba66696fc2d4
35+ base_revision: 62bd79521d8d007524e351747471ba66696fc2d4
2136
2237 # User provided section
2338
Original file line number Diff line number Diff line change @@ -290,9 +290,7 @@ class AudioplayersPlugin : FlutterPlugin, IUpdateCallback {
290290 continue
291291 }
292292 isAnyPlaying = true
293- val duration = player.getDuration()
294293 val time = player.getCurrentPosition()
295- player.eventHandler.success(" audio.onDuration" , hashMapOf(" value" to (duration ? : 0 )))
296294 player.eventHandler.success(" audio.onCurrentPosition" , hashMapOf(" value" to (time ? : 0 )))
297295 }
298296 if (isAnyPlaying) {
You can’t perform that action at this time.
0 commit comments