Sha256: feb97f66728a33d2630408f4b0c790c7f5bcbc868fe5b67d284e088d706e85cf

Contents?: true

Size: 917 Bytes

Versions: 6

Compression:

Stored size: 917 Bytes

Contents

# teak/caching
Ensures that the APK contains a notification icon for both Android 5+ (API 21+) as well as pre-Android 5, and that these are different icons.

## Will Skip If
* The Teak SDK is not present.
* The version of the Teak SDK is greater or equal to 2.0.0.

## Will Fail If
* `io_teak_enable_caching` is not specified.
* `io_teak_enable_caching` is not set to `true`.

## Exports
None.

## Reason
The Teak SDK uses [Android HTTP Caching](https://developer.android.com/training/efficient-downloads/redundant_redundant#ResponseCache) to prevent downloading redundant Notification assets.

The `io_teak_enable_caching` setting allows you to disable this behavior, however it should be enabled unless your app, or an SDK that you use, makes uncommon assumptions.

## Resolution
Upgrade to the Teak 2.0 SDK, or add this to your Android resources XML:
```xml
    <bool name="io_teak_enable_caching">true</bool>
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
headdesk-0.12.0 docs/teak/caching.md
headdesk-0.11.3 docs/teak/caching.md
headdesk-0.11.2 docs/teak/caching.md
headdesk-0.11.1 docs/teak/caching.md
headdesk-0.11.0 docs/teak/caching.md
headdesk-0.10.0 docs/teak/caching.md