We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0989d commit 3fb19beCopy full SHA for 3fb19be
packages/core/application/application.android.ts
@@ -323,7 +323,7 @@ export class AndroidApplication extends ApplicationCommon implements IAndroidApp
323
// the getInstance might return null if com.tns.NativeScriptApplication exists but is not the starting app type
324
if (!nativeApp) {
325
// TODO: Should we handle the case when a custom application type is provided and the user has not explicitly initialized the application module?
326
- const clazz = java.lang.Class.forName('androidx.appcompat.app.AppCompatActivityThread');
+ const clazz = java.lang.Class.forName('android.app.ActivityThread');
327
if (clazz) {
328
const method = clazz.getMethod('currentApplication', null);
329
if (method) {
0 commit comments