-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on iOS 14.4 when selecting 'Cancel' or 'Done' #83
Comments
@davecoffin Any help would be appreciated as this will heavily impact our app. Thank you. |
Do you have a catch block in your code? like .catch( after .then? I removed it and no longer having the crashing error. |
@enich-dev did this work for you? |
I tried @pandabuilt's suggestion and it didn't work, the app still crashes when tapping the Done button on the date picker modal even when the catch block is removed. Here is the code:
Interestingly, it doesn't make it into the then or catch functions when it crashes, nor does it show any errors in the logs. It simply quits the app. Then if I reopen the app, the date picker works fine. Forcing a rebuild of my app causes it to error again when I tap the Done button in the date picker modal. Some observations that I had that contradict others' experiences in this ticket:
Was anyone able to get past this error? |
Nevermind, I stand corrected. It's reopening the app that works not my removal of the catch block. |
i have the same error... |
Hey all, unfortunately my team and I did not have time to dig into this further and we decided to use NativeScript's own datetimepicker that can be found here. In doing so, we are no longer seeing crashes. I hope this will help others as well. Thanks. |
i have the same problem. |
@Atomico001 As @enich-dev suggested, switch to NativeScript's datetimepicker. It works much better. |
Thanks you, i have a problem... other plugin ask me the "context", i tried application context but doesn't work.. any idea? |
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
tns --version
to fetch it)node_modules/@nativescript/core/package.json
file in your project)"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project)package.json
file of yourproject and paste your dependencies and devDependencies here)
dependencies:
"@nativescript/appversion": "2.0.0",
"@nativescript/core": "7.3.0",
"@nativescript/webpack": "4.1.0",
"moment": "2.29.1",
"moment-timezone": "0.5.33",
"nativescript-modal-datetimepicker": "2.1.5", <-- (I tried lower versions as well, like 2.0.1)
devDependencies:
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.2.0",
CLI: 7.2.1
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Is there any code involved?
The text was updated successfully, but these errors were encountered: