Title: Fix crash on iOS by hshristov · Pull Request #5071 · NativeScript/NativeScript · GitHub
Open Graph Title: Fix crash on iOS by hshristov · Pull Request #5071 · NativeScript/NativeScript
X Title: Fix crash on iOS by hshristov · Pull Request #5071 · NativeScript/NativeScript
Description: JS object that extend NSObject was not held into memory and was collected by gc.
Here is the stacktrace:
Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569BFCA1583.
CONSOLE LOG file:///app/ui-tests-app/app.ts:1:12: ####### ------ APP MODULES START
Class PLBuildVersion is implemented in both /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11d5a9cc0) and /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11d3c06f0). One of the two will be used. Which one is undefined.
CONSOLE LOG file:///app/ui-tests-app/app.ts:79:20: ### NativeScriptError: TypeError: this._onReceiveCallback is not a function. (In 'this._onReceiveCallback(notification)', 'this._onReceiveCallback' is undefined)
CONSOLE LOG file:///app/ui-tests-app/app.ts:80:20: ### nativeException: undefined
CONSOLE LOG file:///app/ui-tests-app/app.ts:81:20: ### stackTace: undefined
CONSOLE LOG file:///app/ui-tests-app/app.ts:82:20: ### stack: onReceive@file:///app/tns_modules/tns-core-modules/ui/frame/frame.js:34:32
CONSOLE WARN file:///app/ui-tests-app/app.ts:22:17: this._onReceiveCallback is not a function. (In 'this._onReceiveCallback(notification)', 'this._onReceiveCallback' is undefined)
1 0x1084dad4b NativeScript::FFICallback
Open Graph Description: JS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569...
X Description: JS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569...
Opengraph URL: https://github.com/NativeScript/NativeScript/pull/5071
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b312c519-1c28-aa97-6d3b-5bc596a132ab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC44:4D676:71F415:98F43E:69731284 |
| html-safe-nonce | 63ccc804ea1fc4bece553aaa23031fbf500b128dc7b085031765a54ca91c71e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzQ0OjRENjc2OjcxRjQxNTo5OEY0M0U6Njk3MzEyODQiLCJ2aXNpdG9yX2lkIjoiNDM1NDc3OTA5MzkzNzYyMzY4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 296a0287acc97d61f3c00c1c2f9f6cfd2553d58699d787dcc4e944694c96210f |
| hovercard-subject-tag | pull_request:152467262 |
| 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/5071/files |
| twitter:image | https://avatars.githubusercontent.com/u/5966717?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5966717?s=400&v=4 |
| og:image:alt | JS object that extend NSObject was not held into memory and was collected by gc. Here is the stacktrace: Successfully synced application org.nativescript.apps on device 5521452A-8299-42CF-83D5-E569... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width