Skip to content

Commit

Permalink
Merge branch 'master' into IOPID-2162-remove-cieid-ff
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMattew authored Feb 4, 2025
2 parents e51ddd2 + e8c6bba commit 9724a67
Show file tree
Hide file tree
Showing 37 changed files with 2,344 additions and 1,421 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

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.82.0-rc.4](https://github.com/pagopa/io-app/compare/2.82.0-rc.3...2.82.0-rc.4) (2025-02-03)


### Bug Fixes

* [[IOBP-1157](https://pagopa.atlassian.net/browse/IOBP-1157)] Correct `a11y` label in `PAYMENT_NOTICE_SUMMARY` ([#6674](https://github.com/pagopa/io-app/issues/6674)) ([18b5f83](https://github.com/pagopa/io-app/commit/18b5f83992eb0511b37ee51554648c3a4c3f70fb))
* [[IOBP-1162](https://pagopa.atlassian.net/browse/IOBP-1162)] Add missing `a11y` label in `PAYMENTS_HOME` ([#6669](https://github.com/pagopa/io-app/issues/6669)) ([11a5ba5](https://github.com/pagopa/io-app/commit/11a5ba575c663db85dcf0f55a693345d6ff05e14))
* [[IOCOM-2040](https://pagopa.atlassian.net/browse/IOCOM-2040)] Handling of code and pre html blocks in old markdown ([#6652](https://github.com/pagopa/io-app/issues/6652)) ([313e6ab](https://github.com/pagopa/io-app/commit/313e6abd4b1e2eca4ce39137dfc55ade06e4ec9c))


### Chores

* [[IOBP-1165](https://pagopa.atlassian.net/browse/IOBP-1165)] Remove transparent header in `PAYMENT_METHOD_DETAILS_SCREEN` ([#6675](https://github.com/pagopa/io-app/issues/6675)) ([d3c4a6f](https://github.com/pagopa/io-app/commit/d3c4a6f09b1ea44cad9cf776ae20f64471d465e1))
* [[IOPLT-946](https://pagopa.atlassian.net/browse/IOPLT-946)] Update the main icon app for iOS + Add support for dark and tinted appearances ([#6655](https://github.com/pagopa/io-app/issues/6655)) ([f4d3907](https://github.com/pagopa/io-app/commit/f4d3907e9504eb2f4744ba1a5080154d21b97f87))
* **IT Wallet:** [[SIW-1989](https://pagopa.atlassian.net/browse/SIW-1989)] Add dismiss confirmation dialog to IT Wallet identification flows ([#6641](https://github.com/pagopa/io-app/issues/6641)) ([dd98d71](https://github.com/pagopa/io-app/commit/dd98d711a85ec67961b604115e2c9dd83045795a))

## [2.82.0-rc.3](https://github.com/pagopa/io-app/compare/2.82.0-rc.2...2.82.0-rc.3) (2025-01-31)


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 100154919
versionName "2.82.0.3"
versionCode 100154920
versionName "2.82.0.4"
multiDexEnabled true
// The resConfigs attribute will remove all not required localized resources while building the application,
// including the localized resources from libraries.
Expand Down
Binary file removed img/features/itWallet/cards/dc_na.png
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/dc_off.png
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/mdl_na.png
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/mdl_off.png
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/ts_na.png
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/ts_off.png
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
Binary file removed img/features/itWallet/cards/[email protected]
Binary file not shown.
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 = 3;
CURRENT_PROJECT_VERSION = 4;
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 = 3;
CURRENT_PROJECT_VERSION = 4;
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 = 3;
CURRENT_PROJECT_VERSION = 4;
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>3</string>
<string>4</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>3</string>
<string>4</string>
</dict>
</plist>
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.82.0-rc.3",
"version": "2.82.0-rc.4",
"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.82.0-rc.3
softwareVersion: 2.82.0-rc.4
developmentStatus: beta
softwareType: standalone/mobile
roadmap: "https://io.italia.it/"
Expand Down
168 changes: 0 additions & 168 deletions ts/features/itwallet/common/components/ItwCredentialCard.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
import { IOColors } from "@pagopa/io-app-design-system";
import {
BlendColor,
Canvas,
Image,
useImage
} from "@shopify/react-native-skia";
import { useEffect, useState } from "react";
import { StyleSheet, View } from "react-native";
import Animated, {
Easing,
useAnimatedStyle,
useSharedValue,
withTiming
} from "react-native-reanimated";
import { CredentialType } from "../../utils/itwMocksUtils";
import { CardColorScheme } from "./types";

type ItwCredentialCardBackgroundProps = {
credentialType: string;
colorScheme: CardColorScheme;
};

export const CardBackground = ({
credentialType,
colorScheme
}: ItwCredentialCardBackgroundProps) => {
const [size, setSize] = useState({ width: 0, height: 0 });
const image = useImage(credentialCardBackgrounds[credentialType]);
const loadingOverlayOpacity = useSharedValue(1);

const loadingOverlayOpacityTransition = useAnimatedStyle(() => ({
opacity: withTiming(loadingOverlayOpacity.value, {
duration: 200,
easing: Easing.ease
})
}));

useEffect(() => {
// Set loading ended only if we have an image and a size defined
if (image && size.width > 0 && size.height > 0) {
// eslint-disable-next-line functional/immutable-data
loadingOverlayOpacity.value = 0;
}
}, [image, loadingOverlayOpacity, size]);

return (
<View
style={[
StyleSheet.absoluteFillObject,
{ backgroundColor: IOColors.white }
]}
onLayout={event => {
setSize({
width: event.nativeEvent.layout.width,
height: event.nativeEvent.layout.height
});
}}
>
<Canvas style={{ flex: 1 }}>
<Image
image={image}
fit="fill"
width={size.width}
height={size.height}
opacity={colorScheme === "default" ? 1 : 0.4}
>
{colorScheme === "greyscale" && (
<BlendColor color="white" mode="color" />
)}
</Image>
</Canvas>
<Animated.View
style={[
loadingOverlayOpacityTransition,
StyleSheet.absoluteFillObject,
{ backgroundColor: IOColors["grey-100"] }
]}
/>
</View>
);
};

const credentialCardBackgrounds: {
[type: string]: string;
} = {
[CredentialType.EUROPEAN_DISABILITY_CARD]: require("../../../../../../img/features/itWallet/cards/dc.png"),
[CredentialType.EUROPEAN_HEALTH_INSURANCE_CARD]: require("../../../../../../img/features/itWallet/cards/ts.png"),
[CredentialType.DRIVING_LICENSE]: require("../../../../../../img/features/itWallet/cards/mdl.png")
};
Loading

0 comments on commit 9724a67

Please sign in to comment.