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

Android example crash when used camera #21

Open
MagicalWater opened this issue May 3, 2023 · 1 comment
Open

Android example crash when used camera #21

MagicalWater opened this issue May 3, 2023 · 1 comment

Comments

@MagicalWater
Copy link

MagicalWater commented May 3, 2023

AndroidMainfest.xml need add follows

<uses-permission android:name="android.permission.CAMERA"/>

in messaging screen tap camera throws

E/AndroidRuntime(15064): Process: com.chyiiiiiiiiiiiiii.zendesk_messaging_example, PID: 15064
E/AndroidRuntime(15064): java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority com.chyiiiiiiiiiiiiii.zendesk_messaging_example.zendesk.messaging.provider
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.getFileProviderPathsMetaData(FileProvider.java:664)
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:695)
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:645)
E/AndroidRuntime(15064): 	at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:449)
E/AndroidRuntime(15064): 	at zendesk.messaging.android.internal.conversationscreen.permissions.RuntimePermission.getTempCapturedImageUri(RuntimePermission.kt:161)
@chyiiiiiiiiiiii
Copy link
Owner

Thanks. It will update in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants