mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
7acaff6167
* chore_: use status.go v2 endpoint
39511298...e255fb8b
* feat: use status backend server (#21550)
* chore: add env variable STATUS_BACKEND_SERVER_IMAGE_SERVER_URI_PREFIX
* update doc
* fix_: image_server lint issue
* chore_: update status-go version
19 lines
715 B
Objective-C
19 lines
715 B
Objective-C
#import <sys/utsname.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <React/RCTBridgeModule.h>
|
|
#import "Statusgo.h"
|
|
#import "RCTLog.h"
|
|
|
|
@interface Utils : NSObject <RCTBridgeModule>
|
|
|
|
+ (NSURL *)getRootUrl;
|
|
+ (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;
|
|
+ (void)handleStatusGoResponse:(NSString *)response source:(NSString *)source error:(NSError *)error;
|
|
|
|
@end
|