allboatsrise / expo-marketingcloudsdk

Expo module for Salesforce Marketing Cloud SDK
MIT License
12 stars 12 forks source link

ExpoMarketingCloudSdk #36

Closed RamboWasReal closed 6 months ago

RamboWasReal commented 6 months ago

hey, i get Error: Cannot find native module 'ExpoMarketingCloudSdk', js engine: hermes when i try to open app with prebuild.

I follow step on README, but i dont know why i got this error

in my app.config.js [ '@allboatsrise/expo-marketingcloudsdk', { appId: '...', accessToken: '....', serverUrl: '....', }, ], 'expo-notifications', ],

expo version: 50.0.17 allboatsrise/expo-marketingcloudsdk": "^50.2.1"

andrejpavlovic commented 6 months ago

Did you fully remove ios/android folder and try to prebuild from scratch?

RamboWasReal commented 6 months ago

Yes

andrejpavlovic commented 6 months ago

clean npm/yarn install? Is the node module there?

RamboWasReal commented 6 months ago

i try all of that,and i saw the node module

RamboWasReal commented 6 months ago

i re-try to remove node_module folder, prebuild with flag --clean, but i get same error at the end

btw thantks for your quick answer!

andrejpavlovic commented 6 months ago

Not really sure how else I can help. If you can reproduce this in a new project and share it, I can take a closer look.

RamboWasReal commented 6 months ago

hey finally it's working !,

i restart trom scratch and now all is ok..

thx again for your quick answer

i will close this issue !