[TIMOB-16639] IOS:Vibrate During Background Service
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Not Our Bug |
| Resolution Date | 2016-10-02T16:23:31.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | BackgroundService, iphone, |
| Reporter | Rakhi Mitro |
| Assignee | Eric Merriman |
| Created | 2014-03-10T09:58:54.000+0000 |
| Updated | 2017-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
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.
Closing ticket as the issue is not our bug.