awslabs/clickstream-react-native

Can not use it in expo project

moonrailgun opened this issue · 4 comments

Describe the bug

image

image

when i try to install it and build it in xcode, its will throw those problem

Steps To Reproduce

Steps to reproduce the behavior:
1. create a expo project
2. install it with `expo install @aws/clickstream-react-native`
3. run `pod install` in `ios` folder.
4. throw this error

Expected behavior

build pass

ClickstreamAnalytic React Native SDK Version

0.2.1(latest)

React Native version

0.73.1

The platform of the bug

iOS

Relevant log output

<details>
<summary>Log Messages</summary>


</details>

Is this a regression?

Yes

Regression additional context

No response

Additional context

No response

Hi, the Clickstream React Native SDK does not currently support direct installation in Expo projects. You can try running npx expo prebuild to convert your project into a standard React Native project with native modules, and then follow the SDK documentation for integration.

For the error you encountered, you can refer to this issue and try unchecking the "Parallelize Build" option to see if it resolves the problem.

i am try to install it in a exist react native project. install clickstream before and install expo later.
and much conflict.
android is work perfect but ios spent me over 4 days and no way to resolve.(cry).

already try use native spm link and react native link.

now i ignore expo module in ios platform and try to find other way to replace clickstream. but if i can resolve this problem, i will grad to continue use clickstream as our team backend data platform

Hi~ moonrailgun, thanks for your comments. We have a sample react-native app with Clickstream react native SDK integrated, you can refer to this repo for details. In addition, can you provide a minimal sample project that only integrates the Clickstream react native SDK and provide the build steps to reproduce the issue, then you can contact us more conveniently via email xiaoweii@amazon.com.

This issue has been without any new replies or information for over 2 weeks. Feel free to contact us to provide more information, and I will go ahead and close this issue.