Closed SusannaJung closed 4 years ago
Are you running the application in the iOS simulator? It is not possible to access the camera in the simulator - you will need to run the application on a physical iOS device. We have added a note at the beginning of the codelab to call this out.
(Also see https://help.apple.com/simulator/mac/current/#/devb0244142d under "Hardware differences".)
If you do wish to run this codelab in the iOS simulator, you need to change the call in the filecontribute_photo_dialog.dart
to the image_picker
package to use the device gallery (ImageSource.gallery
) instead.
When I click Add Photo and then Upload photo It does not show image selector but shows an error that camera is not available.