Xamarin permissions

This tutorial only applies to Xamarin.Android.

Some features in Apryse's Android SDK require certain Android permissions, the most prominent one being storage permission for accessing documents stored locally on the device. A summary of Apryse's features and their required permission are shown below. If you need any of the specified features listed below, you will need to add the appropriate Android permissions.

Android permissions list

Feature

Relevant permission

  • Opening a PDF from a URL
  • HTML to PDF conversion
  • Realtime collaboration

android.permission.INTERNET

  • Creating sound annotations

android.permission.RECORD_AUDIO

Storage Permission

Please follow the latest Android best practices and guidelines outlined here

Add permissions

You can add permissions to your Android app by including the <uses-permission> tag for the specified permission in your AndroidManifest.xml file. You can learn more about Android permissions in the Android documentation.

XML

1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.pdftron.myapplication" ...>
3
4 <!-- Permissions are added in the manifest tag -->
5 <uses-permission android:name="android.permission.INTERNET"/>
6 <uses-permission android:name="android.permission.RECORD_AUDIO" />
7
8 ...
9</manifest>

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales