Skip to content

Commit

Permalink
Merge pull request #436 from polkawallet-io/develop
Browse files Browse the repository at this point in the history
release 3561
  • Loading branch information
RomeroYang authored Nov 3, 2023
2 parents 1985ad5 + e2c41d2 commit 399cdc7
Show file tree
Hide file tree
Showing 23 changed files with 958 additions and 287 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [3.5.6-beta]
20231102
1. bump sdk 0.5.6.
2. rebuild dapp browser to support both substrate&EVM.

# [3.5.5-beta]
20231023
1. ios crash fix.

# [3.5.4-beta]
20231019
1. bump sdk 0.5.5+2.
Expand Down
Binary file modified assets/images/plugins/logo_evm_goerli_grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/plugins/logo_evm_goerli_grey_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/plugins/logo_evm_mandala_grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 61 additions & 61 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,45 @@ PODS:
- ReachabilitySwift
- device_info (0.0.1):
- Flutter
- Firebase/Analytics (10.3.0):
- Firebase/Analytics (10.16.0):
- Firebase/Core
- Firebase/Core (10.3.0):
- Firebase/Core (10.16.0):
- Firebase/CoreOnly
- FirebaseAnalytics (~> 10.3.0)
- Firebase/CoreOnly (10.3.0):
- FirebaseCore (= 10.3.0)
- firebase_analytics (10.1.0):
- Firebase/Analytics (= 10.3.0)
- FirebaseAnalytics (~> 10.16.0)
- Firebase/CoreOnly (10.16.0):
- FirebaseCore (= 10.16.0)
- firebase_analytics (10.6.2):
- Firebase/Analytics (= 10.16.0)
- firebase_core
- Flutter
- firebase_core (2.4.1):
- Firebase/CoreOnly (= 10.3.0)
- firebase_core (2.20.0):
- Firebase/CoreOnly (= 10.16.0)
- Flutter
- FirebaseAnalytics (10.3.0):
- FirebaseAnalytics/AdIdSupport (= 10.3.0)
- FirebaseAnalytics (10.16.0):
- FirebaseAnalytics/AdIdSupport (= 10.16.0)
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
- GoogleUtilities/MethodSwizzler (~> 7.8)
- GoogleUtilities/Network (~> 7.8)
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseAnalytics/AdIdSupport (10.3.0):
- FirebaseAnalytics/AdIdSupport (10.16.0):
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleAppMeasurement (= 10.3.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
- GoogleUtilities/MethodSwizzler (~> 7.8)
- GoogleUtilities/Network (~> 7.8)
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- GoogleAppMeasurement (= 10.16.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseCore (10.3.0):
- FirebaseCore (10.16.0):
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/Logger (~> 7.8)
- FirebaseCoreInternal (10.4.0):
- FirebaseCoreInternal (10.16.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseInstallations (10.4.0):
- FirebaseInstallations (10.16.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
Expand All @@ -64,44 +64,44 @@ PODS:
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- GoogleAppMeasurement (10.3.0):
- GoogleAppMeasurement/AdIdSupport (= 10.3.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
- GoogleUtilities/MethodSwizzler (~> 7.8)
- GoogleUtilities/Network (~> 7.8)
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- GoogleAppMeasurement (10.16.0):
- GoogleAppMeasurement/AdIdSupport (= 10.16.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (10.3.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.3.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
- GoogleUtilities/MethodSwizzler (~> 7.8)
- GoogleUtilities/Network (~> 7.8)
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- GoogleAppMeasurement/AdIdSupport (10.16.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.16.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (10.3.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.8)
- GoogleUtilities/MethodSwizzler (~> 7.8)
- GoogleUtilities/Network (~> 7.8)
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- GoogleAppMeasurement/WithoutAdIdSupport (10.16.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleUtilities/AppDelegateSwizzler (7.11.0):
- GoogleUtilities/AppDelegateSwizzler (7.11.5):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.11.0):
- GoogleUtilities/Environment (7.11.5):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.11.0):
- GoogleUtilities/Logger (7.11.5):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.11.0):
- GoogleUtilities/MethodSwizzler (7.11.5):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.11.0):
- GoogleUtilities/Network (7.11.5):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.11.0)"
- GoogleUtilities/Reachability (7.11.0):
- "GoogleUtilities/NSData+zlib (7.11.5)"
- GoogleUtilities/Reachability (7.11.5):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.11.0):
- GoogleUtilities/UserDefaults (7.11.5):
- GoogleUtilities/Logger
- image_picker (0.0.1):
- Flutter
Expand All @@ -127,7 +127,7 @@ PODS:
- FlutterMacOS
- "permission_handler (5.1.0+2)":
- Flutter
- PromisesObjC (2.1.1)
- PromisesObjC (2.3.1)
- ReachabilitySwift (5.0.0)
- share_plus (0.0.1):
- Flutter
Expand Down Expand Up @@ -242,20 +242,20 @@ SPEC CHECKSUMS:
biometric_storage: 1400f1382af3a4cc2bf05340e13c3d8de873ceb9
connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e
device_info: d7d233b645a32c40dfdc212de5cf646ca482f175
Firebase: f92fc551ead69c94168d36c2b26188263860acd9
firebase_analytics: 9f3a4cb560a59976b2c48707abae2d4cb94bcb3a
firebase_core: bf59c32d2e53814f558efa20840c1902fa2fe461
FirebaseAnalytics: 036232b6a1e2918e5f67572417be1173576245f3
FirebaseCore: 988754646ab3bd4bdcb740f1bfe26b9f6c0d5f2a
FirebaseCoreInternal: e301297f4c15a17489e48ed722d733b1578e0c02
FirebaseInstallations: 36b38c733fd37e50857e5e8d74138648f466f18c
Firebase: 25899099b77d255a636e3579c3d9dce10ec150d5
firebase_analytics: c36906173f75cc28b016868ae51bdbff078b2804
firebase_core: 2e0e89436a00b664a23bebb08859e5fede7215e9
FirebaseAnalytics: 7b41efc4eba5ff841cc94d5994b5f339361258f4
FirebaseCore: 65a801af84cca84361ef9eac3fd868656968a53b
FirebaseCoreInternal: 26233f705cc4531236818a07ac84d20c333e505a
FirebaseInstallations: b822f91a61f7d1ba763e5ccc9d4f2e6f2ed3b3ee
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_aes_ecb_pkcs5: fb682a7bb13f29cfbb33f88f7e1ed2211eacf5db
flutter_inappwebview: bfd58618f49dc62f2676de690fc6dcda1d6c3721
flutter_inappwebview: 3d32228f1304635e7c028b0d4252937730bbc6cf
flutter_qr_scan: f7c8c497584bbf395efd56ffcc3a60d27ec9de82
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
GoogleAppMeasurement: c7d6fff39bf2d829587d74088d582e32d75133c3
GoogleUtilities: c2bdc4cf2ce786c4d2e6b3bcfd599a25ca78f06f
GoogleAppMeasurement: 079d7632810e9d9704a99932547ba1554acc4342
GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
image_picker: 50e7c7ff960e5f58faa4d1f4af84a771c671bc4a
JCore: 0cb4fc5892bc97af4f27283875369ead3eaa3067
JPush: 507d66d7ea307faba1330666d48e4e92af611659
Expand All @@ -266,7 +266,7 @@ SPEC CHECKSUMS:
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
path_provider_foundation: 37748e03f12783f9de2cb2c4eadfaa25fe6d4852
permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
shared_preferences_foundation: 297b3ebca31b34ec92be11acd7fb0ba932c822ca
Expand Down
12 changes: 6 additions & 6 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3541;
CURRENT_PROJECT_VERSION = 3561;
DEVELOPMENT_TEAM = WQ5H736A22;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = armv7;
Expand All @@ -371,7 +371,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 3.5.4;
MARKETING_VERSION = 3.5.6;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = io.polkawallet.polkawallet;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -500,7 +500,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3541;
CURRENT_PROJECT_VERSION = 3561;
DEVELOPMENT_TEAM = WQ5H736A22;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = armv7;
Expand All @@ -519,7 +519,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 3.5.4;
MARKETING_VERSION = 3.5.6;
PRODUCT_BUNDLE_IDENTIFIER = io.polkawallet.polkawallet;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -541,7 +541,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3541;
CURRENT_PROJECT_VERSION = 3561;
DEVELOPMENT_TEAM = WQ5H736A22;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = armv7;
Expand All @@ -560,7 +560,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 3.5.4;
MARKETING_VERSION = 3.5.6;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = io.polkawallet.polkawallet;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
8 changes: 2 additions & 6 deletions ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
Expand All @@ -38,8 +36,8 @@
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -61,8 +59,6 @@
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
Expand Down
23 changes: 12 additions & 11 deletions lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ import 'package:polkawallet_sdk/utils/app.dart';
import 'package:polkawallet_sdk/utils/i18n.dart';
import 'package:polkawallet_ui/components/v3/dialog.dart';
import 'package:polkawallet_ui/pages/accountQrCodePage.dart';
import 'package:polkawallet_ui/pages/dAppWrapperPage.dart';
import 'package:polkawallet_ui/pages/qrSenderPage.dart';
import 'package:polkawallet_ui/pages/scanPage.dart';
import 'package:polkawallet_ui/pages/v3/accountListPage.dart';
Expand Down Expand Up @@ -802,20 +801,22 @@ class _WalletAppState extends State<WalletApp> with WidgetsBindingObserver {
CreateAccountEntryPage.route: (_) => CreateAccountEntryPage(_service),
CreateAccountPage.route: (_) => CreateAccountPage(_service),
BackupAccountPage.route: (_) => BackupAccountPage(_service),
DAppWrapperPage.route: (_) => DAppWrapperPage(
_service.plugin,
// DAppWrapperPage.route: (_) => DAppWrapperPage(
// _service.plugin,
// _keyring,
// getPassword: _service.account.getPassword,
// checkAuth: _store.settings.checkDAppAuth,
// updateAuth: _store.settings.updateDAppAuth,
// ),
DAppEthWrapperPage.route: (_) => DAppEthWrapperPage(
_service,
_keyring,
_keyringEVM,
getPasswordEVM: _service.account.getEvmPassword,
getPassword: _service.account.getPassword,
checkAuth: _store.settings.checkDAppAuth,
updateAuth: _store.settings.updateDAppAuth,
),
DAppEthWrapperPage.route: (_) => DAppEthWrapperPage(
_service.plugin,
_keyringEVM,
getPassword: _service.account.getEvmPassword,
checkAuth: _store.settings.checkDAppAuth,
updateAuth: (url) =>
_store.settings.updateDAppAuth(url, isEvm: true),
changeNetwork: _changeNetwork,
),
SelectImportTypePage.route: (_) => SelectImportTypePage(_service),
ImportAccountFormMnemonic.route: (_) =>
Expand Down
6 changes: 5 additions & 1 deletion lib/common/components/ethGasConfirmPanel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ class EthGasConfirmPanel extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
Text(dic['evm.send.gas.$gasLevel']),
Text(
dic['evm.send.gas.$gasLevel'],
style: const TextStyle(
fontSize: 12, fontWeight: FontWeight.bold),
),
const Icon(Icons.arrow_forward_ios, size: 16)
],
),
Expand Down
5 changes: 1 addition & 4 deletions lib/pages/browser/browserApi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:app/pages/browser/dAppEthWrapperPage.dart';
import 'package:app/service/index.dart';
import 'package:flutter/material.dart';
import 'package:polkawallet_plugin_evm/polkawallet_plugin_evm.dart';
import 'package:polkawallet_ui/pages/dAppWrapperPage.dart';

class BrowserApi {
static const _dappLatestKey = 'dapp_latest';
Expand Down Expand Up @@ -43,9 +42,7 @@ class BrowserApi {
service.plugin is PluginEvm ? _dappEvmLatestKey : _dappLatestKey,
dappLatest);
return await Navigator.of(context).pushNamed(
service.plugin is PluginEvm
? DAppEthWrapperPage.route
: DAppWrapperPage.route,
DAppEthWrapperPage.route,
arguments: {
"url": dapp['detailUrl'],
"isPlugin": true,
Expand Down
Loading

0 comments on commit 399cdc7

Please sign in to comment.