Shopify / mobile-buy-sdk-ios

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
MIT License
453 stars 198 forks source link

FulfillmentTrackingInfo url which contains Non-Alphanumeric characters such as "#" causes crash #1190

Open ali-ozden opened 1 year ago

ali-ozden commented 1 year ago

Mobile-Buy-SDK/Buy/Generated/Storefront/FulfillmentTrackingInfo.swift:68:30

Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value

Mobile Buy Sdk version = "9.0.0" Schema version = "2022-10"

Tracking url which has non-alphanumeric characters causes nil URL for method return URL(string: value)! in FulfillmentTrackingInfo.swift class

Screen Shot 2023-01-16 at 16 08 07

example url; https://www.logistics.dhl/us-en/home/tracking.html?tracking-id=#TrackingNumber#

Screenshot 2023-01-16 at 14 36 08 (1)