# Android changes

## Android 7 (Nougat)

Pushlink supports Android N `Build.VERSION.SDK_INT <= 24` since version **5.5.2** released in 2016.11.11.\
\
&#x20;It requires a FileProvider in the AndroidManifest.xml; otherwise, Pushlink will not work.

```xml
<provider 
  android:name="com.pushlink.android.FileProvider" 
  android:authorities="your.package.name" 
  android:exported="true" />
```

Don't forget to replace `your.package.name` it with your current application package name.

## Android 8 (Oreo)

Pushlink supports Android 8 `Build.VERSION.SDK_INT <= 26` since version **5.5.3** released in 2018.05.19.\
\
&#x20;It requires new permission in the AndroidManifest.xml; otherwise, Pushlink will not work.

```xml
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
```

{% hint style="info" %}
**Unknown sources**

&#x20;Note that app installations from unknown sources are disabled by default in Android Oreo. You have to authorize the specific source on the app's first installation. See: <https://developer.android.com/studio/publish/#publishing-unknown>
{% endhint %}

## Android 9 (Pie)

Pushlink **5.5.3** supports Android 9, but from now on, it requires to enable `org.apache.http.legacy`

```xml
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
```

More info: <https://developer.android.com/about/versions/pie/android-9.0-changes-28#apache-p>

## Android 10

Pushlink **5.5.3** supports Android 10, and there are no tricks here.

## Android 11

Pushlink **5.5.3** supports Android 11. Don't forget to allow a V2 signature when building the APK.

<div align="left"><img src="https://3807780648-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LEuZr4CqIWfHJ0tGCot%2F-MY6BtObYSfuoZjSQxcz%2F-MY6C9oN8Z9iZXuMAqli%2FCaptura%20de%20Tela%202021-04-12%20a%CC%80s%2014.46.43.png?alt=media&#x26;token=bc06ebe6-09cb-4eeb-a16b-6c3fd26d5271" alt=""></div>

If you forget this, the installation will fail with the following message:&#x20;

`com.android.server.pm.PackageManagerException: No signature found in package of version 2 or newer for package...`

## Android 12, 13 and 14

Pushlink supports Android 12, 13 and 14 `Build.VERSION.SDK_INT <= 34` since version **5.6.0** released in 2024.07.22.

It now requires the post notification permission.

```xml
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
```
