Open sillysachin opened 6 years ago
UtilsLibrary() { } static String getAppName(Context context) { return context.getString(context.getApplicationInfo().labelRes); } static String getAppPackageName(Context context) { String appId = context.getPackageName().replace(".debug", ""); return appId; }
In my case in debug mode the package name is app + ".debug" and hence cannot test the same in debug mode . It would be immense help if this is made configurable. Any other suggestion i welcome.
In my case in debug mode the package name is app + ".debug" and hence cannot test the same in debug mode . It would be immense help if this is made configurable. Any other suggestion i welcome.