chore: Upgrade to RN 71 (#1465)
* chore: Upgrade Example to RN 0.71 * chore: Upgrade all libs * fix: Fix CameraRoll installation * Update Gradle Tools * fix: Fix buildscripts * Clean out build.gradle * fix: Fix Kotlin setup * fix: Move kotlin-android dependency to lib * Move `_setGlobalConsole` * Update gradle-wrapper.properties * Rebuild lockfiles * chore: Update build:gradle * Update StatusBarBlurBackground.tsx * Use Java 11 in Workflows * Update MediaPage.tsx * Add `google` repository to build.gradle * Double Java Heap size * Increase heap size * Alternative args * Update build.gradle
This commit is contained in:
5
src/globals.d.ts
vendored
5
src/globals.d.ts
vendored
@@ -17,3 +17,8 @@ declare var _WORKLET: true | undefined;
|
||||
* A native logging function (outputs to Xcode console/Android Logcat)
|
||||
*/
|
||||
declare var _log: (message: string) => void | undefined;
|
||||
|
||||
/**
|
||||
* Set a Proxy for global.console in this Runtime
|
||||
*/
|
||||
declare var _setGlobalConsole: (console: unknown) => void;
|
||||
|
@@ -47,7 +47,6 @@ export function useFrameProcessor(frameProcessor: FrameProcessor, dependencies:
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
info: capturableConsole.info.__callAsync,
|
||||
};
|
||||
// @ts-expect-error _setGlobalConsole is set by RuntimeDecorator::decorateRuntime
|
||||
_setGlobalConsole(console);
|
||||
// @ts-expect-error
|
||||
global.didSetConsole = true;
|
||||
|
Reference in New Issue
Block a user