Bridge No-Codes loadScreen, defaultVariables and custom action event (DEV-1191) - #70
Merged
SpertsyanKM merged 2 commits intoJul 17, 2026
Conversation
…(DEV-1191) Bump sandwich to 7.10.1. loadScreen(contextKey) resolves with a typed NoCodesScreen (id, contextKey, defaultSelectedProductId, typed defaultVariables). Custom builder actions surface via the optional onCustomAction listener callback fed by the new nocodes_custom_action event. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KQEJXqfVNxqoUcKXhSPhWn
Contributor
Author
|
Verification notes:
Happy to fix the two verify paths in a follow-up if wanted. |
…, ClientError code (DEV-1191) The empty-data guard now rejects with ScreenLoadingFailed instead of an empty resolve, and a nil sandwich rejects with SDKInitializationError. Map the ClientError code both natives emit since sandwich 7.10.1 and extend the NoCodeEvent payload union with QNoCodeCustomActionInfo. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KQEJXqfVNxqoUcKXhSPhWn
Contributor
Author
|
Review addressed: the empty-data guard rejects with |
SpertsyanKM
deleted the
kamo/dev-1191-capacitor-no-codes-loadscreen-defaultvariables-and-custom
branch
July 17, 2026 11:57
SpertsyanKM
added a commit
that referenced
this pull request
Jul 17, 2026
…ction feature and review fixes (DEV-1191) The feature PR #70 landed in main (repo default) while the one-click release flow cuts from develop — converge so the 1.6.0 release carries the feature. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KQEJXqfVNxqoUcKXhSPhWn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the No-Codes API from sandwich 7.10.1 (native iOS 6.13.0 / Android nocodes 1.10.0) into the Capacitor layer.
DEV-1191
Changes
NoCodes.loadScreen(contextKey): Promise<NoCodesScreen>— load-before-present; the screen model exposesid,contextKey,defaultSelectedProductIdand typeddefaultVariables(kind/key/type/value/stringValue) with adefaultVariable(key, kind?)lookup mirroring the native SDKs. Presenting stays onshowScreen(served from cache). New plugin method registered inpluginMethods(iOS) /@PluginMethod(Android); iOS resolves the sandwich completion, Android usescall.toResultListener().nocodes_custom_actionevent → optionalonCustomAction(value)callback onNoCodesListener(nativenoCodesEventenvelope is generic, TS-only change for the event).Verification
yarn build(tsc + rollup, the publish gate) ✅; eslint delta on touched files kept at the level of the surrounding pre-existing debtverify:android/verify:ios— running, will report in a comment🤖 Generated with Claude Code
https://claude.ai/code/session_01KQEJXqfVNxqoUcKXhSPhWn