@livx.cc/native-kit 0.44.1 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -36,6 +36,14 @@ export interface ScheduleOptions {
|
|
|
36
36
|
* what the caller meant. Android honours this on API 29+ only.
|
|
37
37
|
*/
|
|
38
38
|
silent?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Custom alert sound — either a file name the app already bundles, or an http(s) URL to audio in
|
|
41
|
+
* any format (mp3 included). iOS never fetches a sound itself and only plays LinearPCM in a
|
|
42
|
+
* caf/aiff/wav container under 30s, so the shell downloads a URL once, transcodes it, caches it in
|
|
43
|
+
* `Library/Sounds`, and hands the OS the resulting file name. Anything that fails along the way
|
|
44
|
+
* falls back to the DEFAULT alert — never to silence. iOS only; Android uses its channel sound.
|
|
45
|
+
*/
|
|
46
|
+
sound?: string;
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
export class NotificationsModule {
|