Nativescript: After upgraded to NativeScript 3.2.0 - App crashes after resume Android activity

Created on 8 Sep 2017  路  12Comments  路  Source: NativeScript/NativeScript

Did you verify this is a real problem by searching [Stack Overflow]

Nothing related to nativescript 3.2.0.

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

After updated to NS 3.2.0 the app crashes after resuming.

I don't know how to reproduce it because it is a real app with a lot of components to isolate.

Although, see the packages version below.

Thanks in advance.

  "nativescript": {
    "tns-android": {
      "version": "3.2.0"
    },
    "tns-ios": {
      "version": "3.2.0"
    }
  },
  "dependencies": {
    "@angular/animations": "~4.3.2",
    "@angular/common": "~4.3.2",
    "@angular/compiler": "~4.3.2",
    "@angular/core": "~4.3.2",
    "@angular/forms": "~4.3.2",
    "@angular/http": "~4.3.2",
    "@angular/platform-browser": "~4.3.2",
    "@angular/router": "~4.3.2",
    "angular2-uuid": "^1.1.1",
    "nativescript-angular": "^4.2.0",
    "nativescript-appversion": "^1.4.1",
    "nativescript-audio": "^3.5.0",
    "nativescript-cardview": "^2.0.2",
    "nativescript-dev-webpack": "^0.8.0-2017-8-18-2",
    "nativescript-geolocation": "^3.0.1",
    "nativescript-loading-indicator": "^2.3.2",
    "nativescript-local-notifications": "^1.2.1",
    "nativescript-localstorage": "^1.1.5",
    "nativescript-plugin-firebase": "^4.0.6",
    "nativescript-pulltorefresh": "^2.0.2",
    "nativescript-ripple": "^2.0.0",
    "nativescript-social-share": "^1.3.2",
    "nativescript-telerik-ui": "^3.1.0",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-toast": "^1.4.6",
    "nativescript-zip": "^1.3.2",
    "ngx-pipes": "^1.6.1",
    "reflect-metadata": "~0.1.8",
    "rxjs": "~5.3.0",
    "tns-core-modules": "^3.2.0",
    "zone.js": "~0.8.16"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~4.3.2",
    "babel-traverse": "6.25.0",
    "babel-types": "6.25.0",
    "babylon": "6.4.5",
    "lazy": "1.0.11",
    "nativescript-dev-typescript": "~0.4.0",
    "typescript": "~2.3.4",
    "webpack": "~3.2.0",
    "webpack-bundle-analyzer": "^2.8.2",
    "webpack-sources": "~1.0.1",
    "copy-webpack-plugin": "~4.0.1",
    "raw-loader": "~0.5.1",
    "nativescript-css-loader": "~0.26.0",
    "resolve-url-loader": "~2.1.0",
    "extract-text-webpack-plugin": "~3.0.0",
    "@ngtools/webpack": "~1.6.0"
  },

Error Message

JS: OnSuspend - Activity: com.tns.NativeScriptActivity@842b4f8
JS: Firebase authentication state has changed.
JS: User logged from firebase
JS: >>>> this.provider:  facebook.com
System.err: com.tns.NativeScriptException: 
System.err: Calling js method onStart failed
System.err: 
System.err: Error: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference
System.err:     org.nativescript.widgets.ViewHelper.setHeight(ViewHelper.java:83)
System.err:     com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1084)
System.err:     com.tns.Runtime.callJSMethodImpl(Runtime.java:966)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:953)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:937)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:929)
System.err:     com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:38)
System.err:     android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)
System.err:     android.app.Activity.performStart(Activity.java:6959)
System.err:     android.app.Activity.performRestart(Activity.java:7075)
System.err:     android.app.ActivityThread.handleSleeping(ActivityThread.java:4402)
System.err:     android.app.ActivityThread.-wrap26(ActivityThread.java)
System.err:     android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
System.err:     android.os.Handler.dispatchMessage(Handler.java:102)
System.err:     android.os.Looper.loop(Looper.java:154)
System.err:     android.app.ActivityThread.main(ActivityThread.java:6682)
System.err:     java.lang.reflect.Method.invoke(Native Method)
System.err:     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
System.err:     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
System.err: File: "file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js, line: 533, column: 16
System.err: 
System.err: StackTrace: 
System.err:     Frame: function:'View.(anonymous function)', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 533, column: 17
System.err:     Frame: function:'applyAllNativeSetters', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/properties/properties.js', line: 967, column: 37
System.err:     Frame: function:'initNativeView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/properties/properties.js', line: 894, column: 9
System.err:     Frame: function:'ViewBase.onResumeNativeUpdates', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 645, column: 22
System.err:     Frame: function:'ViewBase._resumeNativeUpdates', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 208, column: 18
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 186, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'RadSideDrawer.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/nativescript-telerik-ui/sidedrawer/sidedrawer-common.js', line: 148, column: 13
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'RadSideDrawer.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/nativescript-telerik-ui/sidedrawer/sidedrawer.js', line: 23, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'LayoutBaseCommon.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js', line: 125, column: 26
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'ContentView.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/content-view/content-view.js', line: 70, column: 13
System.err:     Frame: function:'PageBase.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/page/page-common.js', line: 249, column: 40
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'PageBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/page/page-common.js', line: 91, column: 35
System.err:     Frame: function:'Page.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/page/page.js', line: 105, column: 35
System.err:     Frame: function:'', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 192, column: 19
System.err:     Frame: function:'FrameBase.eachChildView', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js', line: 379, column: 13
System.err:     Frame: function:'ViewCommon.eachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view-common.js', line: 689, column: 14
System.err:     Frame: function:'ViewBase._loadEachChild', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 191, column: 14
System.err:     Frame: function:'ViewBase.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js', line: 187, column: 14
System.err:     Frame: function:'View.onLoaded', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/core/view/view.js', line: 62, column: 35
System.err:     Frame: function:'ActivityCallbacksImplementation.onStart', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 612, column: 22
System.err:     Frame: function:'NativeScriptActivity.onStart', file:'file:///data/data/com.sortenasvendas.app/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 26, column: 25
System.err: 
System.err:     at com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1084)
System.err:     at com.tns.Runtime.callJSMethodImpl(Runtime.java:966)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:953)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:937)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:929)
System.err:     at com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:38)
System.err:     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1256)
System.err:     at android.app.Activity.performStart(Activity.java:6959)
System.err:     at android.app.Activity.performRestart(Activity.java:7075)
System.err:     at android.app.ActivityThread.handleSleeping(ActivityThread.java:4402)
System.err:     at android.app.ActivityThread.-wrap26(ActivityThread.java)
System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
System.err:     at android.os.Looper.loop(Looper.java:154)
System.err:     at android.app.ActivityThread.main(ActivityThread.java:6682)
System.err:     at java.lang.reflect.Method.invoke(Native Method)
System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference
System.err:     at org.nativescript.widgets.ViewHelper.setHeight(ViewHelper.java:83)
System.err:     ... 19 more

