Ta android + ios

This commit is contained in:
LYP
2024-08-07 20:22:28 +08:00
parent 69fee08c61
commit 76458664d8
722 changed files with 41709 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
//
// TDAppState.h
// ThinkingSDK
//
// Created by wwango on 2021/9/24.
// Copyright © 2021 thinkingdata. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDAppState : NSObject
/// Whether to start in the background. When the app is woken up by silently pushing the background, or when the location change wakes up the app, value = YES. (thread safe)
@property (atomic, assign) BOOL relaunchInBackground;
/// Whether the current app is in the foreground
@property (atomic, assign) BOOL isActive;
+ (instancetype)shareInstance;
+ (id)sharedApplication;
+ (BOOL)runningInAppExtension;
@end
NS_ASSUME_NONNULL_END