Image capture with camera & upload to Firebase (Uri in onActivityResult() is null)

前端 未结 2 1611
鱼传尺愫
鱼传尺愫 2020-12-11 10:49

So I\'ve got a problem, previously mentioned in the question I\'ve asked: Uploading image (ACTION_IMAGE_CAPTURE) to Firebase storage

I\'ve searched for the issue a b

2条回答
  •  抹茶落季
    2020-12-11 11:08

    Try changing mCurrentPhotoPath = image.getAbsolutePath(); to mCurrentPhotoPath = "file:" + image.getAbsolutePath();. I didnt spot any other differences from my code, which has worked.

提交回复
热议问题