APAR status
Closed as program error.
Error description
Software Environment: Mac OS MFP 7.0 and 7.1 Steps to reproduce: -Create studio hybrid project (ios) -add in 'navigator.vibrate(3000);' call Expected Result: -Should cause phone to vibrate Actual Result: -Nothing happens, no crash or error
Local fix
The issue here is that there was a change to the cordova-plugin-vibrate that was not taken into account for cordova_plugins.js. This change needs to happen in the cordova_plugins.js: FROM: { "file": "plugins/org.apache.cordova.vibration/www/vibration.js", "id": "org.apache.cordova.vibration.notification", "merges": [ "navigator.notification" ] } TO: { "file": "plugins/org.apache.cordova.vibration/www/vibration.js", "id": "org.apache.cordova.vibration.notification", "merges": [ "navigator.notification", "navigator" ] }
Problem summary
**************************************************************** * USERS AFFECTED: * * iOS and Windows Hybrid app users who uses * * NAVIGATOR.VIBRATE(TIME) Cordova API * **************************************************************** * PROBLEM DESCRIPTION: * * NAVIGATOR.VIBRATE(TIME) Cordova API call not working, Only * * deprecated NAVIGATOR.NOTIFICATION.VIBRATE(TIME) api works in * * iOS and Windows Hybrid Apps * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
NAVIGATOR.VIBRATE(TIME) Cordova API call is now fixed and works in iOS and Windows Hybrid Apps as expected.
Temporary fix
Comments
APAR Information
APAR number
PI61606
Reported component name
MFPF/WORKLIGHT
Reported component ID
5725I4301
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-04-28
Closed date
2016-08-12
Last modified date
2016-08-12
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MFPF/WORKLIGHT
Fixed component ID
5725I4301
Applicable component levels
R700 PSY
UP
R710 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
12 August 2016