Closed yvbeek closed 4 years ago
Hi @yvbeek. This repo is for the Salesforce Mobile SDK, not the Marketing Cloud Push SDK. Please use Stack Exchange for support for that product.
Ok sorry, SalesForce support told me to report the issues there. I'll ask around on Stack Exchange.
No problem. The Marketing Cloud SDK team seems really good about answering questions there.
1. Version of React-Native SFMC SDK used: 6.4.0
The TypeScript definition file included with the React-Native SFMC SDK is incorrect.
The MCReactModule is exported as a normal export.
But it should be a default export.
My temporary workaround is to add a
sfmc.d.ts
file to my project with: