Title: fix-next(frame): remove current entry fragment on reset root view by vchimev · Pull Request #5533 · NativeScript/NativeScript · GitHub
Open Graph Title: fix-next(frame): remove current entry fragment on reset root view by vchimev · Pull Request #5533 · NativeScript/NativeScript
X Title: fix-next(frame): remove current entry fragment on reset root view by vchimev · Pull Request #5533 · NativeScript/NativeScript
Description: Problem: When we reset root view and minimize/restore application with "Don't keep activities" turned ON, we try to restore the latest fragment. However, it is not available anymore, so could not be restored. In this case, remove it when changing root view in order to create a new one. Steps to reproduce: run the modal-navigation app turn on the "Don't keep activities" setting in the Developer options for Android tap on "Change root view" to set TabView as the application root minimize and restore application Stack trace: System.err: Error: Cannot find Frame for NO ENTRY, FragmentClass{f14f72e #0 id=0x1 fragment0[0]} System.err: File: "file:///data/data/org.nativescript.modalnavigation/files/app/tns_modules/tns-core-modules/ui/frame/frame.js, line: 651, column: 18 System.err: StackTrace: System.err: Frame: function:'FragmentCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.modalnavigation/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 547, column: 23 System.err: Frame: function:'FragmentClass.onCreate', file:'file:///data/data/org.nativescript.modalnavigation/files/app/tns_modules/tns-core-modules/ui/frame/fragment.js', line: 24, column: 25 System.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.modalnavigation/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 651, column: 19 System.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.modalnavigation/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25
Open Graph Description: Problem: When we reset root view and minimize/restore application with "Don't keep activities" turned ON, we try to restore the latest fragment. However, it is not available anymore, ...
X Description: Problem: When we reset root view and minimize/restore application with "Don't keep activities" turned ON, we try to restore the latest fragment. However, it is not availab...
Opengraph URL: https://github.com/NativeScript/NativeScript/pull/5533
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:90c95e99-052d-4a39-aa7b-ca5744199984 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E0A:39170A:1E63B2F:2A6B1D9:6A5F4637 |
| html-safe-nonce | 0df34feb755e82a34200fec1420b9efaf8f3e4b5e5e463debdcd8925fc37e8e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTBBOjM5MTcwQToxRTYzQjJGOjJBNkIxRDk6NkE1RjQ2MzciLCJ2aXNpdG9yX2lkIjoiMzc3ODMwNjc5Njc3NzU4ODI3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3eb6ec3218470fd059bc70862891af747754cce064fcd23ef71f510eed880025 |
| hovercard-subject-tag | pull_request:174743175 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/5533/files |
| twitter:image | https://avatars.githubusercontent.com/u/12251337?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12251337?s=400&v=4 |
| og:image:alt | Problem: When we reset root view and minimize/restore application with "Don't keep activities" turned ON, we try to restore the latest fragment. However, it is not available anymore, ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab2497d9345a59709926b385d88458fa5932c82ec066288448eb68b34cbcbbda |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ba0ac57287507693938b0a2de45402a22cda0785 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width