android

Most helpful comment

@emersonalencar the fix for this bug will be included in the next official release.
Meanwhile, you can test the fix by installing the next tag of tns-core-modules

tns plugin remove tns-core-modules
tns plugin add tns-core-modules@next

Keep in mind that using next is recommended only for testing purposes and you should use only the official versions in production.

Please do let me know if your issue has been resolved after rebuilding the application with the above steps.

All 12 comments

@smarza Does this also affect LiveSync? Because i can no longer use LiveSync since i made the upgrade too. It returns with a white screen.

@smarza the error itself won't help much without an application to debug. Still, you might want to check if you have initialized some elements in a life hook or event that is not triggered on time when the application resumes.

Hi @smarza,
Do you still able to reproduce this behavior on your side? IT would help if you provide an sample project, which could be debugged locally and will allow investigating further the problem.

This is also happening with me, but only on my cell phone, my wife's cell phone is normal and in the emulator as well.
My phone is a Lenovo Android 6

@emersonalencar we need any additional info or even better - a sample project that can reproduce the issue so we could investigate further. Do let me know if you have a project that you can share and that can reproduce the issue with a set of executed steps.

This has bugged me for a while as well. I still can't place my hand as to what may be causing it, but so far, these are my findings:

  • Mainly occurs when I make a change on either HTML and/or CSS files
  • It's on an Angular project. It doesn't occur when I'm making changes to the root component while I'm currently viewing the root component
  • From the errors I get on the console, it appears it's trying to navigate back to the page on which the liveSync was triggered when the app resumes. This fails silently hence the white screen.
  • Surprising to note though, when the App resumes, the previously viewed component gets initialized which ought not to be.
  • I still can't reproduce this but I feel it's being triggered by one of the plugins I use. One of these on my suspect list is the push-plugin. Since it's the only 3rd-party plugin the tells me to hook on to the resume event.
  • Plus all these started after the v3.2.0 upgrade

Folks,
follows the link in the project that contains the error. I noticed that it only works on Android 7.

https://drive.google.com/file/d/0B1DcILXCG2VwYnoxczdWYVhfaXc/view?usp=sharing

@emersonalencar the fix for this bug will be included in the next official release.
Meanwhile, you can test the fix by installing the next tag of tns-core-modules

tns plugin remove tns-core-modules
tns plugin add tns-core-modules@next

Keep in mind that using next is recommended only for testing purposes and you should use only the official versions in production.

Please do let me know if your issue has been resolved after rebuilding the application with the above steps.

@NickIliev I can confirm this fixed my issue. Thanks.

Perfect, corrected the issue. Thank you very much.

Just for the record, installing the latest tns-core-modules fixed the resume crash, but also resulted in some strange side effects. For example, resuming now forces me to log into my app again. Can anyone explain how the resume/crash fix was made so I can determine why I'm losing my state? Thank you!

Edit: Also verified with 3.3.0 - I'll open a new ticket if no ideas in this thread

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pocesar picture pocesar  路  3Comments

nirsalon picture nirsalon  路  3Comments

guillaume-roy picture guillaume-roy  路  3Comments

fmmsilva picture fmmsilva  路  3Comments

dhanalakshmitawwa picture dhanalakshmitawwa  路  3Comments