Skip to content

Crash happened when we give .addOnly permission and try to open AssestController in iOS 15.2 #108

@DeepthiJonnagaddla

Description

@DeepthiJonnagaddla

Please find the details.

To reproduce the issue set permission to .addOnly.
Uploading Screenshot 2022-03-16 at 3.57.59 PM.png…

2022-03-16 15:48:27.362397+0530 SocialChains[83126:1297980] 🔵AssetsPhotoViewController+UI.updateEmptyView:29 - emptyView.isHidden: true, count: 0
2022-03-16 15:48:27.363023+0530 SocialChains[83126:1297980] 🔵AssetsPhotoViewController+UI.updateNoPermissionView:34 - isHidden: false
2022-03-16 15:48:27.377740+0530 SocialChains[83126:1297980] 🔵AssetsPhotoViewController.viewSafeAreaInsetsDidChange:218 - UIEdgeInsets(top: 44.0, left: 0.0, bottom: 0.0, right: 0.0)
2022-03-16 15:48:27.393859+0530 SocialChains[83126:1297980] 🔵AssetsPhotoViewController.viewSafeAreaInsetsDidChange:218 - UIEdgeInsets(top: 92.0, left: 0.0, bottom: 34.0, right: 0.0)
2022-03-16 15:48:27.405653+0530 SocialChains[83126:1297980] 🔵AssetsPhotoViewController+UI.updateEmptyView:29 - emptyView.isHidden: true, count: 0
2022-03-16 15:48:27.426745+0530 SocialChains[83126:1297980] 🔵AssetsPhotoViewController+UI.updateNoPermissionView:34 - isHidden: false
2022-03-16 15:48:27.428891+0530 SocialChains[83126:1298191] 💥AssetsManager.fetchDefaultAlbums:714 - Is this case could happen? Please raise an issue if you've met this message.
2022-03-16 15:48:27.429808+0530 SocialChains[83126:1298191] 💥AssetsManager.fetchDefaultAlbums:714 - Is this case could happen? Please raise an issue if you've met this message.
2022-03-16 15:48:27.432600+0530 SocialChains[83126:1298191] 💥AssetsManager.fetchDefaultAlbums:714 - Is this case could happen? Please raise an issue if you've met this message.
2022-03-16 15:48:27.433516+0530 SocialChains[83126:1298725] 💥AssetsManager.fetchAlbumsAsync:820 - Is this case could happen? Please raise an issue if you've met this message.
2022-03-16 15:48:27.434079+0530 SocialChains[83126:1298191] 💥AssetsManager.fetchDefaultAlbums:714 - Is this case could happen? Please raise an issue if you've met this message.
AssetsPickerViewController/AssetsManager.swift:658: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
2022-03-16 15:48:27.434523+0530 SocialChains[83126:1298725] 💥AssetsManager.fetchAlbumsAsync:820 - Is this case could happen? Please raise an issue if you've met this message.
2022-03-16 15:48:27.434945+0530 SocialChains[83126:1297980] AssetsPickerViewController/AssetsManager.swift:658: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
2022-03-16 15:48:27.435715+0530 SocialChains[83126:1298191] 💥AssetsManager.fetchAlbumsAsync:820 - Is this case could happen? Please raise an issue if you've met this message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions