native-agree
Agree to one document (stage 44 step 5), for the mobile app: the version the host gave, its words, a health form’s questions, the tick label and its box, the typed name and, for a document agreed to by drawing, the signature pad. “Agree” hands what the person gave to onAgree, which calls the host (me.agreements.accept). The same logic as the web block (@composable-os/client), drawn with React Native. It decides nothing: the version, whether it is due, who may agree and whether what was given is acceptable are the host’s. What a person types, draws and answers stays in this component’s memory and is cleared once onAgree succeeds.
| Skin | native |
| Pack | the base layer |
| Add it | cos add native-agree |
| Files | agree-screen.tsx, signature-pad.tsx, agreement-step.tsx, LICENSE |
| Depends on | native-base |
| Packages | @composable-os/client |
Operations it calls
Section titled “Operations it calls”Through its hooks; the host decides what each caller may do.
Source: blocks/native-agree.