2024-01-15 13:27:35 +00:00
|
|
|
#import <sys/utsname.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
|
|
#import "Statusgo.h"
|
|
|
|
#import "RCTLog.h"
|
|
|
|
|
|
|
|
@interface Utils : NSObject <RCTBridgeModule>
|
|
|
|
|
2024-11-19 10:50:01 +00:00
|
|
|
+ (NSURL *)getRootUrl;
|
2024-01-15 13:27:35 +00:00
|
|
|
+ (NSString *)jsonStringWithPrettyPrint:(BOOL)prettyPrint fromDictionary:(NSDictionary *)dictionary;
|
|
|
|
+ (NSString *)jsonStringWithPrettyPrint:(BOOL)prettyPrint fromArray:(NSArray *)array;
|
|
|
|
+ (NSURL *)getKeyStoreDirForKeyUID:(NSString *)keyUID;
|
|
|
|
+ (NSString *)getExportDbFilePath;
|
|
|
|
+ (NSString *)getKeyUID:(NSString *)jsonString;
|
|
|
|
+ (void)migrateKeystore:(NSString *)accountData password:(NSString *)password;
|
2024-11-19 10:50:01 +00:00
|
|
|
+ (void)handleStatusGoResponse:(NSString *)response source:(NSString *)source error:(NSError *)error;
|
2024-01-15 13:27:35 +00:00
|
|
|
|
|
|
|
@end
|