IBM Support

PH44588: APPEND THE APPLABEL/APPVERSION AT THE END OF USER-AGENT FOR ANDROID

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

  • Would like the MFP SDK for Android to provide a unique
    identifier for the app versions in the user agent requesting an
    endpoint on the traffic level itself. There is a difference with
    the Android vs the iOS in how the user agent information is
    pulled in, as this is not consistent across both platforms.
    
    Below is sample for both:
    
    iOS: "ClientRequestUserAgent":"MyCorp/3.5.1 (iPhone; iOS 15.3;
    Scale/3.00),MyCorp/3.5.1 (iPhone; iOS 15.3;
    Scale/3.00),MyCorp/3.5.1 (iPhone; iOS 15.3;
    Scale/3.00)/WLNativeAPI/8.0.0.00.2016-01-24T11:48:54Z"
    
    Android: "ClientRequestUserAgent":"WLNativeAPI(z3q;
    RP1A.200720.012.G988WVLS2DUJ1; SM-G988W; SDK 30; Android 11)"
    
    You can see above in iOS the App Version is appended in user
    agent but not so for Android.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MOBILE APPLICATION USERS OF ANDROID NATIVE AND CORDOVA       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * User-Agent for Network requests initiated by MFP ANDROID SDK *
    * are missing with AppLable/AppVersion entry                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed MFP ANDROID SDK to append AppLable/AppVersion to
    User-Agent entry for all Network requests initiated by the SDK
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH44588

  • Reported component name

    MOBILE1ST PLATF

  • Reported component ID

    5725I4301

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-03-02

  • Closed date

    2022-03-14

  • Last modified date

    2022-03-14

  • 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 PLATF

  • Fixed component ID

    5725I4301

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800"}]

Document Information

Modified date:
15 March 2022