We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6683aa4 commit 95ac7e1Copy full SHA for 95ac7e1
src/plugins/backgroundmode.ts
@@ -123,6 +123,24 @@ export class BackgroundMode {
123
})
124
static on(event: string): Observable<any> { return; }
125
126
+ /**
127
+ * Android allows to programmatically move from foreground to background.
128
+ */
129
+ @Cordova({
130
+ platforms: ['Android'],
131
+ sync: true
132
+ })
133
+ static moveToBackground(): void {}
134
+
135
136
+ * Android allows to programmatically move from background to foreground.
137
138
139
140
141
142
+ static moveToForeground(): void {}
143
144
/**
145
* Override the back button on Android to go to background instead of closing the app.
146
*/
0 commit comments