mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 13:03:28 +01:00 
			
		
		
		
	Use applicationId for provider authorities
Fixes #1378 Instead of hardcoding the authority string, use the ${applicationId} to always make the provider unique.
This commit is contained in:
		| @@ -47,7 +47,7 @@ | ||||
|             android:value="2" /> | ||||
|         <provider | ||||
|             android:name="androidx.core.content.FileProvider" | ||||
|             android:authorities="dev.imranr.obtainium" | ||||
|             android:authorities="${applicationId}" | ||||
|             android:grantUriPermissions="true"> | ||||
|             <meta-data | ||||
|                 android:name="android.support.FILE_PROVIDER_PATHS" | ||||
| @@ -72,4 +72,4 @@ | ||||
|         android:name="android.permission.WRITE_EXTERNAL_STORAGE" | ||||
|         android:maxSdkVersion="29" />\ | ||||
|     <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> | ||||
| </manifest> | ||||
| </manifest> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user