Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16639] IOS:Vibrate During Background Service

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionNot Our Bug
Resolution Date2016-10-02T16:23:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsBackgroundService, iphone,
ReporterRakhi Mitro
AssigneeEric Merriman
Created2014-03-10T09:58:54.000+0000
Updated2017-03-21T17:15:06.000+0000

Description

Need to create a simple app which uses a background service. For this 'Ti.App.iOS.registerBackgroundService' is used,trying to make the iphone vibrate. It is not working. I can see that my code is running without error, but still no vibration. Is vibrate specifically blocked when an app is backgrounded? I am using 'Titanium.Media.vibrate();', but it is not working. Any Suggestion? Steps to Reproduce: * Create a classic project * Paste app.js and bg-service1.js to resource directory * Run with iphone Device * Press Home and check that device is vibrate or not

Attachments

FileDateSize
app.js2014-03-10T09:58:54.000+0000347
bg-service1.js2014-03-10T09:58:54.000+0000182

Comments

  1. Hans Knöchel 2016-10-02

    Following http://stackoverflow.com/questions/21173798/ios-background-service-vibrate-phone, the vibration can be triggered by using local notifications, although the UX might suffer.
  2. Lee Morris 2017-03-21

    Closing ticket as the issue is not our bug.

JSON Source