mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +03:00
52 lines
1.9 KiB
Objective-C
52 lines
1.9 KiB
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@interface MSWrapperSdk : NSObject
|
|
|
|
/*
|
|
* Version of the wrapper SDK. When the SDK is embedding another base SDK (for example Xamarin.Android wraps Android), the Xamarin specific
|
|
* version is populated into this field while sdkVersion refers to the original Android SDK. [optional]
|
|
*/
|
|
@property(nonatomic, copy, readonly) NSString *wrapperSdkVersion;
|
|
|
|
/*
|
|
* Name of the wrapper SDK (examples: Xamarin, Cordova). [optional]
|
|
*/
|
|
@property(nonatomic, copy, readonly) NSString *wrapperSdkName;
|
|
|
|
/*
|
|
* Version of the wrapper technology framework (Xamarin runtime version or ReactNative or Cordova etc...). [optional]
|
|
*/
|
|
@property(nonatomic, copy, readonly) NSString *wrapperRuntimeVersion;
|
|
|
|
/*
|
|
* Label that is used to identify application code 'version' released via Live Update beacon running on device.
|
|
*/
|
|
@property(nonatomic, copy, readonly) NSString *liveUpdateReleaseLabel;
|
|
|
|
/*
|
|
* Identifier of environment that current application release belongs to, deployment key then maps to environment like Production, Staging.
|
|
*/
|
|
@property(nonatomic, copy, readonly) NSString *liveUpdateDeploymentKey;
|
|
|
|
/*
|
|
* Hash of all files (ReactNative or Cordova) deployed to device via LiveUpdate beacon. Helps identify the Release version on device or need
|
|
* to download updates in future
|
|
*/
|
|
@property(nonatomic, copy, readonly) NSString *liveUpdatePackageHash;
|
|
|
|
- (instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion
|
|
wrapperSdkName:(NSString *)wrapperSdkName
|
|
wrapperRuntimeVersion:(NSString *)wrapperRuntimeVersion
|
|
liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel
|
|
liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey
|
|
liveUpdatePackageHash:(NSString *)liveUpdatePackageHash;
|
|
|
|
/**
|
|
* Checks if the object's values are valid.
|
|
*
|
|
* @return YES, if the object is valid.
|
|
*/
|
|
- (BOOL)isValid;
|
|
|
|
@end
|