Conversation
Pre-release 2.8.4
Merge verified/unverified token fixes to master
Merge wc debugging and token issues
Merge r2.8.5 from develop to master
Merge r2.8.5 with code 288 from develop to master
* Hot fix - telegram deep linking (#1074) * 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 --------- Co-authored-by: Lea Lobanov <44328396+lealobanov@users.noreply.github.com>
PR SummaryEnhanced WebView functionality and deep linking implementation by improving URL handling, cleaning up code, and optimizing imports. Improved error handling for null URLs and added better logging for URL processing in WebView. Removed unused imports in deep linking utils. Changes
autogenerated by presubmit.ai |
There was a problem hiding this comment.
🚨 Pull request needs attention.
Review Summary
Commits Considered (8)
- cef301e: fix: merge conflicts
- b5b4c10: Merge r2.8.5 with version code 290 from develop to master (#1079)
-
Hot fix - telegram deep linking (#1074)
-
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
Co-authored-by: Lea Lobanov 44328396+lealobanov@users.noreply.github.com
- Hot fix - telegram deep linking
Merge r2.8.5 with code 288 from develop to master
Merge r2.8.5 from develop to master
Merge wc debugging and token issues
Merge verified/unverified token fixes to master
Pre-release 2.8.4
Files Processed (2)
- app/src/main/java/com/flowfoundation/wallet/page/browser/widgets/LilicoWebView.kt (5 hunks)
- app/src/main/java/com/flowfoundation/wallet/page/component/deeplinking/Utils.kt (2 hunks)
Actionable Comments (1)
-
app/src/main/java/com/flowfoundation/wallet/page/browser/widgets/LilicoWebView.kt [276-279]
possible bug: "Potential null pointer dereference in URL handling"
Skipped Comments (1)
-
app/src/main/java/com/flowfoundation/wallet/page/browser/widgets/LilicoWebView.kt [285-287]
best practice: "Hardcoded URL string comparison"
| if (request?.url == null) { | ||
| logd(TAG, "shouldOverrideUrlLoading: Request or URL is null") | ||
| return super.shouldOverrideUrlLoading(view, request) | ||
| } |
There was a problem hiding this comment.
The null check request?.url == null will pass if either request is null or request.url is null. However, the subsequent code directly uses request.url without null safety checks. Consider using a safe call operator or explicit null checks:
if (request == null || request.url == null) {
logd(TAG, "shouldOverrideUrlLoading: Request or URL is null")
return super.shouldOverrideUrlLoading(view, request)
}
Related Issue
Closes #???
Summary of Changes
Need Regression Testing
Risk Assessment
Additional Notes
Screenshots (if applicable)