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 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, |
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, {useRef, useState} from 'react'; | |
| import { | |
| Dimensions, | |
| Image, | |
| InteractionManager, | |
| Platform, | |
| StyleSheet, | |
| } from 'react-native'; | |
| import {AnimatedRegion, Marker, Polyline} from 'react-native-maps'; | |
| import Animated, { |
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
| const onChangeAvatar = () => { | |
| const options = { | |
| takePhotoButtonTitle: 'Take Photo', | |
| chooseFromLibraryButtonTitle: 'Choose Photo', | |
| customButtons: [{name: 'Delete Photo', title: 'Delete Photo'}], | |
| storageOptions: { | |
| skipBackup: true, | |
| path: 'images', | |
| }, |
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 BottomSheet from '@gorhom/bottom-sheet'; | |
| import React from 'react'; | |
| import {StyleSheet, View} from 'react-native'; | |
| import RNBootSplash from 'react-native-bootsplash'; | |
| import {createNativeWrapper} from 'react-native-gesture-handler'; | |
| import WebView from 'react-native-webview'; | |
| import {dimensions} from '../../constants/theme'; | |
| const Wrapper = createNativeWrapper(WebView); | |
| const WebViewTest = () => { |
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
| // | |
| // CBNative.h | |
| // ecoffice | |
| // | |
| // Created by Suni on 4/13/21. | |
| // | |
| #import <React/RCTBridgeModule.h> | |
| @interface CBNative : NSObject <RCTBridgeModule> |
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.ecoffice.modules; | |
| import android.content.pm.PackageManager; | |
| import com.ecoffice.utils.DeviceUtil; | |
| import com.ecoffice.widgets.ProgressDialog; | |
| import com.facebook.react.bridge.ReactApplicationContext; | |
| import com.facebook.react.bridge.ReactContextBaseJavaModule; | |
| import com.facebook.react.bridge.ReactMethod; |
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
| // | |
| // CBLocation.h | |
| // ecoffice | |
| // | |
| // Created by Suni on 4/13/21. | |
| // | |
| #import <React/RCTBridgeModule.h> | |
| #import <React/RCTEventEmitter.h> |
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.new_farm; | |
| import android.annotation.SuppressLint; | |
| import android.app.PendingIntent; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.IntentFilter; | |
| import android.hardware.usb.UsbAccessory; | |
| import android.hardware.usb.UsbManager; |
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 'package:flutter/material.dart'; | |
| class Ticket extends StatelessWidget { | |
| final double margin; | |
| final double borderRadius; | |
| final double clipRadius; | |
| final double smallClipRadius; | |
| final double ticketHeight; | |
| final int numberOfSmallClips; | |
| final Widget child; |
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 SwiftUI | |
| import UIKit | |
| import PieCharts | |
| struct ContentView: View { | |
| @State private var shouldAnimate = false | |
| var body: some View { |