Skip to content

Commit

Permalink
Merge branch 'master' into IOBP-1020-using-optimistic-ui-for-remove-p…
Browse files Browse the repository at this point in the history
…ayment-method-action
  • Loading branch information
LeleDallas committed Dec 4, 2024
1 parent 7b628b9 commit d2c756a
Show file tree
Hide file tree
Showing 193 changed files with 1,432 additions and 957 deletions.
5 changes: 2 additions & 3 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ WALLET_API_BASEURL='http://127.0.0.1:3000'
# Wallet V3 test/env RESTful API
WALLET_API_UAT_BASEURL='https://api.uat.platform.pagopa.it'
# IT Wallet
ITW_TRIAL_ID="01J2GN4TA8FB6DPTAX3T3YD6M1"
ITW_WALLET_PROVIDER_BASE_URL="https://api-app.io.pagopa.it/api/v1/wallet"
ITW_PID_PROVIDER_BASE_URL="https://pre.eid.wallet.ipzs.it"
ITW_EAA_PROVIDER_BASE_URL="https://pre.eaa.wallet.ipzs.it"
Expand All @@ -100,9 +99,9 @@ ITW_BYPASS_IDENTITY_MATCH=YES
ITW_IDP_HINT_TEST=YES
# IPZS Privacy Policy URL
ITW_IPZS_PRIVACY_URL='https://io.italia.it/informativa-ipzs'
# ITW Trial Privacy Policy URL
# ITW Privacy Policy URL
ITW_PRIVACY_URL='https://io.italia.it/informativa-sperimentazione'
# ITW Trial TOS URL
# ITW TOS URL
ITW_TOS_URL='https://io.italia.it/tos-sperimentazione'
# ITW Documents on IO URL
ITW_DOCUMENTS_ON_IO_URL='https://io.italia.it/documenti-su-io'
5 changes: 2 additions & 3 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ WALLET_API_BASEURL='https://api.platform.pagopa.it'
# Wallet test/env RESTful API
WALLET_API_UAT_BASEURL='https://api.uat.platform.pagopa.it'
# IT Wallet
ITW_TRIAL_ID="01J2GN4TA8FB6DPTAX3T3YD6M1"
ITW_WALLET_PROVIDER_BASE_URL="https://api-app.io.pagopa.it/api/v1/wallet"
ITW_PID_PROVIDER_BASE_URL="https://eid.wallet.ipzs.it"
ITW_EAA_PROVIDER_BASE_URL="https://eaa.wallet.ipzs.it"
Expand All @@ -100,9 +99,9 @@ ITW_BYPASS_IDENTITY_MATCH=NO
ITW_IDP_HINT_TEST=NO
# IPZS Privacy Policy URL
ITW_IPZS_PRIVACY_URL='https://io.italia.it/informativa-ipzs'
# ITW Trial Privacy Policy URL
# ITW Privacy Policy URL
ITW_PRIVACY_URL='https://io.italia.it/informativa-sperimentazione'
# ITW Trial TOS URL
# ITW TOS URL
ITW_TOS_URL='https://io.italia.it/tos-sperimentazione'
# ITW Documents on IO URL
ITW_DOCUMENTS_ON_IO_URL='https://io.italia.it/documenti-su-io'
2 changes: 1 addition & 1 deletion .github/workflows/release-new-cycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
fi
- id: push-tags
run: |
git push --no-verify --follow-tags origin HEAD:${{ github.head_ref }}
git push --no-verify --follow-tags origin HEAD:${GITHUB_REF#refs/heads/}
- id: github-release-creation
run: |
APP_VERSION=$(node -p -e "require('./package.json').version")
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [2.79.0-rc.1](https://github.com/pagopa/io-app/compare/2.79.0-rc.0...2.79.0-rc.1) (2024-12-03)


### Chores

* **Cross:** [[IOAPPX-414](https://pagopa.atlassian.net/browse/IOAPPX-414)] Add `NativeStackNavigator` to the Design System section ([#6340](https://github.com/pagopa/io-app/issues/6340)) ([ac9c2bd](https://github.com/pagopa/io-app/commit/ac9c2bd53c6ade076f2e0b490a495e84fc8228f8))
* [[IOBP-1040](https://pagopa.atlassian.net/browse/IOBP-1040)] Update the latest receipt list everytime the user closes the success outcome ([#6485](https://github.com/pagopa/io-app/issues/6485)) ([446cabc](https://github.com/pagopa/io-app/commit/446cabce84ff97569dbe8b705f650f61583c0b6d))
* [[IOPLT-778](https://pagopa.atlassian.net/browse/IOPLT-778)] Adds possible webUrl action on StatusMessage component ([#6453](https://github.com/pagopa/io-app/issues/6453)) ([0b3b8e3](https://github.com/pagopa/io-app/commit/0b3b8e396b27870e51a28ae3b8ad0e7307b9845b))
* [[IOPLT-780](https://pagopa.atlassian.net/browse/IOPLT-780)] Adds `react-native-store-review` library to request on demand review ([#6486](https://github.com/pagopa/io-app/issues/6486)) ([6b11464](https://github.com/pagopa/io-app/commit/6b114641879503c0cc315610c077b02214d07c7b))

## [2.79.0-rc.0](https://github.com/pagopa/io-app/compare/2.78.0-rc.12...2.79.0-rc.0) (2024-12-03)


### Bug Fixes

* [[IOBP-1021](https://pagopa.atlassian.net/browse/IOBP-1021)] Show retry banner when all the other cards fetch fails ([#6478](https://github.com/pagopa/io-app/issues/6478)) ([e005566](https://github.com/pagopa/io-app/commit/e005566756d4bd1804ade8050c357627a0442c99))
* [[IOBP-1037](https://pagopa.atlassian.net/browse/IOBP-1037)] Remove asterisks from card transaction info ([#6484](https://github.com/pagopa/io-app/issues/6484)) ([4713bd2](https://github.com/pagopa/io-app/commit/4713bd2487e7b4d37362cb46f4c60ad8aa5c82d9))
* [[IOBP-1039](https://pagopa.atlassian.net/browse/IOBP-1039)] Payments home screen loading UI glitch ([#6480](https://github.com/pagopa/io-app/issues/6480)) ([d81d26d](https://github.com/pagopa/io-app/commit/d81d26d9756e415f65dc999b57c2163d48e13158))
* [[IOBP-961](https://pagopa.atlassian.net/browse/IOBP-961)] Missing German key for FAQ ([#6479](https://github.com/pagopa/io-app/issues/6479)) ([d7ae804](https://github.com/pagopa/io-app/commit/d7ae8040f6b13d47184fd74be522e701961de417))
* [[PE-845](https://pagopa.atlassian.net/browse/PE-845)] CGN Replace legacy error screen ([#6469](https://github.com/pagopa/io-app/issues/6469)) ([1b268af](https://github.com/pagopa/io-app/commit/1b268aff13a97ba9b661367e4812470dfb60b3a8))


### Chores

* [[IOBP-1028](https://pagopa.atlassian.net/browse/IOBP-1028)] Mixpanel tracking onboarding card methods events on failure ([#6465](https://github.com/pagopa/io-app/issues/6465)) ([e64f8a3](https://github.com/pagopa/io-app/commit/e64f8a322be520ce3e8acc81d589c5e4fa44bd25))
* [[PE-803](https://pagopa.atlassian.net/browse/PE-803)] CGN discount outcome screen ([#6470](https://github.com/pagopa/io-app/issues/6470)) ([876403a](https://github.com/pagopa/io-app/commit/876403aa411ce090a5e14fb634896bd2e4cab6c8))
* **Cross:** [[IOAPPX-444](https://pagopa.atlassian.net/browse/IOAPPX-444)] Remove legacy components from the DS ([#6475](https://github.com/pagopa/io-app/issues/6475)) ([d3660d3](https://github.com/pagopa/io-app/commit/d3660d33fe4e44d7bd1c70b42b6f8bd4677f7aac))

## [2.78.0-rc.12](https://github.com/pagopa/io-app/compare/2.78.0-rc.11...2.78.0-rc.12) (2024-11-29)

## [2.78.0-rc.11](https://github.com/pagopa/io-app/compare/2.78.0-rc.10...2.78.0-rc.11) (2024-11-28)
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ android {
applicationId "it.pagopa.io.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 100154882
versionName "2.78.0.12"
versionCode 100154884
versionName "2.79.0.1"
multiDexEnabled true
// The resConfigs attribute will remove all not required localized resources while building the application,
// including the localized resources from libraries.
Expand Down
4 changes: 2 additions & 2 deletions ios/ItaliaApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@
CODE_SIGN_ENTITLEMENTS = ItaliaApp/ItaliaApp.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = M2X5YQ4BJ7;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -842,7 +842,7 @@
CODE_SIGN_ENTITLEMENTS = ItaliaApp/ItaliaApp.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CURRENT_PROJECT_VERSION = 12;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = M2X5YQ4BJ7;
ENABLE_BITCODE = NO;
Expand Down
6 changes: 3 additions & 3 deletions ios/ItaliaApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>2.78.0</string>
<string>2.79.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>12</string>
<string>1</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down Expand Up @@ -165,4 +165,4 @@
<key>UIUserInterfaceStyle</key>
<string>Light</string>
</dict>
</plist>
</plist>
4 changes: 2 additions & 2 deletions ios/ItaliaAppTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.78.0</string>
<string>2.79.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>12</string>
<string>1</string>
</dict>
</plist>
10 changes: 8 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ PODS:
- RCT-Folly (= 2021.07.22.00)
- React-Core
- ReactCommon/turbomodule/core
- RNScreens (3.31.1):
- RNScreens (3.35.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- React-RCTImage
Expand All @@ -638,6 +638,8 @@ PODS:
- Sentry/HybridSDK (= 8.36.0)
- RNShare (10.2.1):
- React-Core
- RNStoreReview (0.4.3):
- React-Core
- RNSVG (15.1.0):
- React-Core
- Sentry/HybridSDK (8.36.0)
Expand Down Expand Up @@ -793,6 +795,7 @@ DEPENDENCIES:
- RNScreens (from `../node_modules/react-native-screens`)
- "RNSentry (from `../node_modules/@sentry/react-native`)"
- RNShare (from `../node_modules/react-native-share`)
- RNStoreReview (from `../node_modules/react-native-store-review`)
- RNSVG (from `../node_modules/react-native-svg`)
- VisionCamera (from `../node_modules/react-native-vision-camera`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
Expand Down Expand Up @@ -1013,6 +1016,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/@sentry/react-native"
RNShare:
:path: "../node_modules/react-native-share"
RNStoreReview:
:path: "../node_modules/react-native-store-review"
RNSVG:
:path: "../node_modules/react-native-svg"
VisionCamera:
Expand Down Expand Up @@ -1124,9 +1129,10 @@ SPEC CHECKSUMS:
RNQrGenerator: 1676221c08bfabec978242989c733810dad20959
RNReactNativeHapticFeedback: 6d24decfa94e037c2ecc312407d2a057b7933f10
RNReanimated: c2027c397233801d4aceb7375e000ac87ec2e67d
RNScreens: b8d370282cdeae9df85dd5eab20c88eb5181243b
RNScreens: 2fc874a2605e88dedf43204a79fad1d2da4abfbe
RNSentry: 3e667c2c6ea5d35ea292c7f262c6b44e43842cc1
RNShare: 0fad69ae2d71de9d1f7b9a43acf876886a6cb99c
RNStoreReview: 31dbfd0dac2eea9675f0b84f1dd3261c2110c337
RNSVG: 50cf2c7018e57cf5d3522d98d0a3a4dd6bf9d093
Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Expand Down
3 changes: 2 additions & 1 deletion locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ profile:
clearAsyncStorage: Clear AsyncStorage
dumpAsyncStorage: Dump AsyncStorage content to console
sentryTestEvent: Send Exception to Sentry
storeReview: Request a store review
contextualHelpTitle: What you can do in {{pageName}} section
legacyContextualHelpContent: !include profile/legacy_profile_account_main.md
contextualHelpContent: !include profile/profile_account_main.md
Expand Down Expand Up @@ -1980,7 +1981,7 @@ wallet:
title: Hai interrotto il pagamento
subtitle: Verifica l’esito dalla sezione Pagamenti. Se intendi pagare, attendi qualche minuto prima di riprovare.
INSUFFICIENT_AVAILABILITY_ERROR:
title: Il saldo è insufficiente
title: Il saldo della tua carta è insufficiente
subtitle: Non è stato addebitato alcun importo. Prima di riprovare, aggiungi fondi alla carta o usa un altro metodo di pagamento.
CVV_ERROR:
title: Il codice di sicurezza inserito è errato
Expand Down
3 changes: 2 additions & 1 deletion locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ profile:
clearAsyncStorage: Cancella contenuto di AsyncStorage
dumpAsyncStorage: Scarica contenuto di AsyncStorage
sentryTestEvent: Invia Exception a Sentry
storeReview: Richiedi una recensione sullo store
contextualHelpTitle: Cosa puoi fare nella sezione {{pageName}}
legacyContextualHelpContent: !include profile/legacy_profile_account_main.md
contextualHelpContent: !include profile/profile_account_main.md
Expand Down Expand Up @@ -1980,7 +1981,7 @@ wallet:
title: Hai interrotto il pagamento
subtitle: Verifica l’esito dalla sezione Pagamenti. Se intendi pagare, attendi qualche minuto prima di riprovare.
INSUFFICIENT_AVAILABILITY_ERROR:
title: Il saldo è insufficiente
title: Il saldo della tua carta è insufficiente
subtitle: Non è stato addebitato alcun importo. Prima di riprovare, aggiungi fondi alla carta o usa un altro metodo di pagamento.
CVV_ERROR:
title: Il codice di sicurezza inserito è errato
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "italia-app",
"version": "2.78.0-rc.12",
"version": "2.79.0-rc.1",
"io_backend_api": "https://raw.githubusercontent.com/pagopa/io-backend/v16.4.0-RELEASE/api_backend.yaml",
"io_session_manager_api": "https://raw.githubusercontent.com/pagopa/io-auth-n-identity-domain/io-session-manager@1.0.0/apps/io-session-manager/api/internal.yaml",
"io_session_manager_public_api": "https://raw.githubusercontent.com/pagopa/io-auth-n-identity-domain/io-session-manager@1.0.0/apps/io-session-manager/api/public.yaml",
Expand Down Expand Up @@ -130,6 +130,7 @@
"@react-navigation/bottom-tabs": "6.5.11",
"@react-navigation/material-top-tabs": "6.6.5",
"@react-navigation/native": "6.1.9",
"@react-navigation/native-stack": "^6.11.0",
"@react-navigation/stack": "6.3.20",
"@redux-saga/testing-utils": "^1.1.3",
"@sentry/react-native": "^5.32.0",
Expand Down Expand Up @@ -196,9 +197,10 @@
"react-native-responsive-screen": "^1.4.1",
"react-native-safe-area-context": "^4.10.4",
"react-native-screen-brightness": "^2.0.0-alpha",
"react-native-screens": "^3.31.1",
"react-native-screens": "^3.35.0",
"react-native-share": "^10.2.1",
"react-native-splash-screen": "^3.2.0",
"react-native-store-review": "^0.4.3",
"react-native-svg": "^15.1.0",
"react-native-tab-view": "3.5.2",
"react-native-url-polyfill": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion publiccode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ releaseDate: "2024-11-21"
url: "https://github.com/pagopa/io-app"
applicationSuite: IO
landingURL: "https://io.italia.it/"
softwareVersion: 2.78.0-rc.12
softwareVersion: 2.79.0-rc.1
developmentStatus: beta
softwareType: standalone/mobile
roadmap: "https://io.italia.it/"
Expand Down
3 changes: 1 addition & 2 deletions ts/__mocks__/react-native-config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default {
PREMIUM_MESSAGES_OPT_IN_ENABLED: "YES",
SCAN_ADDITIONAL_BARCODES_ENABLED: "YES",
ITW_TRIAL_ID: "baz"
SCAN_ADDITIONAL_BARCODES_ENABLED: "YES"
};
12 changes: 1 addition & 11 deletions ts/components/SectionStatus/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as O from "fp-ts/lib/Option";
import * as React from "react";
import configureMockStore from "redux-mock-store";
import { IOColors } from "@pagopa/io-app-design-system";
import * as pot from "@pagopa/ts-commons/lib/pot";
import { ToolEnum } from "../../../../definitions/content/AssistanceToolConfig";
import { Config } from "../../../../definitions/content/Config";
import {
Expand All @@ -15,9 +14,6 @@ import { SectionStatusKey } from "../../../store/reducers/backendStatus/sectionS
import { renderScreenWithNavigationStoreContext } from "../../../utils/testWrapper";
import { openWebUrl } from "../../../utils/url";
import SectionStatusComponent from "../index";
import { SubscriptionStateEnum } from "../../../../definitions/trial_system/SubscriptionState";
import { itwTrialId } from "../../../config";
import { TrialSystemState } from "../../../features/trialSystem/store/reducers";
import { PersistedFeaturesState } from "../../../features/common/store/reducers";
import { ItwLifecycleState } from "../../../features/itwallet/lifecycle/store/reducers";
import { ItWalletState } from "../../../features/itwallet/common/store/reducers";
Expand Down Expand Up @@ -67,10 +63,7 @@ const mockSectionStatusState = (
itWallet: {
lifecycle: ItwLifecycleState.ITW_LIFECYCLE_INSTALLED
} as ItWalletState
} as PersistedFeaturesState,
trialSystem: {
[itwTrialId]: pot.some(SubscriptionStateEnum.UNSUBSCRIBED)
} as TrialSystemState
} as PersistedFeaturesState
} as unknown as GlobalState);

const mockStore = configureMockStore();
Expand Down Expand Up @@ -185,9 +178,6 @@ describe("Section Status Component should return null", () => {
mockStore({
remoteConfig: O.none,
sectionStatus: O.none,
trialSystem: {
[itwTrialId]: pot.some(SubscriptionStateEnum.UNSUBSCRIBED)
} as TrialSystemState,
features: {
itWallet: {
lifecycle: ItwLifecycleState.ITW_LIFECYCLE_INSTALLED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ exports[`LoadingScreenContent should match the snapshot with title, a child, hea
"position": "absolute",
"right": 0,
"top": 0,
"zIndex": undefined,
}
}
>
Expand Down Expand Up @@ -801,6 +802,7 @@ exports[`LoadingScreenContent should match the snapshot with title, a child, hea
"position": "absolute",
"right": 0,
"top": 0,
"zIndex": undefined,
}
}
>
Expand Down Expand Up @@ -1398,6 +1400,7 @@ exports[`LoadingScreenContent should match the snapshot with title, no children,
"position": "absolute",
"right": 0,
"top": 0,
"zIndex": undefined,
}
}
>
Expand Down Expand Up @@ -1992,6 +1995,7 @@ exports[`LoadingScreenContent should match the snapshot with title, no children,
"position": "absolute",
"right": 0,
"top": 0,
"zIndex": undefined,
}
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ exports[`OperationResultScreenContent should match the snapshot with default pro
"position": "absolute",
"right": 0,
"top": 0,
"zIndex": undefined,
}
}
>
Expand Down
Loading

0 comments on commit d2c756a

Please sign in to comment.