diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7eeee9ebb..8680c5c49 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -6,7 +6,7 @@ android:description="@string/permissionReadCardsDescription" android:icon="@drawable/ic_launcher_foreground" android:label="@string/permissionReadCardsLabel" - android:name="me.hackerchick.catima.READ_CARDS" + android:name="${applicationId}.READ_CARDS" android:protectionLevel="dangerous" /> @@ -166,7 +166,7 @@ android:name=".contentprovider.CardsContentProvider" android:authorities="${applicationId}.contentprovider.cards" android:exported="true" - android:readPermission="me.hackerchick.catima.READ_CARDS"/> + android:readPermission="${applicationId}.READ_CARDS"/> .contentprovider.cards` +## Package Names There are 3 release channels, with 2 possible package names: @@ -16,11 +14,17 @@ There are 3 release channels, with 2 possible package names: | F-Droid | me.hackerchick.catima | | Debug Build | me.hackerchick.catima.debug | +The package names are required for the authority and permissions, as described below. + +## Authority + +The authority for this content provider: `.contentprovider.cards` + ## Permissions The content provider requires the following permissions: -- `me.hackerchick.catima.READ_CARDS` - in order to access any of the URIs. +- `.READ_CARDS` - in order to access any of the URIs. ## URIs