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

[BUG] Demo crash when take a photo in IOS #54

Closed
JasonHezz opened this issue Jul 31, 2020 · 0 comments
Closed

[BUG] Demo crash when take a photo in IOS #54

JasonHezz opened this issue Jul 31, 2020 · 0 comments
Labels
await investigate The issue is waiting for further investigation. await triage The issue is waiting for triage. s: bug Something isn't working.

Comments

@JasonHezz
Copy link
Contributor

JasonHezz commented Jul 31, 2020

Describe the bug (描述)
After click pick from camera, app will crash in IOS.

How to reproduce (如何复现)
Please provide a minimum demo rather than a full project or a incomplete pages. Otherwise we have rights to reject your request.
Project example

Steps to reproduce the behavior (描述复现步骤):

  1. Go to homepage
  2. Click on 'Pick from camera'
  3. See error

Expected behavior (期望行为)
No crash and take a photo

Screenshots (If contains) (是否有截图可以提供)
If applicable, add screenshots to help explain your problem.

Device information (设备信息)

  • Device: iPhone X
  • OS: IOS 13.5.1
  • Package Version: 4.1.0+2
  • Flutter Version: 1.20.0-7.2.pre

Additional context (附加信息)
stacktrace
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

Workaround:
Add following content to info.plist.

<key>NSCameraUsageDescription</key>
<string>Take a photo for display</string>
@JasonHezz JasonHezz added await investigate The issue is waiting for further investigation. s: bug Something isn't working. labels Jul 31, 2020
@github-actions github-actions bot added the await triage The issue is waiting for triage. label Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
await investigate The issue is waiting for further investigation. await triage The issue is waiting for triage. s: bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant