mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-19 20:20:18 +02:00
onboarding + eq fixes
This commit is contained in:
@@ -91,6 +91,23 @@ declare class AstraLibraryScannerModuleType extends NativeModule<AstraLibrarySca
|
||||
getPersistedTreeUris(): string[];
|
||||
takePersistableUriPermission(uri: string): Promise<boolean>;
|
||||
releasePersistedUriPermission(uri: string): Promise<void>;
|
||||
/**
|
||||
* Scan keepalive (Android). `startScanService` promotes a `dataSync` foreground
|
||||
* service + partial wakelock so a JS-orchestrated scan keeps running when the app
|
||||
* is backgrounded / the screen sleeps, and shows a progress notification;
|
||||
* `updateScanNotification` refreshes it; `stopScanService` tears it down. The
|
||||
* wakelock/keepalive work even if the notification itself is not permitted.
|
||||
*/
|
||||
startScanService(title: string, text: string): void;
|
||||
updateScanNotification(
|
||||
title: string,
|
||||
text: string,
|
||||
subText: string | null,
|
||||
current: number,
|
||||
total: number,
|
||||
indeterminate: boolean
|
||||
): void;
|
||||
stopScanService(): void;
|
||||
}
|
||||
|
||||
export const AstraLibraryScanner =
|
||||
|
||||
Reference in New Issue
Block a user