Open WrathChaos opened 6 years ago
Edit: Solved the issue but the main issue is still remaining.. Waiting for a response. Edit2: I have another problem; when I pick a photo from gallery, MagicalCamera simply duplicate the selected photo and create the one more same photo. How to fix this issue? Thank you, Have fun :)
Hello @WrathChaos , thanks for use magical camera project, and thanks for report the issues. I need to review the first issue, but I never thought that someone use magical camera withouth permissions. and for issue 2, I do not understand the problem very well, magical camera dont duplicate photo if you not required this, for example if you dont save the selected picture, well, its occurs to me that verify if photo is selected or new photo, for save this or not...
Hello @fabian7593, I use magical camera with permissions, but after Marshmallow we have to ask user to request permissions. Even I got the permissions, "return mapPermissions?.get(permission)!!" this part never works for me after Marshmallow. I just return true but then I have to ask that part 2 times in a row to open the camera or library. I could not figure it out :( I will share my codes about the duplicate problem.. Then I believe that you can re-produce my issue :)
Thank you
Hello, Thanks for great library. I got a problem about permissions.. If user has no permissions on Camera and Storage, MagicalCamera itself cannot handle it and "return mapPermissions?.get(permission)!!" returns NullPointerException. (Tried on both Java and Kotlin)
I could not solve the problem, please help me. Thank you