Conversation
* Hot fix - telegram deep linking * Hot fix - telegram deep linking * Hot fix - telegram deep linking * Hot fix - telegram deep linking * Hot fix - telegram deep linking * Hot fix - telegram deep linking * WC deep linking * WC deep linking
fix: update the version code
* Debug crash in WebView dropdown * Bump CrowdIn to latest * Bump CrowdIn to latest * Bump CrowdIn to latest * Bump CrowdIn to latest * Bump CrowdIn to latest
Additional WC debugging
Deep linking refactoring
fix: nft collection external url
fix: validate pairing uri
fix: walletconnect clean up session
Fix conflicts
PR SummaryImproved WalletConnect integration with better error handling and session management. Introduced a new URI handling system for deep links and universal links. Updated Crowdin SDK and version code to r2.8.6. Enhanced UI components and fixed various bugs in address book and profile sections. Changes
autogenerated by presubmit.ai |
There was a problem hiding this comment.
🚨 Pull request needs attention.
Review Summary
Commits Considered (30)
fix: update the version code
-
Hot fix - telegram deep linking
-
Hot fix - telegram deep linking
-
Hot fix - telegram deep linking
-
Hot fix - telegram deep linking
-
Hot fix - telegram deep linking
-
Hot fix - telegram deep linking
-
WC deep linking
-
WC deep linking
- 8cfabd7: WC deep linking
- 1636e84: WC deep linking
- a69552b: Hot fix - telegram deep linking
- a29c063: Hot fix - telegram deep linking
- 3a3501f: Hot fix - telegram deep linking
- dbf897f: Hot fix - telegram deep linking
- 7a2ab7e: Hot fix - telegram deep linking
- aa21958: Hot fix - telegram deep linking
- 2e30fb0: Debugging
- 15ef59e: Debugging
- 615b7db: Debugging
- 6042104: Debugging
- ea9539d: Debugging
- fb65831: Debugging
- 6f1a7b8: Merge remote-tracking branch 'origin/wc-debugging-2' into wc-debugging-2
- cbbcbeb: Disable dev build on branch
- 0b8d5cf: Merge branch 'develop' into wc-debugging-2
- a025e70: Improve session cleanup
- dcad73d: Improve session cleanup
- f1ae541: Improve session cleanup
- a7817ac: Improve session cleanup
- 1fc7469: Improve session cleanup
- 84e630e: Run build
- 57a5d7a: Session cleanup
- 81900f6: Session cleanup
- b908eb4: Improve error handling
- c1df5b3: Improve error handling
Files Processed (24)
- app/build.gradle (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/FlowWalletApplication.kt (2 hunks)
- app/src/main/java/com/flowfoundation/wallet/crowdin/CrowdinUtils.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/manager/config/NftCollectionConfig.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/Utils.kt (2 hunks)
- app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/WalletConnect.kt (3 hunks)
- app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/WalletConnectDelegate.kt (2 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/address/presenter/AddressBookPersonPresenter.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/page/browser/widgets/LilicoWebView.kt (7 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/collection/presenter/CollectionContentPresenter.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/DeepLinkType.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/DeepLinkingActivity.kt (3 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/PendingActionHelper.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/UriHandler.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/Utils.kt (6 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/profile/presenter/ProfileFragmentPresenter.kt (2 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/profile/subpage/wallet/key/presenter/AccountKeyListItemPresenter.kt (3 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/wallet/sync/WalletSyncViewModel.kt (1 hunk)
- app/src/main/java/com/flowfoundation/wallet/widgets/webview/evm/dialog/EVMSendTransactionDialog.kt (1 hunk)
- app/src/main/res/layout/activity_add_address.xml (1 hunk)
- app/src/main/res/layout/dialog_evm_transaction.xml (2 hunks)
- app/src/main/res/layout/layout_key_list_item.xml (1 hunk)
- app/src/main/res/values/strings.xml (2 hunks)
- gradle.properties (1 hunk)
Actionable Comments (1)
-
app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/UriHandler.kt [80-83]
possible issue: "Potential loss of WalletConnect connections"
Skipped Comments (3)
-
app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/WalletConnectDelegate.kt [446-449]
enhancement: "Improve error handling for stale session requests"
-
app/src/main/java/com/flowfoundation/wallet/page/profile/presenter/ProfileFragmentPresenter.kt [156-156]
enhancement: "Optimize fragment lifecycle check placement"
-
app/src/main/java/com/flowfoundation/wallet/manager/walletconnect/Utils.kt [31-42]
enhancement: "Enhance session approval error handling"
| if (WalletConnect.isInitialized()) { | ||
| WalletConnect.get().pair(wcUri) | ||
| true | ||
| } else { |
There was a problem hiding this comment.
The WalletConnect initialization check could lead to lost connections. Consider saving the URI for later processing when WalletConnect is not initialized, similar to the commented code.
Related Issue
Closes #???
Summary of Changes
Need Regression Testing
Risk Assessment
Additional Notes
Screenshots (if applicable)