Environment:
React Native: 0.82.0
hyper-sdk-react: 5.0.3
Android Gradle Plugin: 8.x
Gradle: 9.0
Architecture: New (Fabric + TurboModules) enabled
OS: macOS
When upgrading to React Native 0.82 and enabling the new architecture, the Android build fails with the following error messages:
Step 1: Initial Error
You should not use ReactNativeHost directly in the new Architecture
This happens because hyper-sdk-react uses ReactNativeHost references directly, which are now replaced by new APIs.
Step 2: After attempting to patch (following older SDK patterns)
Build fails with:
error: cannot find symbol
reactInstanceManager = com.facebook.react.ReactNativeApplicationEntryPoint.getReactHost(app).getReactInstanceManager();
^
symbol: class ReactNativeApplicationEntryPoint
location: package com.facebook.react
This indicates that ReactNativeApplicationEntryPoint is no longer available in React Native 0.82.
Expected Behavior
The SDK should compile and run under the new React Native architecture without requiring deprecated or internal API calls.