NTP-47546 | Code Push Changes | Yash (#1121)

Co-authored-by: Aman Singh <aman.singh@navi.com>
This commit is contained in:
Mantri Ramkishor
2025-04-09 15:52:15 +05:30
committed by GitHub
parent b5189f13f7
commit 6971771053
18 changed files with 488 additions and 110 deletions

View File

@@ -2,12 +2,16 @@ import { COLORS } from '@rn-ui-lib/colors';
import ProgressBar from './ProgressBar';
import React, { forwardRef, useImperativeHandle, useState } from 'react';
import { View, StyleSheet, ActivityIndicator } from 'react-native';
import { DownloadProgress } from 'react-native-code-push';
import ModalWrapperForAlfredV2 from '@common/ModalWrapperForAlfredV2';
import Text from '@rn-ui-lib/components/Text';
import NaviLogoWithTextIcon from '@rn-ui-lib/icons/NaviLogoWithTextIcon';
import { GenericStyles } from '@rn-ui-lib/styles';
interface DownloadProgress {
totalBytes: number;
receivedBytes: number;
}
export interface CodePushLoadingModalRef {
show: () => void;
hide: () => void;