SwiftSDK icon indicating copy to clipboard operation
SwiftSDK copied to clipboard

isAppStore seems to return true only when running via TestFlight

Open ralfebert opened this issue 3 years ago • 1 comments

Signal#isAppStore seems to be wrong in the latest release - it checks for the app store receipt and only returns true if it is named 'sandboxReceipt' which is only the case when running via TestFlight...

https://github.com/TelemetryDeck/SwiftClient/blob/1b93eba467a55f1c2be6fe7d5c41b1bfbd389969/Sources/TelemetryClient/Signal.swift#L128

ralfebert avatar Sep 01 '22 13:09 ralfebert

Thanks! There have been wayyy to many problems with isAppStore, maybe it's time to retire that.

winsmith avatar Sep 24 '22 20:09 winsmith

This was fixed by https://github.com/TelemetryDeck/SwiftClient/commit/227570d973ddfda4f98e9d7064961eb8af036d7d right?

Sherlouk avatar Feb 22 '23 15:02 Sherlouk

Correct! Thanks!

winsmith avatar Feb 22 '23 18:02 winsmith