I want to add aircraft-specific functions to the EFB, but the apps are all global. What is the recommended method to limit an app to just my aircraft?
I see that App!install
can probably reject the promise and fail installation, but how should I best detect my aircraft?
All I’ve come up with so far is a GUID-named L:Var which is set by the aircraft, but I think this will suffer from timing depending on when the aircraft loads. Checking ATC MDOEL &friends might work but will pick up incompatible third party aircraft of the same model. My app also won’t be available while the EFB is used on the main menu (with the correct aircraft selected).
I guess maybe I’m missing some better way to accomplish this? I realize I could check when the app is launched, but subjecting everybody to an H225 Aircraft App
all the time seems like a bad idea too. Could I plug in to the Aircraft app itself somehow?