Hybrid Ionic Mobile App Android
search cancel

Hybrid Ionic Mobile App Android

book

Article ID: 269365

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

How can I wrap an APK developed with ionic in Android?

 

Environment

Release : 23.1

Resolution

Make sure to configure the below setting over application settings as below:

Access-Control-Request-Headers: x-apm-bt

Example of HAR file showing the Access-Control-Request-Headers set :

         {
             "name": "Access-Control-Request-Headers",
             "value": "authorization,x-apm-bt"
           }

In the response, the server returned below allowed headers which don't have x-apm-bt

         {
             "name": "Access-Control-Allow-Headers",
             "value": "Authorization, Cache-Control, Content-Type, Current-App-Version"
           }