IBM Support

PH12821: ANDROID FILE PICKER DOESN'T WORK WITH INPUT TAG OF HTML IN CORDOVA'S WEBVIEW

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

  • Product components impacted: SDK
    Affected mobile development environments: Hybrid
    Mobile Devices Operating Systems impacted: Android
    User roles impacted: Developer/user
    Distribution: Fix Central
    Versions affected: 7.1
    On Android devices running Android 5.0 or higher, the file
    chooser intent is not shown to the user when this is done
    through the HTML <input> tag. For e.g., the following code does
    not show the file chooser on Android 5.0 and higher.
    
    <input type="file" name="upload" accept="application/pdf" />
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End users of MobileFirst Hybrid apps on Android 5.0 and      *
    * higher.                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * On Android devices with Android 5.0 or higher, the HTML      *
    * <input> tag does not show the native file picker UI.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The problem was fixed by backporting a fix from a higher version
    of Cordova to MobileFirst 7.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH12821

  • Reported component name

    MOBILE1ST PF EN

  • Reported component ID

    5725I4300

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-06-03

  • Closed date

    2019-06-24

  • Last modified date

    2019-06-24

  • 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

    MOBILE1ST PF EN

  • Fixed component ID

    5725I4300

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 June 2019