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
# Resolve react_native_pods.rb with node to allow for hoisting | |
require Pod::Executable.execute_command('node', ['-p', | |
'require.resolve( | |
"react-native/scripts/react_native_pods.rb", | |
{paths: [process.argv[1]]}, | |
)', __dir__]).strip | |
platform :ios, 13.4 | |
prepare_react_native_project! |
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
package com.rnmaps.maps; | |
import android.app.Activity; | |
import android.graphics.Bitmap; | |
import android.graphics.Point; | |
import android.location.Address; | |
import android.location.Geocoder; | |
import android.net.Uri; | |
import android.util.Base64; | |
import android.util.DisplayMetrics; |
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, { FC, memo } from 'react'; | |
import { LayoutChangeEvent, StyleSheet, View, ViewStyle } from 'react-native'; | |
import Animated, { Easing } from 'react-native-reanimated'; | |
const { Value, Clock, block, cond, set, startClock, timing, eq } = Animated; | |
type DimensionUnit = string | number; | |
type EdgePosition = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'; | |
interface Props { |
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
// more info https://stackoverflow.com/a/30524915/14745811 | |
const arr = x => Array.from(x); | |
const num = x => Number(x) || 0; | |
const str = x => String(x); | |
const isEmpty = xs => xs.length === 0; | |
const take = n => xs => xs.slice(0, n); | |
const drop = n => xs => xs.slice(n); | |
const reverse = xs => xs.slice(0).reverse(); | |
const comp = f => g => x => f(g(x)); |
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
export const Cartrip = [ | |
{ | |
TripInfoID: 33798, | |
driver: "347722874183", | |
CarID: 646, | |
Speed: 4.0, | |
Lt: 20.800825, | |
Ln: 106.903534, | |
Oil: 427, | |
Acc: "Bật", |