You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
I get the following error when building for dev on Android:
/Users/me/myapp/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:89: error: constructor RNLeanplumPackage in class RNLeanplumPackage cannot be applied to given types;
new RNLeanplumPackage(),
^
required: Application
found: no arguments
reason: actual and formal argument lists differ in length
1 error
FAILURE: Build failed with an exception.
I figured out a workaround by updating my react-native.config.js as the following:
RN 0.60.5
@brandingbrand/react-native-leanplum 4.0.0
I get the following error when building for dev on Android:
I figured out a workaround by updating my
react-native.config.js
as the following:Then the app builds on Android fine.
The text was updated successfully, but these errors were encountered: