IBM Support

PI59596: CORDOVA WHITELIST DOES NOT HANDLE SPECIFIC MARKET: URLS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as suggestion for future release.

Error description

  • MobileFirst applications that add a specific market URL to the
    Whitelist for Android does not allow navigation to that URL.
    All market URL requests are blocked. Requested URLs are parsed
    incorrectly and therefore fail the comparison to the Whitelist.
    
    Example:
    Whitelisting the Google Maps app in config.xml
    <access
    origin="market://details?id=com.google.android.apps.maps"
    launch-external="yes" />
    
    then trying to access a direct link to the Google Maps app in
    the Google Play Store from index.html:
    <a
    href="market://details?id=com.google.android.apps.maps">Maps</a>
    
    will result in no error shown and the Google Play Store will not
    open
    

Local fix

  • Use a non-specific URL in the whitelist:
    <access launch-external="yes" origin="market:*" />
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • Cordova may add this functionality at a later time. It is not an
    issue, it is working as intended. What the customer was trying
    to do has not been implemented yet in Cordova.
    

APAR Information

  • APAR number

    PI59596

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-22

  • Closed date

    2016-11-30

  • Last modified date

    2016-11-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

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:
30 November 2016