-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Issue
We have updated from 2.02 to 2.1.0 while also enabling the new architecture on our app and we are facing an error when building android
> Task :app:compileDebugKotlin FAILED
MainApplication.kt:23:12 Unresolved reference: iterable
MainApplication.kt:55:5 Unresolved reference: IterableApi
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
These lines (IterableApi.setContext(this) were added following Iterable's docs guidance, and it was working until we made this upgrade to 2.1.0
What I've tried so far
- I tried to remove those lines as I did not see them in the example project, and although that made the build pass, when the app was opened I am now seeing this
- I also tried adding
include ':app', ':react-native-iterable', ':iterableapi'to settings gradle per the docs - https://support.iterable.com/hc/en-us/articles/360045714132-Installing-Iterable-s-React-Native-SDK#step-4-5-add-iterable-s-android-sdk-as-a-dependency
What is the current guidance for installing this sdk for react native + android?
We are currently using:
"react-native": "0.76.9",
"@iterable/react-native-sdk": "~2.1.0",
"expo": "52.0.19",
Metadata
Metadata
Assignees
Labels
No labels