Storekit crash on iOS 18.2

I got some crashes on firebase console Fatal Exception: NSInvalidArgumentException -[NSNull length]

the code stack show the StoreKit and the systems are all 18.2.

I haven't update to storekit2, but it shouldn't crash for storekit1.

Look like "applicationUserName" set to null will crash.

Wow, I had the same problem and setting applicationUserName worked for me. But I hope this issue can be fixed on the operating system side, otherwise my older version of the app will crash after upgrading to iOS 18.2.

Storekit crash on iOS 18.2
 
 
Q