Completely rewrite all Android code (except Firebase)

BREAKING: Updates minSdkVersion to 23 from 21
This commit is contained in:
Tanay Neotia
2024-01-21 13:55:54 -05:00
parent d358d7fb21
commit c29110712e
84 changed files with 1705 additions and 3778 deletions

View File

@ -58,7 +58,7 @@ class IntentsService extends GetxService {
if (data is List) {
for (String? s in data) {
if (s == null) continue;
final path = await mcs.invokeMethod("get-content-path", {"uri": s});
final path = await mcs.invokeMethod("get-content-uri-path", {"uri": s});
final bytes = await File(path).readAsBytes();
files.add(PlatformFile(
path: path,
@ -68,7 +68,7 @@ class IntentsService extends GetxService {
));
}
} else if (data != null) {
final path = await mcs.invokeMethod("get-content-path", {"uri": data});
final path = await mcs.invokeMethod("get-content-uri-path", {"uri": data});
final bytes = await File(path).readAsBytes();
files.add(PlatformFile(
path: path,