NTP-34529 | Old Feedback not visible fix (#1082)
This commit is contained in:
4
.github/workflows/codePush.yml
vendored
4
.github/workflows/codePush.yml
vendored
@@ -56,10 +56,10 @@ jobs:
|
||||
run: appcenter login --token ${{ secrets.APP_CENTER_LOGIN_TOKEN }}
|
||||
- name: CodePush QA
|
||||
if: ((github.event.inputs.environment == 'QA' || inputs.environment == 'QA'))
|
||||
run: yarn move:qa && appcenter codepush release-react -a nfa-navi.com/nfa-app -d Staging -t "${{github.event.inputs.target_versions}}" --description "${{github.event.inputs.description}}"
|
||||
run: yarn move:qa && yarn prepare-codepush-field-build && appcenter codepush release-react -a nfa-navi.com/nfa-app -d Staging -t "${{github.event.inputs.target_versions}}" --description "${{github.event.inputs.description}}"
|
||||
- name: CodePush Prod
|
||||
if: ((github.event.inputs.environment == 'Prod' || inputs.environment == 'Prod'))
|
||||
run: yarn move:prod && appcenter codepush release-react -a nfa-navi.com/nfa-app -d Production -t "${{github.event.inputs.target_versions}}" --description "${{github.event.inputs.description}}"
|
||||
run: yarn move:prod && yarn prepare-codepush-field-build && appcenter codepush release-react -a nfa-navi.com/nfa-app -d Production -t "${{github.event.inputs.target_versions}}" --description "${{github.event.inputs.description}}"
|
||||
|
||||
generate_source_map:
|
||||
needs: generate
|
||||
|
||||
@@ -1 +1 @@
|
||||
233
|
||||
234
|
||||
@@ -1 +1 @@
|
||||
2.17.0
|
||||
2.17.1
|
||||
@@ -34,7 +34,8 @@
|
||||
"copy-tele-assets": "cp buildFlavor/tele/buildNumber.txt ./ && cp buildFlavor/tele/buildVersion.txt ./ ",
|
||||
"copy-field-assets": "cp buildFlavor/field/buildNumber.txt ./ && cp buildFlavor/field/buildVersion.txt ./ ",
|
||||
"prepare-tele-build": "yarn copy-tele-assets && chmod +x ./scripts/buildScript.sh && ./scripts/buildScript.sh",
|
||||
"prepare-field-build": "yarn copy-field-assets && chmod +x ./scripts/buildScript.sh && ./scripts/buildScript.sh"
|
||||
"prepare-field-build": "yarn copy-field-assets && chmod +x ./scripts/buildScript.sh && ./scripts/buildScript.sh",
|
||||
"prepare-codepush-field-build": "ls && yarn copy-field-assets && chmod +x ./scripts/codepushBuildScript.sh && ./scripts/codepushBuildScript.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bam.tech/react-native-image-resizer": "3.0.5",
|
||||
|
||||
9
scripts/codepushBuildScript.sh
Executable file
9
scripts/codepushBuildScript.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
ENV_BUILD_NUMBER=`cat ./buildNumber.txt`
|
||||
ENV_BUILD_VERSION=`cat ./buildVersion.txt`
|
||||
|
||||
# Use double quotes so variables are expanded
|
||||
sed -i "s/^\(def VERSION_CODE = \).*/\1${ENV_BUILD_NUMBER}/" android/app/build.gradle
|
||||
sed -i "s/^\(def VERSION_NAME = \).*/\1\"${ENV_BUILD_VERSION}\"/" android/app/build.gradle
|
||||
|
||||
sed -i 's/"version": "[^"]*"/"version": "'${ENV_BUILD_VERSION}'"/' ./package.json
|
||||
sed -i 's/"buildNumber": "[^"]*"/"buildNumber": "'${ENV_BUILD_NUMBER}'"/' ./package.json
|
||||
@@ -89,14 +89,14 @@ const AddressGeolocation: React.FC<IAddressGeolocation> = ({ route: routeParams
|
||||
|
||||
useEffect(() => {
|
||||
if (isOnline) {
|
||||
getGroupedAddresses();
|
||||
dispatch(getAddressesAndGeolocations(loanAccountNumber, caseId, caseBusinessVertical, true));
|
||||
dispatch(getUngroupedAddress(loanAccountNumber, caseId, caseBusinessVertical, true));
|
||||
dispatch(getSkipTracingAddress(loanAccountNumber, caseId, caseBusinessVertical, true));
|
||||
}
|
||||
}, [retryBtnToggle, isOnline]);
|
||||
|
||||
useEffect(() => {
|
||||
addClickstreamEvent(CLICKSTREAM_EVENT_NAMES.FA_ALL_ADDRESSES_LANDED, commonParams);
|
||||
dispatch(getUngroupedAddress(loanAccountNumber, caseId, caseBusinessVertical, true));
|
||||
dispatch(getSkipTracingAddress(loanAccountNumber, caseId, caseBusinessVertical, true));
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user