Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Identity] update fileprovider name #5474

Merged
merged 2 commits into from Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@

* [ADDED][5456](https://github.com/stripe/stripe-android/pull/5456) Added postal code validation

### Identity

* [FIXED][5474](https://github.com/stripe/stripe-android/pull/5474) Update fileprovider name.

## 20.10.0 - 2022-08-22
This release contains several bug fixes for PaymentSheet and binary size optimization for Identity.

Expand Down
2 changes: 1 addition & 1 deletion identity/src/main/AndroidManifest.xml
Expand Up @@ -16,7 +16,7 @@

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:authorities="${applicationId}.StripeIdentityFileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
Expand Down
Expand Up @@ -37,7 +37,7 @@ internal class DefaultIdentityIO @Inject constructor(private val context: Contex

override fun createUriForFile(file: File): Uri = FileProvider.getUriForFile(
context,
"${context.packageName}.fileprovider",
"${context.packageName}.StripeIdentityFileprovider",
file
)

Expand Down