Commit 3ce47f9
authored
fix(android): Fixed class protection in builds to resolve the screen freezing issue in release builds (#1110)
* fix(android): Fixed class protection in builds to resolve the screen freezing issue in release builds
Allowed the use of debug signatures as a fallback during local verification
Updated build configurations to correctly handle missing signatures
Added documentation detailing signature requirements for release builds
* fix(android): Check signature configuration only when a release signature is required
Check the release signature configuration only when the task name contains ‘release’ to avoid unnecessary checks during non-release builds
* refactor(android): Optimize signature configuration validation logic and extract variables
Rewrite the signature configuration validation logic, extract properties as separate variables, and add null checks
Add validation of signature requirements for aggregate build tasks
* refactor(android): Optimize the detection logic for the release signature task
Break down complex conditional checks into clearer combinations of multiple conditions to improve code readability and maintainability
* fix(android): Fixed an issue with the normalization of build task names
Added normalization for task names containing colons during processing to ensure that signature verification logic executes correctly
* refactor(android): Optimize the logic for processing Gradle task names
Improve the logic for collecting and processing Gradle task names to ensure more accurate identification of project-related tasks and standardized handling. This prevents signature configuration errors caused by issues with task name formats.1 parent 75c1dd3 commit 3ce47f9
4 files changed
Lines changed: 70 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
25 | 69 | | |
26 | 70 | | |
27 | 71 | | |
| |||
70 | 114 | | |
71 | 115 | | |
72 | 116 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
77 | 121 | | |
78 | 122 | | |
79 | 123 | | |
80 | 124 | | |
81 | 125 | | |
82 | | - | |
| 126 | + | |
83 | 127 | | |
84 | 128 | | |
85 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
| 921 | + | |
922 | 922 | | |
923 | 923 | | |
924 | | - | |
| 924 | + | |
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
| 1509 | + | |
1510 | 1510 | | |
1511 | 1511 | | |
1512 | | - | |
| 1512 | + | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
1516 | 1516 | | |
1517 | | - | |
| 1517 | + | |
1518 | 1518 | | |
1519 | 1519 | | |
1520 | | - | |
| 1520 | + | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
1525 | | - | |
| 1525 | + | |
1526 | 1526 | | |
1527 | 1527 | | |
1528 | | - | |
| 1528 | + | |
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
| |||
0 commit comments