You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
config-file - url of the chcp.json config on the server. Right now you need to use chcp.configure() to set it before fetching the update. If implemented - we don't need to do this anymore.
request-headers - additional http headers, that we can set from JS side. For example, auth headers.
If you are native developer and want to use an embedded web views - you can define fetch update preferences from the native side. For that you need to obtain the instance of the plugin, that is initialised for your web view - and set default fetch update options property as described below.
Right now
chcp.fecthUpdatemethod can accept only callback method. It would be nice to be able to pass additional data to it. For example:where:
config-file- url of thechcp.jsonconfig on the server. Right now you need to use chcp.configure() to set it before fetching the update. If implemented - we don't need to do this anymore.request-headers- additional http headers, that we can set from JS side. For example, auth headers.If you are native developer and want to use an embedded web views - you can define fetch update preferences from the native side. For that you need to obtain the instance of the plugin, that is initialised for your web view - and set default fetch update options property as described below.
iOS:
Android: