-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
IOS app for NS 7 crashes after user confirm photo #250
Comments
Still stuck with the issue. I had to bypass some code to make the plugin working. Here is my workaround.
This works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
"nativescript": "^7.0.8",
"@nativescript/core": "^7.0.7",
"@nativescript/ios": "7.0.0",
"@nativescript/camera": "^5.0.0",
In a plain JS app, when taking a picture, the iOS version of the app crashes with the message " NativeScriptError: TypeError: Cannot read property 'creationDate' of undefined". The crash happens after taking the photo, when the user confirms the picture. The android version works without issues. The app was working fine before upgrading to NS 7.
To Reproduce
Inspecting the camera plugin code, the error happens in line 54:
Debugging, fetchResult.count is > 0 but asset is undefined (thus the error).
The text was updated successfully, but these errors were encountered: