Sha256: 58362d56cf3344c8daa96520da5b835c00316f4dbea212bca71b3f2ce290bafb

Contents?: true

Size: 750 Bytes

Versions: 7

Compression:

Stored size: 750 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.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
headdesk-0.9.0 docs/receiver.md
headdesk-0.8.0 docs/receiver.md
headdesk-0.7.0 docs/receiver.md
headdesk-0.6.0 docs/receiver.md
headdesk-0.5.2 docs/receiver.md
headdesk-0.5.1 docs/receiver.md
headdesk-0.5.0 docs/receiver.md