This file contains 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 from "react"; | |
import { Dimensions, StyleSheet, Text, View } from "react-native"; | |
import { PanGestureHandler } from "react-native-gesture-handler"; | |
import Animated, { | |
Easing, | |
Extrapolate, | |
interpolate, | |
useAnimatedGestureHandler, | |
useAnimatedReaction, | |
useAnimatedStyle, |
This file contains 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, { Fragment } from "react"; | |
import { FlatList, StyleSheet, Text, View, Dimensions } from "react-native"; | |
import Animated, { | |
Extrapolate, | |
interpolate, | |
useAnimatedScrollHandler, | |
useAnimatedStyle, | |
useDerivedValue, | |
useSharedValue, | |
} from "react-native-reanimated"; |
This file contains 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 { showToast } from "@common-ui/ToastNotify/ToastManager"; | |
import { useNavigation } from "@react-navigation/native"; | |
import { CHATFROM } from "constant/chat"; | |
import { NAVIGATION } from "constant/navigation"; | |
import * as Notifications from "expo-notifications"; | |
import { useEffect } from "react"; | |
import { Platform } from "react-native"; | |
import * as Device from "expo-device"; | |
/* Hàm dùng để lắng nghe dữ liệu nhận được từ push notification khi click vào |