You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i lock my phone and activity pauses
It sometimes crashes after unlocking and resuming activity
Reproduction
No response
Relevant log output (if applicable)
[nativescript-platform-css] Injected classes: android,android400,screen400,xiaomim2007j20cg into Page
RESUME
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method run failed
System.err: TypeError: Cannot read properties of null (reading 'frame')
System.err:
System.err: StackTrace:
System.err: setCurrent(file: app/webpack:/cnick/node_modules/.pnpm/@nativescript+core@8.8.2/node_modules/@nativescript/core/ui/frame/frame-common.js:209:0)
System.err: at setCurrent(file: app/webpack:/cnick/node_modules/.pnpm/@nativescript+core@8.8.2/node_modules/@nativescript/core/ui/frame/index.android.js:283:0)
System.err: at (file: app/webpack:/cnick/node_modules/.pnpm/@nativescript+core@8.8.2/node_modules/@nativescript/core/ui/frame/fragment.transitions.android.js:592:0)
System.err: at invoke(file: app/webpack:/cnick/node_modules/.pnpm/@nativescript+core@8.8.2/node_modules/@nativescript/core/timer/index.android.js:22:0)
System.err: at run(file: app/webpack:/cnick/node_modules/.pnpm/@nativescript+core@8.8.2/node_modules/@nativescript/core/timer/index.android.js:26:0)
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1175)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1153)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1149)
System.err: at com.tns.gen.java.lang.Runnable.run(Runnable.java:17)
System.err: at android.os.Handler.handleCallback(Handler.java:959)
System.err: at android.os.Handler.dispatchMessage(Handler.java:100)
System.err: at android.os.Looper.loopOnce(Looper.java:232)
System.err: at android.os.Looper.loop(Looper.java:317)
System.err: at android.app.ActivityThread.main(ActivityThread.java:8592)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Environment
OS: Linux ManjaroCPU: REDACTEDnode: 22.8.0npm: 10.8.2nativescript: Not Found ( it is in pnpm )# androidjava: javac 23ndk: Not Foundapis: 26, 33, 33, 34build_tools: 26.0.0, 30.0.3, 33.0.0, 33.0.2, 34.0.0, 35.0.0system_images:
- android-32 | Google APIs Intel x86_64 Atom
- android-33 | Google Play Intel x86_64 Atom# iosxcode: Not Foundcocoapods: Not Foundpython: 3.12.5python3: 3.12.5ruby: 3.2.5platforms: Not Found
In my example I open a SFSafariViewController which switches the app to background when opened. This crashes the app. I see the crashes randomly in production when the app is brought to foreground. However, I see it regularly when using iOS 18 or 18.1 simulator (hence cannot run my app on such simulators anymore) but interestingly not in simulators with older iOS version. The problem seems to exist since NS 8.8
Issue Description
When i lock my phone and activity pauses
It sometimes crashes after unlocking and resuming activity
Reproduction
No response
Relevant log output (if applicable)
Environment
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: