Can someone please tell me how to get the package name of the app module?
I know about context.getPackageName() method, but it returns the application id and not the actual package name (set in AndroidManifest).
Reason why I'm looking into this : Need to find out the application's R class at runtime from my library module and the R class is generated with the package defined in AndroidManifest's package_name.
If there is any other way to get the app module's R class, please share that as well.