Skip to content

Commit 13a9e3f

Browse files
cleanup: remove commented-out code in src/utils.ts (#533)
Removed the `isAndroid70AndBelow` function and its associated comments from `src/utils.ts`. This code was already commented out and not in use, improving the readability and maintainability of the file. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>
1 parent 3cd6f5c commit 13a9e3f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,6 @@ export const fetchWithTimeout = (
124124
});
125125
};
126126

127-
// export const isAndroid70AndBelow = () => {
128-
// // android 7.0 and below devices do not support letsencrypt cert
129-
// // https://letsencrypt.org/2023/07/10/cross-sign-expiration/
130-
// return Platform.OS === 'android' && Platform.Version <= 24;
131-
// };
132-
133127
export const enhancedFetch = async (
134128
url: string,
135129
params: Parameters<typeof fetch>[1],

0 commit comments

Comments
 (0)