Closed sanderschnydrig closed 2 years ago
I know nothing about Swift but some things about null safety.
Changing this line to the following resolved the crash for me:
coverImage = UIImage(contentsOfFile: urlPath!) ?? UIImage();
I know nothing about Swift but some things about null safety.
Changing this line to the following resolved the crash for me:
coverImage = UIImage(contentsOfFile: urlPath!) ?? UIImage();
i'm not able to test plugin on ios so i will make blind push with your information.
Running the app on an iPhone 5s simulator with iOS 12.4 produces the following runtime error in Xcode:
concerning the following Code:
I guess iPhones of older architecture are handling null safety differently or not at all. Is there a way to handle this without the app crashing?