ODIN is probably more of a problem than ALIS. One could jerry rig a logistics chain, as long as you have access to parts — and parts is an issue with any airframe where you don’t control the supply chain directly. But an F-35 operator is really hamstrung without ODIN.The F-35 definitely will be significantly better than Gripen for that aspect.
Presuming the US doesn't remotely lock you out of ALIS/ODIN connectivity on a whim, of course. "Technically" not a kill switch, but effectively the same thing.
If I were running F-35 procurement for Canada, the only way I would even consider F-35 deliveries today is a deal like Israel managed. They provide their own independent software/cloud support instead of relying on US servers. Avoiding SB territory here, but the risks of relying on US servers should be super obvious.
It's possible that flirting with Gripen is designed to get the US to offer independence from ALIS/ODIN like Israel.
I have long figured that the U.S. will get pressured into providing an API instead of forcing buyers to rely on ODIN. Trump is certainly accelerating that process. It’s only a matter of time before a few important partners/buyers get together and say “we’re out unless you open the ODIN APIs.”