Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate french and spanish #2456

Merged
merged 43 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
73bfe7f
Revert "Revert "Update app_fr.arb (#2423)""
hawkbee1 Feb 22, 2024
e233a28
Add translations
hawkbee1 Feb 22, 2024
f727fbf
Add account ownership manually #2291
bibash28 Feb 20, 2024
c677066
Account ownership cards : logic change
bibash28 Feb 22, 2024
1796047
feat: Update jwt #2291
bibash28 Feb 23, 2024
455df0b
Profile DEFAULT : set credential manifest support to OFF #2432
bibash28 Feb 23, 2024
95129db
feat: Support qr to add enterprise account #2433
bibash28 Feb 23, 2024
fe8ff35
version update to 2.3.6+396
bibash28 Feb 26, 2024
5a4e2c6
feat: Remove enterprise from onboarding #2433
bibash28 Feb 26, 2024
4abd9fc
feat: Remove draft 8 #2436
bibash28 Feb 26, 2024
8c1e2f8
update email and phonepass url #2438 #2439
bibash28 Feb 26, 2024
5da294f
feat: Url management
bibash28 Feb 26, 2024
248a9ed
feat: Support deeplink for configuration #2442
bibash28 Feb 26, 2024
b9302c6
Do not support scan for enterprise login #2442 and add over 18 for di…
bibash28 Feb 26, 2024
e00e424
version update to 2.3.7+397
bibash28 Feb 26, 2024
cb1bbe6
feat: Re-support enterpise login with scan
bibash28 Feb 27, 2024
1a142b2
enterprise call bug fix
bibash28 Feb 27, 2024
89c1b9a
version update to 2.3.8+398
bibash28 Feb 27, 2024
3ddf250
refactor: Bug fix on external issuer draft 13, ldp_vc #2443
bibash28 Feb 27, 2024
6b8355a
linter update and class update
bibash28 Feb 27, 2024
cac3cff
Show crypto associated credential based on vcformat and didkey type
bibash28 Feb 27, 2024
9e20804
version update to 2.3.9+399
bibash28 Feb 27, 2024
445e5e1
code optimisation - fetch data once
bibash28 Feb 28, 2024
c05744b
bug fix for crypto card
bibash28 Feb 28, 2024
20afacc
show token endpoint in developer mode
bibash28 Feb 28, 2024
a7b7d2f
credential endpoint response added
bibash28 Feb 28, 2024
c6c3c69
version update to 2.3.10+400
bibash28 Feb 28, 2024
4dd4245
update enterprise #2447
bibash28 Feb 29, 2024
9c5ac10
update profile logic
bibash28 Feb 29, 2024
a2555bf
show crypto account with specific vc format
bibash28 Feb 29, 2024
ce3463f
feat: Add enterprise wallet attestation only once #2451
bibash28 Feb 29, 2024
cf36bfe
add wallet attestation card #2451
bibash28 Feb 29, 2024
78c24a8
Profile DIIP add issuer for phone proof in discover #2440
bibash28 Feb 29, 2024
52dce41
refactor: crypto account ownership signed with correct key #2446
bibash28 Feb 29, 2024
d76d71d
version update 2.3.11+401
bibash28 Feb 29, 2024
7f22955
Merge remote-tracking branch 'origin/october' into integrate-french-a…
hawkbee1 Feb 29, 2024
85ea82e
move new translation keys to bottom of app_en.arb
hawkbee1 Feb 29, 2024
a006a64
Merge remote-tracking branch 'origin/october' into integrate-french-a…
hawkbee1 Feb 29, 2024
d4cd2ac
remove dulicates from translation files
hawkbee1 Feb 29, 2024
05574d0
update translations
hawkbee1 Feb 29, 2024
0787231
remove obsolete translation files
hawkbee1 Feb 29, 2024
59870fb
update language selection
hawkbee1 Feb 29, 2024
d87b5da
version: 2.3.12+402
hawkbee1 Feb 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="wc-altme" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="configuration" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
Expand Down
10 changes: 10 additions & 0 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,16 @@
<string>wc-altme</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>configuration</string>
<key>CFBundleURLSchemes</key>
<array>
<string>configuration</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
Expand Down
1 change: 0 additions & 1 deletion lib/app/shared/constants/constants.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export 'accentuations.dart';
export 'altme_strings.dart';
export 'constants_json.dart';
export 'enterprise.dart';
export 'icon_strings.dart';
export 'image_strings.dart';
export 'parameters.dart';
Expand Down
3 changes: 0 additions & 3 deletions lib/app/shared/constants/enterprise.dart

This file was deleted.

4 changes: 3 additions & 1 deletion lib/app/shared/constants/secure_storage_keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,7 @@ class SecureStorageKeys {
static const String customProfileSettings = 'customProfileSettings';
static const String enterpriseProfileSetting = 'enterpriseProfileSetting';

static const String walletProviderType = 'walletProviderType';
static const String enterpriseEmail = 'enterpriseEmail';
static const String enterprisePassword = 'enterprisePassword';
static const String enterpriseWalletProvider = 'enterpriseWalletProvider';
}
55 changes: 2 additions & 53 deletions lib/app/shared/constants/urls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class Urls {

/// email pass
static const String emailPassUrl = 'https://issuer.talao.co/emailpass';
static const String emailPassUrlJWTVCJSON =
'https://issuer.talao.co/emailpass?format=jwt_vc_json';

/// tezotopia voucher
static const String tezotopiaVoucherUrl =
Expand All @@ -32,11 +30,8 @@ class Urls {
static const String tezotopiaMembershipCardUrl =
'https://issuer.talao.co/tezotopia/membershipcard/';

/// liveness
static const String livenessCardUrl =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=liveness';
static const String livenessCardJWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=liveness';
/// id360 url
static const String id360Url = 'https://talao.co/id360/oidc4vc';

/// polygon
static const String defaultPolygonIdCardUrl =
Expand Down Expand Up @@ -65,52 +60,6 @@ class Urls {
/// twitter card
static const String twitterCardUrl = 'https://issuer.talao.co/twitter/';

/// verifiableIdCard
static const String verifiableIdCardUrlLDPVC =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=verifiableid';

static const String verifiableIdCardUrlJWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=verifiableid';

static const String verifiableIdCardUrlVCSDJWT =
'https://talao.co/id360/oidc4vc?format=vcsd-jwt&type=identitycredential';

/// over 13
static const String over13Url =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over13';
static const String over13JWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=over13';

/// over 15
static const String over15Url =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over15';
static const String over15JWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=over15';

/// over 18
static const String over18Url =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over18';
static const String over18JWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=over18';

/// over 21
static const String over21Url =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over21';
static const String over21JWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=over21';

/// over 50
static const String over50Url =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over50';
static const String over50JWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=over50';

/// over 65
static const String over65Url =
'https://talao.co/id360/oidc4vc?format=ldp_vc&type=over65';
static const String over65JWTVCJSON =
'https://talao.co/id360/oidc4vc?format=jwt_vc_json&type=over65';

/// linkedin card
static const String linkedinCardUrl =
'https://issuer.talao.co/passbase/endpoint/linkedincard/';
Expand Down
4 changes: 2 additions & 2 deletions lib/app/shared/enum/credential_category.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ extension CredentialCategoryX on CredentialCategory {
return CredentialCategoryConfig(
homeTitle: '${l10n.my} ${l10n.blockchainAccounts.toLowerCase()}',
homeSubTitle: l10n.blockchainAccountsCredentialHomeSubtitle,
discoverTitle: '${l10n.get} ${l10n.blockchainAccounts.toLowerCase()}',
discoverSubTitle: '',
discoverTitle: l10n.blockchainCardsDiscoverTitle,
discoverSubTitle: l10n.blockchainCardsDiscoverSubtitle,
);
case CredentialCategory.educationCards:
return CredentialCategoryConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,7 @@ enum ResponseString {
RESPONSE_STRING_theCredentialOfferIsInvalid,
RESPONSE_STRING_theServiceIsNotAvailable,
RESPONSE_STRING_theIssuanceOfThisCredentialIsPending,
RESPONSE_STRING_successfullyAddedEnterpriseAccount,

RESPONSE_STRING_successfullyUpdatedEnterpriseAccount,
}
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,13 @@ extension ResponseStringX on ResponseString {
case ResponseString.RESPONSE_STRING_theIssuanceOfThisCredentialIsPending:
return globalMessage
.RESPONSE_STRING_theIssuanceOfThisCredentialIsPending;

case ResponseString.RESPONSE_STRING_successfullyAddedEnterpriseAccount:
return globalMessage.RESPONSE_STRING_successfullyAddedEnterpriseAccount;

case ResponseString.RESPONSE_STRING_successfullyUpdatedEnterpriseAccount:
return globalMessage
.RESPONSE_STRING_successfullyUpdatedEnterpriseAccount;
}
}
}
1 change: 1 addition & 0 deletions lib/app/shared/enum/status/qr_scan_status.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ enum QrScanStatus {
error,
success,
goBack,
pauseForDialog,
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:altme/app/app.dart';
import 'package:altme/dashboard/home/home.dart';
import 'package:altme/dashboard/dashboard.dart';
import 'package:flutter/material.dart';
import 'package:oidc4vc/oidc4vc.dart';

Expand Down
Loading
Loading