feat: add onEnvChanged
This commit is contained in:
@@ -26,11 +26,14 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class DoricLibrary;
|
||||
@class DoricJSEngine;
|
||||
|
||||
@interface DoricRegistry : NSObject <DoricMonitorProtocol>
|
||||
@property(nonatomic, strong) UIImage *defaultPlaceHolderImage;
|
||||
@property(nonatomic, strong) UIImage *defaultErrorImage;
|
||||
|
||||
- (instancetype)initWithJSEngine:(DoricJSEngine *)jsEngine;
|
||||
|
||||
- (NSString *)acquireJSBundle:(NSString *)name;
|
||||
|
||||
- (void)registerJSBundle:(NSString *)bundle withName:(NSString *)name;
|
||||
@@ -46,8 +49,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (void)setEnvironment:(NSString *)key variable:(id)value;
|
||||
|
||||
- (NSDictionary *)environmentVariables;
|
||||
|
||||
- (void)registerMonitor:(id <DoricMonitorProtocol>)monitor;
|
||||
|
||||
+ (void)register:(DoricLibrary *)library;
|
||||
|
||||
Reference in New Issue
Block a user