urbanairship / react-native-airship

Airship React Native module
Other
87 stars 62 forks source link

A problem occurred evaluating project ':react-native-airship' #545

Closed Toba999 closed 9 months ago

Toba999 commented 9 months ago

❗For how-to inquiries involving Airship functionality or use cases, please contact (support)[https://support.airship.com/].

Preliminary Info

What Airship dependencies are you using?

"react": "18.1.0", "react-native": "0.70.7", "@ua/react-native-airship": "15.2.5", "react-native-gesture-handler": "1.9.0", "react-native-safe-area-context": "4.1.2"

What are the versions of any relevant development tools you are using?

Android Studio Hedgehog | 2023.1.1

Report

What unexpected behavior are you seeing?

A problem occurred evaluating project ':react-native-airship'.

react-native-airship: Failed to resolve 'react-native' in the project. If you have a non-standard project structure, you can specify 'reactNativeDir' with the path to 'react-native' in your 'gradle.properties' file.

What is the expected behavior?

build successfully

What are the steps to reproduce the unexpected behavior?

Do you have logging for the issue?

rlepinski commented 9 months ago

Can you verify you have react-native-airship in your node modules?

Toba999 commented 9 months ago
Screenshot 2024-01-18 at 9 45 51 PM
rlepinski commented 9 months ago

I am not sure if this is an airship issue or just a project setup issue. Could you reproduce this in a project that you can share with us ?

Toba999 commented 9 months ago

Is there any documentaion why the component would throw this specific excepeption that I can read and investigate myself

Toba999 commented 9 months ago

the issue was resolved when I added a specific directory for React native module in Gradle.properties file but this solution is not acceptable to use in my case where many devs are working on the same project

rlepinski commented 9 months ago

@Toba999 we are following a standard react plugin structure, so I am not sure what the issue is here. I dont think its airship releated. If you can provide a sample of the issue we can investigate further