appwrite/sdk-for-apple

๐Ÿ› Bug Report: getSession() crash after unwrap null value

chuiizeet opened this issue ยท 1 comments

๐Ÿ‘Ÿ Reproduction steps

call getSessions() or getSession(sessionsId:)

๐Ÿ‘ Expected behavior

Get Session object

๐Ÿ‘Ž Actual Behavior

Could not cast value of type 'NSNull' (0x7fa3b980b430) to 'NSString' (0x7fa3c8036140).

Screen Shot 2022-04-26 at 16 42 00
Screen Shot 2022-04-26 at 16 41 51

๐ŸŽฒ Appwrite version

Different version (specify in environment)

๐Ÿ’ป Operating system

MacOS

๐Ÿงฑ Your Environment

Appwrite 0.13.x
Xcode 13.2.1 (13C100)
iOS 15

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

This should no longer be an issue with Appwrite 0.14+ ๐Ÿ‘