npm install gomarketme-react-native-expo@2.0.1
yarn add gomarketme-react-native-expo@2.0.1
pnpm add gomarketme-react-native-expo@2.0.1
To initialize GoMarketMe, import the gomarketme-react-native-expo
package and create a new instance of GoMarketMe
:
import GoMarketMe from 'gomarketme-react-native-expo';
export default function App() {
GoMarketMe.initialize('API_KEY'); // Replace with your actual API key
return (
<View style={styles.container}>
<Text>My App</Text>
<StatusBar style="auto" />
</View>
);
}
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.
Checkout our sample expo app at https://github.com/GoMarketMe/gomarketme-react-native-expo-sample-app.