GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Android] App with no main entry shows a blank screen when reopened right after Back · Issue #11631 · NativeScript/NativeScript Open DescriptionIssue DescriptionRuntime bug on Android. An app that supplies its root view from the Android starts the new activity before the old one is destroyed. This is the shape Angular apps use by default, so it may explain blank screens I have seen in Angular apps. I have not confirmed that in a real Angular app. Expected behavior: the reopened app shows its page. Related:
ReproductionUse import { Application, Frame } from '@nativescript/core'; Application.on(Application.launchEvent, (args: any) => { const root = new Frame(); root.navigate({ moduleName: 'main-page' }); args.root = root; }); Application.run();
This gave a blank screen in 5 of 5 trials. The app stayed in focus and did not crash. Relevant log output (if applicable)Android event log for one trial. The new activity is created and started before the old one stops: wm_on_create_called: [77903689, com.tns.NativeScriptActivity] wm_on_start_called: [77903689, com.tns.NativeScriptActivity] wm_on_stop_called: [253142999, com.tns.NativeScriptActivity] wm_on_destroy_called: [253142999, com.tns.NativeScriptActivity] Environment
ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |