[TIMOB-27383] iOS: Volume event is not firing on SDK 8.1.1.GA
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-10-04T13:05:44.000+0000 |
| Affected Version/s | Release 8.1.1 |
| Fix Version/s | Release 8.2.1 |
| Components | iOS |
| Labels | engSchedule |
| Reporter | Rakhi Mitro |
| Assignee | Vijay Singh |
| Created | 2019-09-08T10:11:20.000+0000 |
| Updated | 2020-10-13T12:14:50.000+0000 |
Description
The enterprise customer wants to fire volume event without playing any audio.
Volume event is not firing on IOS device with SDK 8.1.1.GA
Test Environment:
Appcelerator Command-Line Interface, version 7.1.0
Operating System
Name = Mac OS X
Version = 10.14.6
Architecture = 64bit
# CPUs = 4
Memory = 8589934592
Node.js
Node.js Version = 8.9.4
npm Version = 5.6.0
Titanium CLI
CLI Version = 5.2.1
Titanium SDK
SDK Version = 8.1.1.GA
Device: iPhone SE(12.3.1)
*Sample code:*
var win = Ti.UI.createWindow({
backgroundColor: "blue"
});
Titanium.Media.addEventListener('volume', function(e) {
Ti.API.info("Volume function");
});
win.open();
*Test Steps:*
* Create an app via studio
* Paste the sample code into app.js
* Run the project on IOS device
* After running,a window will open. Try to press volume keys from device.
* Observe that the volume event is not getting fired on console.
PR (master) - https://github.com/appcelerator/titanium_mobile/pull/11216 PR (8_2_X) - https://github.com/appcelerator/titanium_mobile/pull/11227
FR passed. 8_2_X branch is merged . unit tests failed in Jenkin for master PR.
PR merged.
Closing ticket, fix verified SDK version
8.3.0.v20191003144543and8.2.1.v20191003075717. Test and other information cab be found at: PR (master) - https://github.com/appcelerator/titanium_mobile/pull/11216 PR (8_2_X) - https://github.com/appcelerator/titanium_mobile/pull/11227