diff --git a/android/build.gradle b/android/build.gradle
deleted file mode 100644
index 85cda090a9a2d925918aecd4f4af11413cd181f3..0000000000000000000000000000000000000000
--- a/android/build.gradle
+++ /dev/null
@@ -1,20 +0,0 @@
-apply plugin: 'com.android.library'
-
-def safeExtGet(prop, fallback) {
- rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
-}
-
-android {
- compileSdkVersion safeExtGet('compileSdkVersion', 28)
-
- defaultConfig {
- minSdkVersion safeExtGet('minSdkVersion', 16)
- targetSdkVersion safeExtGet('targetSdkVersion', 28)
- versionCode 1
- versionName "1.0"
- }
-}
-
-dependencies {
- implementation 'com.facebook.react:react-native:+'
-}
diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
deleted file mode 100755
index 73a8a7f5789bf05f901f1de7687067711a5a2a49..0000000000000000000000000000000000000000
--- a/android/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/android/src/main/java/com/ocetnik/timer/BackgroundTimerModule.java b/android/src/main/java/com/ocetnik/timer/BackgroundTimerModule.java
deleted file mode 100644
index 1f87803884a750dc80c37cbde303853ad01c0f08..0000000000000000000000000000000000000000
--- a/android/src/main/java/com/ocetnik/timer/BackgroundTimerModule.java
+++ /dev/null
@@ -1,97 +0,0 @@
-package com.ocetnik.timer;
-
-import android.os.Handler;
-import android.os.PowerManager;
-
-import com.facebook.react.bridge.LifecycleEventListener;
-import com.facebook.react.bridge.ReactApplicationContext;
-import com.facebook.react.bridge.ReactContext;
-import com.facebook.react.bridge.ReactContextBaseJavaModule;
-import com.facebook.react.bridge.ReactMethod;
-import com.facebook.react.modules.core.DeviceEventManagerModule;
-
-import java.lang.Runnable;
-
-public class BackgroundTimerModule extends ReactContextBaseJavaModule {
-
- private Handler handler;
- private ReactContext reactContext;
- private Runnable runnable;
- private PowerManager powerManager;
- private PowerManager.WakeLock wakeLock;
- private final LifecycleEventListener listener = new LifecycleEventListener(){
- @Override
- public void onHostResume() {}
-
- @Override
- public void onHostPause() {}
-
- @Override
- public void onHostDestroy() {
- if (wakeLock.isHeld()) wakeLock.release();
- }
- };
-
- public BackgroundTimerModule(ReactApplicationContext reactContext) {
- super(reactContext);
- this.reactContext = reactContext;
- this.powerManager = (PowerManager) getReactApplicationContext().getSystemService(reactContext.POWER_SERVICE);
- this.wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "rohit_bg_wakelock");
- reactContext.addLifecycleEventListener(listener);
- }
-
- @Override
- public String getName() {
- return "RNBackgroundTimer";
- }
-
- @ReactMethod
- public void start(final int delay) {
- if (!wakeLock.isHeld()) wakeLock.acquire();
-
- handler = new Handler();
- runnable = new Runnable() {
- @Override
- public void run() {
- sendEvent(reactContext, "backgroundTimer");
- }
- };
-
- handler.post(runnable);
- }
-
- @ReactMethod
- public void stop() {
- if (wakeLock.isHeld()) wakeLock.release();
-
- // avoid null pointer exceptio when stop is called without start
- if (handler != null) handler.removeCallbacks(runnable);
- }
-
- private void sendEvent(ReactContext reactContext, String eventName) {
- reactContext
- .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
- .emit(eventName, null);
- }
-
- @ReactMethod
- public void setTimeout(final int id, final double timeout) {
- Handler handler = new Handler();
- handler.postDelayed(new Runnable(){
- @Override
- public void run(){
- if (getReactApplicationContext().hasActiveCatalystInstance()) {
- getReactApplicationContext()
- .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
- .emit("backgroundTimer.timeout", id);
- }
- }
- }, (long) timeout);
- }
-
- /*@ReactMethod
- public void clearTimeout(final int id) {
- // todo one day..
- // not really neccessary to have
- }*/
-}
diff --git a/android/src/main/java/com/ocetnik/timer/BackgroundTimerPackage.java b/android/src/main/java/com/ocetnik/timer/BackgroundTimerPackage.java
deleted file mode 100644
index 89e8cee43e6462a923e94ccd71234011f4073784..0000000000000000000000000000000000000000
--- a/android/src/main/java/com/ocetnik/timer/BackgroundTimerPackage.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package com.ocetnik.timer;
-
-import com.facebook.react.ReactPackage;
-import com.facebook.react.bridge.JavaScriptModule;
-import com.facebook.react.bridge.NativeModule;
-import com.facebook.react.bridge.ReactApplicationContext;
-import com.facebook.react.uimanager.ViewManager;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-public class BackgroundTimerPackage implements ReactPackage {
-
- public BackgroundTimerPackage() {
- }
-
- @Override
- public List createNativeModules(ReactApplicationContext reactContext) {
- List modules = new ArrayList<>();
- modules.add(new BackgroundTimerModule(reactContext));
-
- return modules;
- }
-
- public List> createJSModules() {
- return Collections.emptyList();
- }
-
- @Override
- public List createViewManagers(ReactApplicationContext reactContext) {
- return Collections.emptyList();
- }
-}
diff --git a/harmony/background_timer/src/main/cpp/ReactNativeOhosReactNativeBackgroundTimerPackage.h b/harmony/background_timer/src/main/cpp/BackgroundTimerPackage.h
similarity index 100%
rename from harmony/background_timer/src/main/cpp/ReactNativeOhosReactNativeBackgroundTimerPackage.h
rename to harmony/background_timer/src/main/cpp/BackgroundTimerPackage.h
diff --git a/harmony/background_timer/src/main/ets/BackgroundTimerPackage.ts b/harmony/background_timer/src/main/ets/BackgroundTimerPackage.ts
index 380e61d7748a045544325ef44068bb8fb8252a58..a2c236eda34031f81919939be1e6a4e5b93df96e 100644
--- a/harmony/background_timer/src/main/ets/BackgroundTimerPackage.ts
+++ b/harmony/background_timer/src/main/ets/BackgroundTimerPackage.ts
@@ -5,13 +5,12 @@
* found in the LICENSE file
*
*/
-
-import { RNPackage, WorkerTurboModuleFactory } from '@rnoh/react-native-openharmony/ts';
-import type { WorkerTurboModule, WorkerTurboModuleContext } from '@rnoh/react-native-openharmony/ts';
+import { RNPackage, TurboModulesFactory } from '@rnoh/react-native-openharmony/ts';
+import type { TurboModule, TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
import { BackgroundTimerTurboModule } from './BackgroundTimerTurboModule';
-class BackgroundTimerTurboModuleFactory extends WorkerTurboModuleFactory {
- createTurboModule(name: string): WorkerTurboModule | null {
+class BackgroundTimerTurboModuleFactory extends TurboModulesFactory {
+ createTurboModule(name: string): TurboModule | null {
if (name === 'BackgroundTimerTurboModule') {
return new BackgroundTimerTurboModule(this.ctx);
}
@@ -24,7 +23,7 @@ class BackgroundTimerTurboModuleFactory extends WorkerTurboModuleFactory {
}
export class BackgroundTimerTurboModulePackage extends RNPackage {
- createWorkerTurboModuleFactory(ctx: WorkerTurboModuleContext): WorkerTurboModuleFactory {
+ createTurboModulesFactory(ctx: TurboModuleContext): TurboModulesFactory {
return new BackgroundTimerTurboModuleFactory(ctx);
}
-}
+}
\ No newline at end of file
diff --git a/harmony/background_timer/src/main/ets/BackgroundTimerTurboModule.ts b/harmony/background_timer/src/main/ets/BackgroundTimerTurboModule.ts
index 31901d51b46ca166e5766f287a5343217fade779..2093a53f6a7c69f6449c17e95690f4334515db12 100644
--- a/harmony/background_timer/src/main/ets/BackgroundTimerTurboModule.ts
+++ b/harmony/background_timer/src/main/ets/BackgroundTimerTurboModule.ts
@@ -5,16 +5,15 @@
* found in the LICENSE file
*
*/
-
-import { WorkerTurboModule, RNOHError, Tag } from '@rnoh/react-native-openharmony/ts';
-import { TM } from "./generated/ts"
+import { TurboModule, RNOHError, Tag } from '@rnoh/react-native-openharmony/ts';
+import { TM } from "@rnoh/react-native-openharmony/generated/ts"
import worker from '@ohos.worker';
-import type { WorkerTurboModuleContext } from '@rnoh/react-native-openharmony/ts';
+import type { TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
// import { BackgroundTimer } from './BackgroundTimerWorker'
-export class BackgroundTimerTurboModule extends WorkerTurboModule implements TM.BackgroundTimerTurboModule.Spec {
- constructor(ctx: WorkerTurboModuleContext) {
+export class BackgroundTimerTurboModule extends TurboModule implements TM.BackgroundTimerTurboModule.Spec {
+ constructor(ctx: TurboModuleContext) {
super(ctx);
}
@@ -33,4 +32,4 @@ export class BackgroundTimerTurboModule extends WorkerTurboModule implements TM.
this.ctx.rnInstance.emitDeviceEvent("backgroundTimer.timeout", id)
}, timeout)
}
-}
+}
\ No newline at end of file
diff --git a/ios/RNBackgroundTimer.h b/ios/RNBackgroundTimer.h
deleted file mode 100644
index b52f51cba901f8303aa340eae79c1c8d767f8cdb..0000000000000000000000000000000000000000
--- a/ios/RNBackgroundTimer.h
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// RNBackgroundTimer.h
-// react-native-background-timer
-//
-// Created by IjzerenHein on 06-09-2016.
-// Copyright (c) ATO Gear. All rights reserved.
-//
-
-#import
-// Support React Native headers both in the React namespace, where they are in RN version 0.40+,
-// and no namespace, for older versions of React Native
-#if __has_include()
-#import
-#else
-#import "RCTEventEmitter.h"
-#endif
-
-
-@interface RNBackgroundTimer : RCTEventEmitter
-
-@end
diff --git a/ios/RNBackgroundTimer.m b/ios/RNBackgroundTimer.m
deleted file mode 100644
index dc97044a56c31d71436b6ca766273d14d152a0ee..0000000000000000000000000000000000000000
--- a/ios/RNBackgroundTimer.m
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-// RNBackgroundTimer.m
-// react-native-background-timer
-//
-// Created by IjzerenHein on 06-09-2016.
-// Copyright (c) ATO Gear. All rights reserved.
-//
-
-@import UIKit;
-#import "RNBackgroundTimer.h"
-
-@implementation RNBackgroundTimer {
- UIBackgroundTaskIdentifier bgTask;
- int delay;
-}
-
-RCT_EXPORT_MODULE()
-
-- (NSArray *)supportedEvents { return @[@"backgroundTimer", @"backgroundTimer.timeout"]; }
-
-- (void) _start
-{
- [self _stop];
- bgTask = [[UIApplication sharedApplication] beginBackgroundTaskWithName:@"RNBackgroundTimer" expirationHandler:^{
- // Clean up any unfinished task business by marking where you
- // stopped or ending the task outright.
- [[UIApplication sharedApplication] endBackgroundTask:bgTask];
- bgTask = UIBackgroundTaskInvalid;
- }];
-
- UIBackgroundTaskIdentifier thisBgTask = bgTask;
- dispatch_async(dispatch_get_main_queue(), ^{
- if ([self bridge] != nil && thisBgTask == bgTask) {
- [self sendEventWithName:@"backgroundTimer" body:[NSNumber numberWithInt:(int)thisBgTask]];
- }
- });
-}
-
-- (void) _stop
-{
- if (bgTask != UIBackgroundTaskInvalid) {
- [[UIApplication sharedApplication] endBackgroundTask:bgTask];
- bgTask = UIBackgroundTaskInvalid;
- }
-}
-
-RCT_EXPORT_METHOD(start:(double)_delay
- resolver:(RCTPromiseResolveBlock)resolve
- rejecter:(RCTPromiseRejectBlock)reject)
-{
- delay = _delay;
- [self _start];
- resolve([NSNumber numberWithBool:YES]);
-}
-
-RCT_EXPORT_METHOD(stop:(RCTPromiseResolveBlock)resolve
- rejecter:(RCTPromiseRejectBlock)reject)
-{
- [self _stop];
- resolve([NSNumber numberWithBool:YES]);
-}
-
-RCT_EXPORT_METHOD(setTimeout:(int)timeoutId
- timeout:(double)timeout
- resolver:(RCTPromiseResolveBlock)resolve
- rejecter:(RCTPromiseRejectBlock)reject)
-{
- __block UIBackgroundTaskIdentifier task = [[UIApplication sharedApplication] beginBackgroundTaskWithName:@"RNBackgroundTimer" expirationHandler:^{
- [[UIApplication sharedApplication] endBackgroundTask:task];
- }];
-
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, timeout * NSEC_PER_MSEC), dispatch_get_main_queue(), ^{
- if ([self bridge] != nil) {
- [self sendEventWithName:@"backgroundTimer.timeout" body:[NSNumber numberWithInt:timeoutId]];
- }
- [[UIApplication sharedApplication] endBackgroundTask:task];
- });
- resolve([NSNumber numberWithBool:YES]);
-}
-
-/*
-RCT_EXPORT_METHOD(clearTimeout:(int)timeoutId
- resolver:(RCTPromiseResolveBlock)resolve
- rejecter:(RCTPromiseRejectBlock)reject)
-{
- // Do nothing :)
- // timeout will be ignored in javascript anyway :)
-}*/
-
-@end
diff --git a/ios/RNBackgroundTimer.xcodeproj/project.pbxproj b/ios/RNBackgroundTimer.xcodeproj/project.pbxproj
deleted file mode 100644
index 0b0eb34d902e275ee8f06d3f7cd38fe2c51f5fe5..0000000000000000000000000000000000000000
--- a/ios/RNBackgroundTimer.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,347 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 6419269B1ECB4266009CF731 /* RNBackgroundTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNBackgroundTimer.m */; };
- B3E7B58A1CC2AC0600A0062D /* RNBackgroundTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNBackgroundTimer.m */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 58B511D91A9E6C8500147676 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "include/$(PRODUCT_NAME)";
- dstSubfolderSpec = 16;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 641926901ECB4257009CF731 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "include/$(PRODUCT_NAME)";
- dstSubfolderSpec = 16;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 134814201AA4EA6300B7C361 /* libRNBackgroundTimer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNBackgroundTimer.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 641926921ECB4257009CF731 /* libRNBackgroundTimer.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNBackgroundTimer.a; sourceTree = BUILT_PRODUCTS_DIR; };
- B3E7B5881CC2AC0600A0062D /* RNBackgroundTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNBackgroundTimer.h; sourceTree = ""; };
- B3E7B5891CC2AC0600A0062D /* RNBackgroundTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNBackgroundTimer.m; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 58B511D81A9E6C8500147676 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 6419268F1ECB4257009CF731 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 134814211AA4EA7D00B7C361 /* Products */ = {
- isa = PBXGroup;
- children = (
- 134814201AA4EA6300B7C361 /* libRNBackgroundTimer.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 58B511D21A9E6C8500147676 = {
- isa = PBXGroup;
- children = (
- B3E7B5881CC2AC0600A0062D /* RNBackgroundTimer.h */,
- B3E7B5891CC2AC0600A0062D /* RNBackgroundTimer.m */,
- 134814211AA4EA7D00B7C361 /* Products */,
- 641926921ECB4257009CF731 /* libRNBackgroundTimer.a */,
- );
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 58B511DA1A9E6C8500147676 /* RNBackgroundTimer */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNBackgroundTimer" */;
- buildPhases = (
- 58B511D71A9E6C8500147676 /* Sources */,
- 58B511D81A9E6C8500147676 /* Frameworks */,
- 58B511D91A9E6C8500147676 /* CopyFiles */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = RNBackgroundTimer;
- productName = RCTDataManager;
- productReference = 134814201AA4EA6300B7C361 /* libRNBackgroundTimer.a */;
- productType = "com.apple.product-type.library.static";
- };
- 641926911ECB4257009CF731 /* RNBackgroundTimer-tvOS */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 6419269A1ECB4257009CF731 /* Build configuration list for PBXNativeTarget "RNBackgroundTimer-tvOS" */;
- buildPhases = (
- 6419268E1ECB4257009CF731 /* Sources */,
- 6419268F1ECB4257009CF731 /* Frameworks */,
- 641926901ECB4257009CF731 /* CopyFiles */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = "RNBackgroundTimer-tvOS";
- productName = "RNBackgroundTimer-tvOS";
- productReference = 641926921ECB4257009CF731 /* libRNBackgroundTimer.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 58B511D31A9E6C8500147676 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 0610;
- ORGANIZATIONNAME = Facebook;
- TargetAttributes = {
- 58B511DA1A9E6C8500147676 = {
- CreatedOnToolsVersion = 6.1.1;
- };
- 641926911ECB4257009CF731 = {
- CreatedOnToolsVersion = 8.3.2;
- ProvisioningStyle = Automatic;
- };
- };
- };
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNBackgroundTimer" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 58B511D21A9E6C8500147676;
- productRefGroup = 58B511D21A9E6C8500147676;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 58B511DA1A9E6C8500147676 /* RNBackgroundTimer */,
- 641926911ECB4257009CF731 /* RNBackgroundTimer-tvOS */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 58B511D71A9E6C8500147676 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- B3E7B58A1CC2AC0600A0062D /* RNBackgroundTimer.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 6419268E1ECB4257009CF731 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 6419269B1ECB4266009CF731 /* RNBackgroundTimer.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 58B511ED1A9E6C8500147676 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 7.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- };
- name = Debug;
- };
- 58B511EE1A9E6C8500147676 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 7.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 58B511F01A9E6C8500147676 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
- "$(SRCROOT)/../../../React/**",
- "$(SRCROOT)/../../react-native/React/**",
- );
- LIBRARY_SEARCH_PATHS = "$(inherited)";
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = RNBackgroundTimer;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 58B511F11A9E6C8500147676 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- HEADER_SEARCH_PATHS = (
- "$(inherited)",
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
- "$(SRCROOT)/../../../React/**",
- "$(SRCROOT)/../../react-native/React/**",
- );
- LIBRARY_SEARCH_PATHS = "$(inherited)";
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = RNBackgroundTimer;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 641926981ECB4257009CF731 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_TESTABILITY = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = RNBackgroundTimer;
- SDKROOT = appletvos;
- SKIP_INSTALL = YES;
- TVOS_DEPLOYMENT_TARGET = 10.2;
- };
- name = Debug;
- };
- 641926991ECB4257009CF731 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- GCC_NO_COMMON_BLOCKS = YES;
- OTHER_LDFLAGS = "-ObjC";
- PRODUCT_NAME = RNBackgroundTimer;
- SDKROOT = appletvos;
- SKIP_INSTALL = YES;
- TVOS_DEPLOYMENT_TARGET = 10.2;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNBackgroundTimer" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 58B511ED1A9E6C8500147676 /* Debug */,
- 58B511EE1A9E6C8500147676 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNBackgroundTimer" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 58B511F01A9E6C8500147676 /* Debug */,
- 58B511F11A9E6C8500147676 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 6419269A1ECB4257009CF731 /* Build configuration list for PBXNativeTarget "RNBackgroundTimer-tvOS" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 641926981ECB4257009CF731 /* Debug */,
- 641926991ECB4257009CF731 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 58B511D31A9E6C8500147676 /* Project object */;
-}
diff --git a/ios/RNBackgroundTimer.xcodeproj/xcuserdata/jlexyc.xcuserdatad/xcschemes/xcschememanagement.plist b/ios/RNBackgroundTimer.xcodeproj/xcuserdata/jlexyc.xcuserdatad/xcschemes/xcschememanagement.plist
deleted file mode 100644
index 3c9f00f3b66cf1f1d8ff7ad3d66aaeb303018bbb..0000000000000000000000000000000000000000
--- a/ios/RNBackgroundTimer.xcodeproj/xcuserdata/jlexyc.xcuserdatad/xcschemes/xcschememanagement.plist
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
- SchemeUserState
-
- RNBackgroundTimer-tvOS.xcscheme
-
- orderHint
- 42
-
- RNBackgroundTimer.xcscheme
-
- orderHint
- 41
-
-
-
-