use `getApplicationContext().getPackageName()` to avoid error if context is MixContext.