Actual Behaviour
After using the app for a while i get a notification as seen below for the information leakage.
Expected Behaviour
Adding appropriate permissions in the manifest file to avoid that.
Steps to reproduce it
LogCat for the issue
-
Screenshots of the issue

Would you like to work on the issue?
Yes
@arp95 This is the message from LeakCanary. Once you click on the notification, it'll ask for the permission to access storage once and after that you can see the leaks in the app called Leaks on your device. This was working as expected on Nougat when I last tested. Is your app behaving differently than expected?
@iamareebjamal
actually i tried to open the app different times but after a while i get that leak notifcation.
In the Android Monitor it shows we have to add permission for writing external storage.
It is just a warning because the library manifest declares that permission and the app doesn't.
We should not add that permission in production code because leak canary won't be shipped in release builds and it will add an unnecessary permission to our app.
I recommend you to wait for another leak or make it happen temporarily and it will be shown just fine. If not, we can look into it
I have also observed same notification and observed that the leak is
because of DayScheduleFragment instance
On Sat, May 6, 2017, 5:36 PM Areeb Jamal notifications@github.com wrote:
It is just a warning because the library manifest declares that permission
and the app doesn't.We should not add that permission in production code because leak canary
won't be shipped in release builds and it will add an unnecessary
permission to our app.I recommend you to wait for another leak or make it happen temporarily and
it will be shown just fine. If not, we can look into it—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fossasia/open-event-android/issues/1489#issuecomment-299635577,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARaybJwiT7C6O6PWibR2kUZ25dIvPJYHks5r3GJbgaJpZM4NSqJP
.
True. I removed the SwipeRefreshListener in onDestroyView but it is still leaking somewhere. Fixing that issue will non conventionally fix this issue as well @arp95
@iamareebjamal
are you facing this issue?
Screen shot for the same :

The issue is not about the permission, but the memory being leaked which is being reported by leak canary
Details can be seen when you open the notification

Try to remain at schedule fragment for a period of time, it should show up
@iamareebjamal
yeah was getting this. although the solution might not be as you said will have to look up on the android monitor for further details
The solution to the leak or permission problem?
what i meant is you might be right permission might not be a solution for this.
resolved the issue. working fine on my device.
submitting the pr in a while.
Thanks for help @iamareebjamal !
Great!
Most helpful comment
resolved the issue. working fine on my device.
submitting the pr in a while.
Thanks for help @iamareebjamal !