-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FL-3953] Application chaining #4105
base: dev
Are you sure you want to change the base?
Conversation
Compiled f7 firmware for commit |
Can this be used to have FAPs run system apps like a "stack", for example launching Passport and then returning to my custom app when it closes? |
in theory yes. Originally it was implemented for nfc->mfkey->nfc chaining |
My "real" question in here is - if system apps can be loaded and my app re-launches after that system app terminates, this enables people to create custom desktops, which I think is a pretty nice use case for a feature like this. |
this specific PR is not going to solve your problem. But it can be improved to do so in future |
@CookiePLMonster unfortunately no. That would require Passport to explicitly launch you after itself. I don't think we need to be implementing that "app stack" with automatic returns within the Loader. |
@CookiePLMonster looks like your use case might be possible after the latest commit |
With the new API, can we obtain the return code of a last enqueued application once ours relaunches? Or is this information lost? |
fails with deadlock from file browser (left button) |
What's new
Verification
./fbt launch APPSRC=loader_chaining_b
. This app will should exit immediately when launched like that../fbt launch APPSRC=loader_chaining_a
. Run through each of the 5 choices:Checklist (For Reviewer)