-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Your Socket Mobile Developer ID
b3889107-171f-f111-8341-6045bd03f534
Environment
android sdk level 36
RN: 0.80.2
react-native-capture@latest from npm
android simulator (but its a build time issue, so irrelevant)
Description
Integrating into SDK for the first time. Followed the steps from the SDK guide for react-native-capture. We use a react native app for ios and android that does not use RN New Architecture (its set to OFF/False). Integrating the react-native-capture results in it building fine for iOS. However, android builds are failing the kotlin compile step, due to their being compile time declarations in the CaptureSDK files. AI summary included of the issue
Steps to Reproduce
- have a RN app with new arch disabled - iOS - info.plist key RCTNewArchEnabled - false. gradle.properties - newArchEnabled=false
- install react-native-capture via npm
- run podinstall (for ios) info.plist
- build RN ios app - works
- build RN android app - fails due to RN generated code not existing due to new arch being disabled
Expected Behavior
android kotlin compile build succeeds
Actual Behavior
kotlin compile fails
Additional Context
See attachment for AI-generated summary explanation of issue, including the build errors we are seeing