Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27383] iOS: Volume event is not firing on SDK 8.1.1.GA

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-10-04T13:05:44.000+0000
Affected Version/sRelease 8.1.1
Fix Version/sRelease 8.2.1
ComponentsiOS
LabelsengSchedule
ReporterRakhi Mitro
AssigneeVijay Singh
Created2019-09-08T10:11:20.000+0000
Updated2020-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.

Comments

  1. Vijay Singh 2019-09-14

    PR (master) - https://github.com/appcelerator/titanium_mobile/pull/11216 PR (8_2_X) - https://github.com/appcelerator/titanium_mobile/pull/11227
  2. Keerthi Mahalingam 2019-09-20

    FR passed. 8_2_X branch is merged . unit tests failed in Jenkin for master PR.
  3. Keerthi Mahalingam 2019-09-20

    PR merged.
  4. Samir Mohammed 2019-10-04

    Closing ticket, fix verified SDK version 8.3.0.v20191003144543 and 8.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

JSON Source