mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-13 09:53:22 +00:00
Start with iOS support
This commit is contained in:
20
src/ios/APPBackgroundMode.h
Normal file
20
src/ios/APPBackgroundMode.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* APPBackgroundMode.h
|
||||
* Cordova BackgroundMode Plugin
|
||||
*
|
||||
* Created by Sebastian Katzer (github.com/katzer) on 08/10/2013.
|
||||
* Copyright 2013 Sebastian Katzer. All rights reserved.
|
||||
* GPL v2 licensed
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Cordova/CDVPlugin.h>
|
||||
|
||||
@interface APPBackgroundMode : CDVPlugin
|
||||
|
||||
// Aktiviert den Hintergrundmodus
|
||||
- (void) activateMode;
|
||||
// Deaktiviert den Hintergrundmodus
|
||||
- (void) deactivateMode;
|
||||
|
||||
@end
|
||||
26
src/ios/APPBackgroundMode.m
Normal file
26
src/ios/APPBackgroundMode.m
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* APPBackgroundMode.m
|
||||
* Cordova BackgroundMode Plugin
|
||||
*
|
||||
* Created by Sebastian Katzer (github.com/katzer) on 08/10/2013.
|
||||
* Copyright 2013 Sebastian Katzer. All rights reserved.
|
||||
* GPL v2 licensed
|
||||
*/
|
||||
|
||||
#import "APPBackgroundMode.h"
|
||||
|
||||
@implementation APPBackgroundMode
|
||||
|
||||
// Aktiviert den Hintergrundmodus
|
||||
- (void) activateMode
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Deaktiviert den Hintergrundmodus
|
||||
- (void) deactivateMode
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user