Created by: zahansafallwa
On lollipop and higher version application was crashing due to casting contextwrapper to activity as activity doesnt extend contextwrapper (context is not activity always). So, added code to find the base activity.
Created by: zahansafallwa
On lollipop and higher version application was crashing due to casting contextwrapper to activity as activity doesnt extend contextwrapper (context is not activity always). So, added code to find the base activity.