Skip to content

Instantly share code, notes, and snippets.

@B3rry
B3rry / app.js
Created August 22, 2018 00:03
RN Accessible Keyboard Events
import React from 'react';
import { StyleSheet, Text, View, TouchableOpacity } from 'react-native';
export default class App extends React.Component {
constructor(props) {
super(props);
this.state = {totalCount: 0};
}

Amida Design Test

Problem

A user of our medical survey application needs to review, understand, and accept (actively agree to) each of the individual consent criterion needed to use the web app. Consent criterion may be things such as "We will email you" or "we will save your health data in a secure server." The intent is achieve two goals:

  • Inform a user (using text and a pictographic representation) of what they are agreeing to with each criterion.
  • Accept the criteria a state change (functionally, a checkbox).

Permissions have been divided into categories (such as "Methods of Contact" or "Medical Data Collected"). Each category will get its own view, with all the criteria for this category displayed at once. The user will review and agree to each of the individual criterion within a category provided the following components:

  1. Category Description: A text description of the criteria set. EX: "Contact Methods", "Medical Data", "Sharing Data" (Text, 0-50 characters).

Keybase proof

I hereby claim:

  • I am B3rry on github.
  • I am b3rry (https://keybase.io/b3rry) on keybase.
  • I have a public key whose fingerprint is 5CD2 FB08 4318 7A6C 2927 50DA 6FEE E295 4935 3723

To claim this, I am signing this object: