Install compiler dependencies
brew install automake autoconf libtool libxml2 pkg-config
brew link libxml2
Build libspatialite
apply plugin: "com.android.application" | |
apply plugin: "org.jetbrains.kotlin.android" | |
apply plugin: 'com.google.gms.google-services' | |
apply plugin: "com.facebook.react" | |
project.ext.defaultEnvFile = "env/.dev" | |
project.ext.envConfigFiles = [ | |
devdebug : 'env/.dev', | |
devrelease: 'env/.dev', | |
stagdebug : 'env/.stag', |
import 'dart:math'; | |
import 'package:collect_data/configs/constants/app_url.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:mapbox_gl/mapbox_gl.dart'; | |
class Pair<T1, T2> { | |
final T1 first; | |
final T2 second; |
import React, { useCallback, useEffect, useRef, useState } from "react"; | |
import { Platform, StyleSheet, TouchableOpacity, View } from "react-native"; | |
import Svg, { Circle, Line, Path, Rect } from "react-native-svg"; | |
import Animated, { | |
runOnJS, | |
useAnimatedGestureHandler, | |
useAnimatedProps, | |
useAnimatedStyle, | |
useDerivedValue, | |
useSharedValue, |
import {colors} from '@constants/theme'; | |
import React, {useMemo} from 'react'; | |
import {StyleSheet, TouchableOpacity, View} from 'react-native'; | |
import {BaseButton} from 'react-native-gesture-handler'; | |
import Animated from 'react-native-reanimated'; | |
const Block = props => { | |
const { | |
animated, | |
children, |
import { dimensions } from "@constants/theme"; | |
import React, { useCallback, useEffect, useRef, useState } from "react"; | |
import { ActivityIndicator, Image, Platform, Pressable, StatusBar, StyleSheet, Text, View } from "react-native"; | |
import FastImage from "react-native-fast-image"; | |
import { FlatList, PanGestureHandler, PinchGestureHandler } from "react-native-gesture-handler"; | |
import Animated, { | |
cancelAnimation, | |
runOnUI, | |
scrollTo, | |
useAnimatedGestureHandler, |
import BottomSheet from '@gorhom/bottom-sheet'; | |
import MapboxGL, {Animated, Camera} from '@react-native-mapbox-gl/maps'; | |
import * as turf from '@turf/turf'; | |
import _ from 'lodash'; | |
import React, {useCallback, useEffect, useMemo, useRef, useState} from 'react'; | |
import {Alert, Easing, StyleSheet, Image, View} from 'react-native'; | |
import RNBootSplash from 'react-native-bootsplash'; | |
import { | |
runOnJS, | |
useDerivedValue, |
import React, {useRef, useState} from 'react'; | |
import { | |
Dimensions, | |
Image, | |
InteractionManager, | |
Platform, | |
StyleSheet, | |
} from 'react-native'; | |
import {AnimatedRegion, Marker, Polyline} from 'react-native-maps'; | |
import Animated, { |
const onChangeAvatar = () => { | |
const options = { | |
takePhotoButtonTitle: 'Take Photo', | |
chooseFromLibraryButtonTitle: 'Choose Photo', | |
customButtons: [{name: 'Delete Photo', title: 'Delete Photo'}], | |
storageOptions: { | |
skipBackup: true, | |
path: 'images', | |
}, |