Cordova inappbrowser: supporting custom headers

Supporting custom headers to be passed to every GET/POST form request, inside inappbrowsers. Possible user scenario where you want, server to know from where request is originated, whether its from website or from app. Meanwhile support is only for iOS and Android, you are free to fork and add support for other platforms.

You can check out or merge from

Inside your app, api call has now extra parameter for headers, below is sample code.

var customHeaders = 'foo:123,bar:456';"", "_blank", 'location=no,zoom=no', customHeaders);

You may also like

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *