Sha256: 0b17e4b1798f7616864b45df4254942e287ed2992c82899e59742f6f6a0c48b9

Contents?: true

Size: 887 Bytes

Versions: 14

Compression:

Stored size: 887 Bytes

Contents

# receiver
Ensures that each `<receiver>` declared in the `AndroidManifest.xml` points to a Java class which is present in the APK.

## Will Fail If
* Any `<receiver>` points to a Java class that does not exist in the APK.

## Exports
The recievers present in `AndroidManifest.xml`

### Example
```json
{
  "receivers": [
    {
      "name": "com.amazon.device.iap.ResponseReceiver"
    },
    {
      "name": "io.teak.sdk.Teak"
    },
    {
      "name": "com.facebook.CurrentAccessTokenExpirationBroadcastReceiver"
    }
  ]
}
```

## Reason
Frequently, during app updates, build settings will change, or an SDK will be removed but the `<receiver>` inside of the `AndroidManifest.xml` will not get updated or removed. This causes the app to crash.

## Resolution
Remove the `<receiver>` blocks which are missing implementations, or add the libraries which provide the implementations.

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
headdesk-0.17.0 docs/receiver.md
headdesk-0.16.2 docs/receiver.md
headdesk-0.16.1 docs/receiver.md
headdesk-0.16.0 docs/receiver.md
headdesk-0.15.1 docs/receiver.md
headdesk-0.15.0 docs/receiver.md
headdesk-0.14.0 docs/receiver.md
headdesk-0.13.0 docs/receiver.md
headdesk-0.12.0 docs/receiver.md
headdesk-0.11.3 docs/receiver.md
headdesk-0.11.2 docs/receiver.md
headdesk-0.11.1 docs/receiver.md
headdesk-0.11.0 docs/receiver.md
headdesk-0.10.0 docs/receiver.md