IBM Support

PM89312: BLANK SCREEN INSTEAD OF MICROPHONE IMAGE AND RECORD BUTTON WHEN USING CORDOVA CAPTUREAUDIO API ON IOS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the Cordova captureAudio API,
    navigator.device.capture.captureAudio(captureSuccess,
    captureError, {limit: n}), on an iOS project, an empty black
    frame is displayed.  There should be an image of a microphone
    with a record button displayed.  This only happens in iOS
    projects.  A "Done" button is displayed across the top of the
    window; if it is pushed then the error callback is called with
    an error code of 3.  That error code indicates that no audio was
    recorded.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers building iOS applications which use the Cordova   *
    * Audio Capture API, captureBundle().                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The issue is due to the Capture.bundle used by the Cordova   *
    * captureAudio API not being present in the iOS project in the *
    * Resource group.                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Worklight Studio iOS projects now contain the Capture.bundle in
    the Resources group.  Previously existing iOS projects will be
    upgraded to include the Capture.bundle when opened in Studio.
    New iOS projects will be created with Capture.bundle.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 5.0.6.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM89312

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-18

  • Closed date

    2013-05-18

  • Last modified date

    2013-05-18

  • 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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R505 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":"505","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
18 May 2013