Method invocation 'getUid' may produce 'NullPointerException' in MediaAcitvity.java file.
Closed this issue · 3 comments
prashant7139 commented
Hello @krayong , I am a participant of GSSOC . May I work on this issue?
krayong commented
Hello, @prashant7139 can you please elaborate when getUid()
may produce NullPointerException
prashant7139 commented
krayong commented
This screen is only reachable when the user is logged in. As soon as the user logs in a value is set in the current user of Firebase. This ensures getUid()
cannot produce NullPointerException
in the MediaActivity.java
file.