- Fix BunnyLog compile error in Sideloading.x (leftover from Bunny->Revenge rename; only RevengeLog is defined) - Remove duplicated -loadConfig/+defaultConfig methods in LoaderConfig.m - Repoint CI's ipa-patcher download at a live mirror with a pinned checksum (Cristiandis/ipa-patcher was deleted upstream) - Add a second injection hook on RCTInstance/-_loadScriptFromSource: for React Native's Bridgeless mode, alongside the existing RCTCxxBridge hook. Discord's Android build already runs Bridgeless (confirmed via revenge-xposed's hook targets) and revenge-bundle now pins RN 0.81, which defaults to it - so the legacy bridge hook this tweak relied on was very likely dead. Unverified against a real device; see AUDIT.md. See AUDIT.md for the full iOS-vs-Android comparison and remaining gaps.
13 lines
No EOL
493 B
Objective-C
13 lines
No EOL
493 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NSURL *getPyoncordDirectory(void);
|
|
UIColor *hexToUIColor(NSString *hex);
|
|
void showErrorAlert(NSString *title, NSString *message);
|
|
|
|
/**
|
|
* Builds an `RCTSource` (react/runtime's bridgeless script container) by poking its private
|
|
* ivars directly, since React Native doesn't expose a public initializer for it.
|
|
* Returns nil if the `RCTSource` class isn't present in the running binary.
|
|
*/
|
|
id makeRCTSource(NSURL *url, NSData *data); |