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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Rate this page:

(0 users)Average rating

Document information


More support for:

IBM Worklight

Software version:

5.0.5

Reference #:

PM89312

Modified date:

2013-05-18

Translate my page

Machine Translation

Content navigation