/tmp$ git clone https://github.com/wodin/expo-zip-example
Cloning into 'expo-zip-example'...
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 38 (delta 15), reused 38 (delta 15), pack-reused 0
Receiving objects: 100% (38/38), 170.29 KiB | 369.00 KiB/s, done.
Resolving deltas: 100% (15/15), done.
/tmp$ cd expo-zip-example
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
| Traffic Light* | |
| Working* | |
| fail -> Error | |
| Green* | |
| tick -> Yellow | |
| Yellow | |
| tick -> Red |
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
| require 'English' | |
| namespace :db do # rubocop:disable Metrics/BlockLength | |
| task :prevent_disparate_pg_dump_versions => :environment do | |
| allowed_pg_dump_version = '9.6.10'.freeze | |
| `pg_dump --version` | |
| pg_dump_exit_status = $CHILD_STATUS.exitstatus | |
| locally_installed_version = `pg_dump --version`.chomp[/(\d.*)/,1] rescue nil |
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
| Devices | |
| logout -> Not Authenticated | |
| Home* | |
| scan -> Scan Barcode | |
| Scan Barcode | |
| fail -> Scan Barcode | |
| succeed -> Resolving Patient |
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
| Snapshot | |
| logout -> Login Page | |
| summary -> Summary | |
| Reports* | |
| students -> Students | |
| standards -> Standards | |
| Summary* |
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
| # Ignore isMuted, volume, positionMillis, rate, etc. for now | |
| Audio Player* | |
| Unloaded* | |
| # Call Audio.Sound.createAsync() | |
| # Should start getting status updates | |
| load -> Loading | |
| Loading | |
| # e.g. navigate away, need to clean up |
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
| import React, { useEffect, useState } from "react"; | |
| import { View } from "react-native"; | |
| import { | |
| Button, | |
| FAB, | |
| Provider as PaperProvider, | |
| Text | |
| } from "react-native-paper"; | |
| import { Updates } from "expo"; | |
| import { SafeAreaProvider, useSafeArea } from "react-native-safe-area-context"; |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import csv | |
| import json | |
| from collections import OrderedDict | |
| # !type | |
| # !group_id | |
| # !group_name |
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
| /* | |
| * Convert `app.json` to `app.config.js` | |
| * Install `@expo/config-plugins` as a devDependency | |
| * Copy the `withAndroidApplicationAttributes` config plugin and related `addAttributesToApplication` function to `app.config.js` | |
| * Add a `plugins` section to reference the config plugin and specify the attribute to add | |
| * Build with `eas build -p android ...` | |
| */ | |
| import { AndroidConfig, withAndroidManifest } from "@expo/config-plugins"; | |
| function addAttributesToApplication(androidManifest, attributes) { |
Patches to get https://framagit.org/StCyr/deck-react-native building
- Add Simulator profiles
- Remove
eas-cliandexpo-clidependencies - Reinstall dependencies
OlderNewer