npm install gomarketme-react-native
yarn add gomarketme-react-native
pnpm add gomarketme-react-native
To initialize GoMarketMe, import the gomarketme
package and create a new instance of GoMarketMe
:
import GoMarketMe from 'gomarketme-react-native';
const App: React.FC = () => {
const apiKey = 'YOUR_API_KEY_HERE';
useEffect(() => {
const initializeGoMarketMe = async () => {
await GoMarketMe.initialize(apiKey);
};
initializeGoMarketMe();
}, []);
};
Make sure to replace API_KEY with your actual GoMarketMe API key. You can find it on the product onboarding page and under Profile > API Key.
If you encounter any problems or issues, please contact us at integrations@gomarketme.co or visit https://gomarketme.co.