Install compiler dependencies
brew install automake autoconf libtool libxml2 pkg-config
brew link libxml2
Build libspatialite
| outlineProvider = object : ViewOutlineProvider() { | |
| override fun getOutline(view: View, outline: Outline?) { | |
| if (view.width <= 0 || view.height <= 0 || outline == null) return | |
| if (tlPx == trPx && trPx == brPx && brPx == blPx) { | |
| outline.setRoundRect(0, 0, view.width, view.height, tlPx) | |
| return | |
| } | |
| val path = android.graphics.Path() |
| import { useCallback } from 'react'; | |
| import { | |
| Easing, | |
| useAnimatedStyle, | |
| useDerivedValue, | |
| useSharedValue, | |
| withRepeat, | |
| withSequence, | |
| withSpring, | |
| withTiming, |
| import React, {useCallback, useMemo, useRef} from 'react'; | |
| import {StyleSheet, Text, View} from 'react-native'; | |
| import Animated, { | |
| configureReanimatedLogger, | |
| ReanimatedLogLevel, | |
| useSharedValue, | |
| withDelay, | |
| withSpring, | |
| } from 'react-native-reanimated'; |
| 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, |