AppHero2/Raffler-Android

RegisterUserActivity

Opened this issue · 0 comments

to change
//mCurrentPhotoPath = Uri.fromFile(newfile);
mCurrentPhotoPath = FileProvider.getUriForFile(RegisterUserActivity.this, BuildConfig.APPLICATION_ID + ".provider", newfile);




and
provider_phats.xml

<external-path name="external_files" path="."/>
<!--<files-path name="captured_image" path="/Pictures/picFolder/"/>-->

there is still an error when attaching the photo
Do not pass else if (requestCode == RESULT_CROP)

I'm trying to solve but I'm new to android and I can not do it