Skip to content

Commit

Permalink
Merge commit 'eddd677034d88c164279fc9a23cd7128a4145056' into SIW-1953…
Browse files Browse the repository at this point in the history
…-new-itw-mixpanel-events
  • Loading branch information
RiccardoMolinari95 committed Jan 17, 2025
2 parents fc16d5d + eddd677 commit ec107c6
Show file tree
Hide file tree
Showing 97 changed files with 2,308 additions and 1,548 deletions.
10 changes: 1 addition & 9 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ TOT_MESSAGE_FETCH_WORKERS=5
SHUFFLE_PINPAD_ON_PAYMENT=NO
# Repository of app content
CONTENT_REPO_URL='http://127.0.0.1:3000/static_contents'
# Privacy url to load in TOS Screen
PRIVACY_URL='https://io.italia.it/app-content/tos_privacy.html'
# Privacy url for Zendesk usage
ZENDESK_PRIVACY_URL='https://www.pagopa.it/it/privacy-policy-assistenza/'
# Mixpanel
Expand Down Expand Up @@ -60,10 +58,6 @@ IDPAY_ENABLED=YES
IDPAY_API_BASEURL='http://127.0.0.1:3000'
# IDPay test/env RESTful API
IDPAY_API_UAT_BASEURL='https://api-io.uat.cstar.pagopa.it'
# Unsupported device more information url
UNSUPPORTED_DEVICE_MORE_INFO_URL='https://io.italia.it/app-content/unsupported_device.html'
# Unsupported device learn more url
UNSUPPORTED_DEVICE_LEARN_MORE_URL='https://io.italia.it/faq/#n1_15'
# Cie/Spid more information url
CIE_SPID_INFORMATION_URL='https://identitadigitale.gov.it'
# Pin/Puk help url
Expand Down Expand Up @@ -95,6 +89,4 @@ ITW_ISSUANCE_REDIRECT_URI="https://wallet.io.pagopa.it/index.html"
# Bypass the check that enforces the identity of the issued eID is the same as the authenticated user
ITW_BYPASS_IDENTITY_MATCH=YES
# Use the test environment for the IDP hint for both CIE and SPID
ITW_IDP_HINT_TEST=YES
# IPZS Privacy Policy URL
ITW_IPZS_PRIVACY_URL='https://io.italia.it/informativa-ipzs'
ITW_IDP_HINT_TEST=YES
10 changes: 1 addition & 9 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ TOT_MESSAGE_FETCH_WORKERS=5
SHUFFLE_PINPAD_ON_PAYMENT=NO
# Repository of app content
CONTENT_REPO_URL='https://assets.cdn.io.pagopa.it'
# Privacy url to load in TOS Screen
PRIVACY_URL='https://io.italia.it/app-content/tos_privacy.html'
# Privacy url for Zendesk usage
ZENDESK_PRIVACY_URL='https://www.pagopa.it/it/privacy-policy-assistenza/'
# Mixpanel
Expand Down Expand Up @@ -60,10 +58,6 @@ IDPAY_ENABLED=YES
IDPAY_API_BASEURL='https://api-io.cstar.pagopa.it'
# IDPay test/env RESTful API
IDPAY_API_UAT_BASEURL='https://api-io.uat.cstar.pagopa.it'
# Unsupported device more information url
UNSUPPORTED_DEVICE_MORE_INFO_URL='https://io.italia.it/app-content/unsupported_device.html'
# Unsupported device learn more url
UNSUPPORTED_DEVICE_LEARN_MORE_URL='https://io.italia.it/faq/#n1_15'
# Cie/Spid more information url
CIE_SPID_INFORMATION_URL='https://identitadigitale.gov.it'
# Pin/Puk help url
Expand Down Expand Up @@ -95,6 +89,4 @@ ITW_ISSUANCE_REDIRECT_URI="https://wallet.io.pagopa.it/index.html"
# Bypass the check that enforces the identity of the issued eID is the same as the authenticated user
ITW_BYPASS_IDENTITY_MATCH=NO
# Use the test environment for the IDP hint for both CIE and SPID
ITW_IDP_HINT_TEST=NO
# IPZS Privacy Policy URL
ITW_IPZS_PRIVACY_URL='https://io.italia.it/informativa-ipzs'
ITW_IDP_HINT_TEST=NO
19 changes: 7 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,24 +124,19 @@ module.exports = {
"no-restricted-imports": [
"error",
{
"paths": [
paths: [
{
name: "i18n-js",
message: 'Importing I18n from "i18n-js" is not allowed. Import it from "ts/i18n.ts" instead.',
},
message:
'Importing I18n from "i18n-js" is not allowed. Import it from "ts/i18n.ts" instead.'
},
{
name: "@pagopa/ts-commons",
importNames: ["pot"],
message: 'Importing { pot } from "@pagopa/ts-commons" is not allowed. Use \'import * as pot from "@pagopa/ts-commons/lib/pot"\' instead.',
message:
'Importing { pot } from "@pagopa/ts-commons" is not allowed. Use \'import * as pot from "@pagopa/ts-commons/lib/pot"\' instead.'
}
],
patterns: [
{
group: ["**/config"],
importNames: ["privacyUrl"],
message: 'Importing "privacyUrl" from "config.ts" module is restricted. Please use "tosConfigSelector" to obtain it instead.'
}
]
]
}
]
},
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

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.81.0-rc.3](https://github.com/pagopa/io-app/compare/2.81.0-rc.2...2.81.0-rc.3) (2025-01-16)


### Chores

* [[IOPID-2579](https://pagopa.atlassian.net/browse/IOPID-2579)] add management of remote portal urls ([#6594](https://github.com/pagopa/io-app/issues/6594)) ([c3b2f95](https://github.com/pagopa/io-app/commit/c3b2f952487771747ad9ae89a2613bd7a966fbdb))

## [2.81.0-rc.2](https://github.com/pagopa/io-app/compare/2.81.0-rc.1...2.81.0-rc.2) (2025-01-15)


### Features

* **IT Wallet:** [[SIW-1918](https://pagopa.atlassian.net/browse/SIW-1918)] Add iPatente CTA in MDL details screen ([#6577](https://github.com/pagopa/io-app/issues/6577)) ([40f6224](https://github.com/pagopa/io-app/commit/40f6224246d1e6a352c07180365fc629dd9185ca))


### Bug Fixes

* [[IOBP-1101](https://pagopa.atlassian.net/browse/IOBP-1101)] Add missing `Mixpanel` events/properties ([#6581](https://github.com/pagopa/io-app/issues/6581)) ([ea95f85](https://github.com/pagopa/io-app/commit/ea95f85220fb4dbdca0a68de0560b0dd1396d912))


### Chores

* **IT Wallet:** [[SIW-1945](https://pagopa.atlassian.net/browse/SIW-1945)] Disable screenshots and recordings on ITW screens ([#6595](https://github.com/pagopa/io-app/issues/6595)) ([9382eeb](https://github.com/pagopa/io-app/commit/9382eebb070c7cf337ff9dd71b5f3ad666814cf9))

## [2.81.0-rc.1](https://github.com/pagopa/io-app/compare/2.81.0-rc.0...2.81.0-rc.1) (2025-01-14)

## [2.81.0-rc.0](https://github.com/pagopa/io-app/compare/2.80.0-rc.10...2.81.0-rc.0) (2025-01-14)
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ android {
applicationId "it.pagopa.io.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 100154907
versionName "2.81.0.1"
versionCode 100154909
versionName "2.81.0.3"
multiDexEnabled true
// The resConfigs attribute will remove all not required localized resources while building the application,
// including the localized resources from libraries.
Expand Down
6 changes: 3 additions & 3 deletions ios/ItaliaApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@
CODE_SIGN_ENTITLEMENTS = ItaliaApp/ItaliaApp.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 3;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = M2X5YQ4BJ7;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -839,7 +839,7 @@
CODE_SIGN_ENTITLEMENTS = ItaliaApp/ItaliaApp.entitlements;
CODE_SIGN_IDENTITY = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 3;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = M2X5YQ4BJ7;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -1081,7 +1081,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 3;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = M2X5YQ4BJ7;
Expand Down
2 changes: 1 addition & 1 deletion ios/ItaliaApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<string>3</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/ItaliaAppTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>3</string>
</dict>
</plist>
1 change: 0 additions & 1 deletion locales/de/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ global:
open:
label: "Kontextbezogene Hilfe"
hint: "Greif auf Informationen über den Inhalt des aktuellen Bildschirms zu"
ioWebSite: "https://io.italia.it"
symbols:
question: "?"
asterisk: "*"
Expand Down
1 change: 0 additions & 1 deletion locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ global:
open:
label: Contextual Help
hint: Access information about the contents of the current screen
ioWebSite: https://io.italia.it
symbols:
question: "?"
asterisk: "*"
Expand Down
1 change: 0 additions & 1 deletion locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ global:
open:
label: Aiuto contestuale
hint: Accedi alle informazioni sul contenuto della schermata corrente
ioWebSite: https://io.italia.it
symbols:
question: "?"
asterisk: "*"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "italia-app",
"version": "2.81.0-rc.1",
"version": "2.81.0-rc.3",
"private": true,
"scripts": {
"start": "react-native start",
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.81.0-rc.1
softwareVersion: 2.81.0-rc.3
developmentStatus: beta
softwareType: standalone/mobile
roadmap: "https://io.italia.it/"
Expand Down
23 changes: 0 additions & 23 deletions ts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,30 +150,12 @@ export const totMessageFetchWorkers = pipe(
export const shufflePinPadOnPayment =
Config.SHUFFLE_PINPAD_ON_PAYMENT === "YES";

export const privacyUrl: string = pipe(
Config.PRIVACY_URL,
t.string.decode,
E.getOrElse(() => "https://io.italia.it/app-content/tos_privacy.html")
);

export const zendeskPrivacyUrl: string = pipe(
Config.ZENDESK_PRIVACY_URL,
t.string.decode,
E.getOrElse(() => "https://www.pagopa.it/it/privacy-policy-assistenza/")
);

export const unsupportedDeviceMoreInfoUrl: string = pipe(
Config.UNSUPPORTED_DEVICE_MORE_INFO_URL,
NonEmptyString.decode,
E.getOrElse(() => "https://io.italia.it/app-content/unsupported_device.html")
);

export const unsupportedDeviceLearnMoreUrl: string = pipe(
Config.UNSUPPORTED_DEVICE_LEARN_MORE_URL,
NonEmptyString.decode,
E.getOrElse(() => "https://io.italia.it/faq/#n1_15")
);

export const cieSpidMoreInfoUrl: string = pipe(
Config.CIE_SPID_INFORMATION_URL,
NonEmptyString.decode,
Expand Down Expand Up @@ -247,8 +229,3 @@ export const itwEaaVerifierBaseUrl = Config.ITW_EAA_VERIFIER_BASE_URL;
export const itwBypassIdentityMatch =
Config.ITW_BYPASS_IDENTITY_MATCH === "YES";
export const itwIdpHintTest = Config.ITW_IDP_HINT_TEST === "YES";
export const itwIpzsPrivacyUrl: string = pipe(
Config.ITW_IPZS_PRIVACY_URL,
t.string.decode,
E.getOrElse(() => "https://io.italia.it/informativa-ipzs")
);
56 changes: 0 additions & 56 deletions ts/features/bonus/cgn/__mock__/availableMerchantDetail.ts

This file was deleted.

8 changes: 5 additions & 3 deletions ts/features/fastLogin/components/SecuritySuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ import { View } from "react-native";
import I18n from "../../../i18n";
import { openWebUrl } from "../../../utils/url";
import { useOnFirstRender } from "../../../utils/hooks/useOnFirstRender";
import { useIODispatch } from "../../../store/hooks";
import { useIODispatch, useIOSelector } from "../../../store/hooks";
import { setSecurityAdviceAcknowledged } from "../store/actions/securityAdviceActions";
import { trackWhatsNewScreen } from "../../whatsnew/analytics";
import { absolutePortalLinksSelector } from "../../../store/reducers/backendStatus/remoteConfig";

const SecuritySuggestions = () => {
const dispatch = useIODispatch();
const absolutePortalLinks = useIOSelector(absolutePortalLinksSelector);

useOnFirstRender(() => {
dispatch(setSecurityAdviceAcknowledged(true));
Expand All @@ -30,7 +32,7 @@ const SecuritySuggestions = () => {
label: I18n.t(
"authentication.security_suggestions.navigate_to_the_site"
),
onPress: () => openWebUrl("https://ioapp.it/")
onPress: () => openWebUrl(absolutePortalLinks.io_web)
}}
/>
<VSpacer size={24} />
Expand All @@ -41,7 +43,7 @@ const SecuritySuggestions = () => {
label: I18n.t(
"authentication.security_suggestions.navigate_to_the_site"
),
onPress: () => openWebUrl("https://ioapp.it/")
onPress: () => openWebUrl(absolutePortalLinks.io_web)
}}
/>
<VSpacer size={24} />
Expand Down
2 changes: 1 addition & 1 deletion ts/features/idpay/barcode/navigation/navigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Stack = createStackNavigator<IdPayBarcodeParamsList>();
export const IdPayBarcodeNavigator = () => (
<Stack.Navigator
initialRouteName={IdPayBarcodeRoutes.IDPAY_BARCODE_RESULT}
screenOptions={{ gestureEnabled: true, headerShown: false }}
screenOptions={{ gestureEnabled: true }}
>
<Stack.Screen
name={IdPayBarcodeRoutes.IDPAY_BARCODE_RESULT}
Expand Down
Loading

0 comments on commit ec107c6

Please sign in to comment.